Skip to content

Sample with Spring Cloud Config Client + Server #69

@rwinch

Description

@rwinch

We should demonstrate testjars working with Spring Cloud Config Client + Server

Spring Framework

  • DynamicPropertyRegistrar should work outside of the scope of tests since Spring Cloud needs to dynamically register properties outside of test
  • We need to be able to order the invocation of DynamicPropertyRegistrar.accept(DynamicPropertyRegistry). Perhaps this can be done by getting all instances and then sorting by ordered in DynamicPropertyRegistrarBeanInitializer

Spring Boot Testjars

Spring Cloud

  • Spring Cloud needs to add ConfigServerDynamicPropertyRegistrarImportBeanDefinitionRegistrar
  • Spring Cloud Config Needs to allow disabling ConfigServerConfigDataLoader in favor of ConfigServerDynamicPropertyRegistrarImportBeanDefinitionRegistrar
  • Consider applying @EnableConfigServer automatically to eliminate the need for adding additionalBeanClassNames

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions