spring-projects-experimental / spring-boot-testjars

67 stars 6 forks source link

Auto configuration through Spring Environment: #19

Open rwinch opened 8 months ago

rwinch commented 8 months ago

It might be interesting to be able to create test jars through Spring Properties. Something like the following could leverage gh-10 to create an Authorization Server:

spring:
  testjars:
    authorization-server:
      resources: maven:org.springframework.boot:spring-boot-authorization-server

Using gh-13 we could then configure a password using something like to set any custom properties for that authorization server:

src/test/resources/testjars/application-authorization-server.properties

spring.security.user.password=password