pefernan opened a new issue, #6963:
URL: https://github.com/apache/incubator-kie/issues/6963

   The data-index-persistence-* addons recently introduced a dependency to 
`quarkus-oidc` ([link to 
pom.xml](https://github.com/apache/incubator-kie-kogito-apps/blob/main/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/pom.xml#L50))
 that enables `OIDC` by default in the application. This makes the Quarkus apps 
break at startup with the following errors:
   
   ```
   WARN: Unrecognized configuration key "%s" was provided; it will be ignored; 
verify that the dependency extension for this configuration is set or that you 
did not make a typo
   Nov 20, 2023 10:35:47 PM io.quarkus.config
   WARN: Unrecognized configuration key "%s" was provided; it will be ignored; 
verify that the dependency extension for this configuration is set or that you 
did not make a typo
   Nov 20, 2023 10:35:47 PM io.quarkus.config
   WARN: Unrecognized configuration key "%s" was provided; it will be ignored; 
verify that the dependency extension for this configuration is set or that you 
did not make a typo
   Nov 20, 2023 10:35:47 PM io.quarkus.config
   WARN: Unrecognized configuration key "%s" was provided; it will be ignored; 
verify that the dependency extension for this configuration is set or that you 
did not make a typo
   Nov 20, 2023 10:35:47 PM org.hibernate.Version
   INFO: HHH000412: Hibernate ORM core version %s
   Nov 20, 2023 10:35:47 PM org.hibernate.annotations.common.Version
   INFO: HCANN000001: Hibernate Commons Annotations {%1$s}
   Nov 20, 2023 10:35:47 PM org.hibernate.dialect.Dialect
   INFO: HHH000400: Using dialect: %s
   'quarkus.oidc.auth-server-url' property must be configured
   ```
   
   It is possible to disable `OIDC` in the application and it starts normally 
but I think that this addons shouldn't add this dependency in this level.
   
   ```
   # Temporary workaround to disable OIDC
   quarkus.oidc.enabled=false
   quarkus.oidc.tenant-enabled=false
   quarkus.oidc.auth-server-url=none
   ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to