1. 28 Apr, 2016 13 commits
    • Phillip Webb's avatar
      Move to relocated web classes · 609cb52c
      Phillip Webb authored
      Refactor code to move from recently deprecated classes.
      
      Closes gh-5822
      609cb52c
    • Phillip Webb's avatar
      Restructure web related classes · aea18671
      Phillip Webb authored
      Reorganize web related classes for better separation of concerns.
      Mainly this involves moving classes from `o.s.b.context.embedded`
      that aren't directly tied to embedded servlet containers to
      `o.s.b.web` and relocating everything from `o.s.b.context.web`.
      
      See gh-5822
      aea18671
    • Phillip Webb's avatar
      Move @LocalServerPort annotation · a7cb689f
      Phillip Webb authored
      Move the @LocalServerPort to org.springframework.boot.context.embedded
      since it's only really useful when working with embedded servlet
      containers.
      
      See gh-5822
      a7cb689f
    • Phillip Webb's avatar
      Refactor ServletComponentRegisteringPostProcessor · 3de48d26
      Phillip Webb authored
      Rework ServletComponentRegisteringPostProcessor to break the direct link
      to the `org.springframework.boot.context.embedded` package.
      
      See gh-5822
      3de48d26
    • Andy Wilkinson's avatar
      Auto-configure MockMvc with Spring Security · 9153ca95
      Andy Wilkinson authored
      When Spring Security and its spring-security-test module are on the
      classpath, `@WebMvcTest` will now auto-configure Spring Security and
      configure its MockMvc-based test support. This behaviour can be
      disabled using the new secure attribute on `@WebMvcTest` and
      `@AutoConfigureMockMvc`.
      
      Closes gh-5476
      9153ca95
    • Andy Wilkinson's avatar
      Support the use of @AliasFor with @PropertyMapping · 41ddda4a
      Andy Wilkinson authored
      Previously, when @AliasFor was used, the value of the mapped property
      would be incorrect as the value of the canonical attribute would be
      used, rather than the value of the alias.
      
      This commit updates AnnotationsPropertySource to use a merged annotation
      as the source of attribute values, thereby ensuring that any aliased
      attributes are configured correctly.
      
      Closes gh-5821
      41ddda4a
    • Phillip Webb's avatar
      Merge remote-tracking branch '1.3.x' · f468aff4
      Phillip Webb authored
      f468aff4
    • Phillip Webb's avatar
      Polish · ef7b511b
      Phillip Webb authored
      ef7b511b
    • Andy Wilkinson's avatar
      Consider meta-annotations when creating an AnnotationsPropertySource · 34b69156
      Andy Wilkinson authored
      Previously, meta-annotations were not considered when looking for
      annotations that may have property mappings but were considered when
      looking for a `@PropertyMapping` annotation. This led to three
      problems:
      
      1. Properties that should have been included in the property source
         were not included
      2. Properties that were included may have had the wrong name
      3. Properties were included when they should not have been
      
      `@DataJpaTests` provided a concrete example of all three problems:
      
      1. The `replace` and `connection` attributes from
         `@AutoConfigureTestDatabase` were not included in the property
         source
      2. The `showSql` attribute from `@DataJpaTest` was mapped as
         `spring.test.database.spring.jpa.show-sql`
      3. The `useDefaultFilters` attribute from `@DataJpaTest` was included
         in the property source.
      
      This commit updates AnnotationsPropertySource to consider
      meta-annotations when looking for attributes that should be mapped.
      This addresses the first problem. Furthermore,
      AnnotationsPropertySource has been updated to no longer consider
      meta-annotations when looking for a type-level property mapping.
      This addresses the second and third problems.
      
      Closes gh-5794
      34b69156
    • Dave Syer's avatar
      Merge remote-tracking branch 'origin/1.3.x' · ebb0ff86
      Dave Syer authored
      ebb0ff86
    • Dave Syer's avatar
      Add support for spring.rabbitmq.ssl.algorithm · 9c0679b1
      Dave Syer authored
      Rabbit client 3.6.* uses TLSv1.1 as the default algorithm which
      many brokers are deisabling these days. Spring AMQP supports
      changing the algorithm by name, so this is just a pass thru for
      that.
      9c0679b1
    • Stephane Nicoll's avatar
      Fix cache sample README · c85948ac
      Stephane Nicoll authored
      Closes gh-5800
      c85948ac
    • Stephane Nicoll's avatar
      Fix cache sample README · 4c877a67
      Stephane Nicoll authored
      Closes gh-5807
      4c877a67
  2. 27 Apr, 2016 16 commits
  3. 26 Apr, 2016 11 commits