spring-boot-testjars icon indicating copy to clipboard operation
spring-boot-testjars copied to clipboard

CommonsExecWebServerFactoryBean creation with environment

Open rwinch opened this issue 1 year ago • 0 comments

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 

rwinch avatar Jan 11 '24 15:01 rwinch