zowe / sample-spring-boot-api-service

Zowe REST API service SDK and sample API service that integrates with Zowe API Mediation Layer
Other
26 stars 18 forks source link

"https" profile in application.yml has no effect #106

Open ghost opened 4 years ago

ghost commented 4 years ago

In the "application.yml" file, I noticed no difference in behavior with and without the "https" profile set:

spring.profiles.active: https,diag,zos

It seems that the only thing which determines whether HTTP or HTTPS is used, is whether or not server.ssl properties are set in "application.yaml".

The behavior I expected would be that if the "https" profile is set, and no server.ssl properties are set, then an error would result because SSL configuration is required.