adorsys / keycloak-config-cli

Import YAML/JSON-formatted configuration files into Keycloak - Configuration as Code for Keycloak.
https://adorsys.github.io/keycloak-config-cli/
Apache License 2.0
807 stars 148 forks source link

Endpoint is not working for keycloak 26 #1212

Open jwklijnsma opened 19 hours ago

jwklijnsma commented 19 hours ago

Current Behavior

2024-11-26T09:31:00.142Z ERROR 1 --- [ main] o.s.boot.SpringApplication : Application run failed

jakarta.ws.rs.NotFoundException: HTTP 404 Not Found at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:242) at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.extractResult(ClientInvocation.java:216) at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.BodyEntityExtractor.extractEntity(BodyEntityExtractor.java:59) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invokeSync(ClientInvoker.java:136) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:103) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:102) at jdk.proxy2/jdk.proxy2.$Proxy100.getMappers(Unknown Source) at de.adorsys.keycloak.config.repository.IdentityProviderMapperRepository.search(IdentityProviderMapperRepository.java:52) at de.adorsys.keycloak.config.service.IdentityProviderImportService.createOrUpdateIdentityProviderMapper(IdentityProviderImportService.java:152) at de.adorsys.keycloak.config.service.IdentityProviderImportService.createOrUpdateOrDeleteIdentityProviderMappers(IdentityProviderImportService.java:144) at de.adorsys.keycloak.config.service.IdentityProviderImportService.doImport(IdentityProviderImportService.java:62) at de.adorsys.keycloak.config.service.RealmImportService.configureRealm(RealmImportService.java:234) at de.adorsys.keycloak.config.service.RealmImportService.updateRealm(RealmImportService.java:204) at de.adorsys.keycloak.config.service.RealmImportService.updateRealmIfNecessary(RealmImportService.java:157) at de.adorsys.keycloak.config.service.RealmImportService.doImport(RealmImportService.java:148) at de.adorsys.keycloak.config.KeycloakConfigRunner.run(KeycloakConfigRunner.java:79) at org.springframework.boot.SpringApplication.lambda$callRunner$5(SpringApplication.java:790) at org.springframework.util.function.ThrowingConsumer$1.acceptWithException(ThrowingConsumer.java:83) at org.springframework.util.function.ThrowingConsumer.accept(ThrowingConsumer.java:60) at org.springframework.util.function.ThrowingConsumer$1.accept(ThrowingConsumer.java:88) at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:798) at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:789) at org.springframework.boot.SpringApplication.lambda$callRunners$3(SpringApplication.java:774) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:774) at org.springframework.boot.SpringApplication.run(SpringApplication.java:341) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) at de.adorsys.keycloak.config.KeycloakConfigApplication.main(KeycloakConfigApplication.java:35) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) at org.springframework.boot.loader.launch.PropertiesLauncher.main(PropertiesLauncher.java:574)

Expected Behavior

that problem is endpoint punt to HTTP 404 Not Found incorrect.

Steps To Reproduce

No response

Environment

Anything else?

No response

tbroyer commented 18 hours ago

Duplicate of #1160 (fixed at HEAD but not released yet)

jwklijnsma commented 13 hours ago

is not Duplicate i use the egde branch the rest is working the endpoint is in correct.