Skip to content

Issue in Upgrading Cloud Sdk from 4.24.0 to 5.14.0 - Destination uri is not fetched correctly - destination.getUri() #1039

@I587750

Description

@I587750

Describe the Bug

We are facing issues while upgrading one of the micro-services from cloud sdk 4 to 5.

Issue: destination.getUri() returns different results for cloud sdk 4 and cloud sdk 5. And because of this getting error 401 when trying to consume the apis defined in destinations.

Please note, we had to change the implementation to get the the destination, to migrate to cloud sdk 5. As there were many classes were removed from cloud sdk 5 which were present in cloud sdk 4.

Cloud Sdk 4 Implementation looks like this- https://github.tools.sap/one-sm/findingmanagement/blob/be9066b55f4cf701e036c8bd8abf9675c99ed140/srv/src/main/java/com/sap/onesm/findingmanagement/dwc/config/DestinationsConfiguration.java

Image

destination.getUri() returns - https://megaclite-1sm-dev-us30.cert.cfapps.us30.hana.ondemand.com/v1/fm-sr-integration/v1/

Cloud Sdk 5 Implementation looks like this- https://github.tools.sap/one-sm/findingmanagement/blob/97743dba4b41b5a3aa9909c897a15372a7bb4501/srv/src/main/java/com/sap/onesm/findingmanagement/dwc/config/DestinationsConfiguration.java

Image

destination.getUri() returns - https://e2e-openapi.mu.services.sap/api/risk-findings-integration/v1/prod/

Is there any why to retrieve url with megaclite (same as cloud sdk 4) when upgraded to cloud sdk 5? I could not find any details around this in migration guide.

Branch with cloud sdk 4 - https://github.tools.sap/one-sm/findingmanagement (master branch)

Image

Branch with cloud sdk 5 - https://github.tools.sap/one-sm/findingmanagement/tree/ARBSM-40998-2

Image

Steps to Reproduce

NA

Expected Behavior

destination.getUri() should returns url with megaclite. Eg: https://megaclite-1sm-dev-us30.cert.cfapps.us30.hana.ondemand.com/v1/fm-sr-integration/v1/

Screenshots

No response

Used Versions

  • Java and Maven version via mvn --version: 3.8.1
  • SAP Cloud SDK version: 5.14.0
  • Spring Boot or CAP version: 2.4.1
Dependency tree via mvn dependency:tree
[INFO] com.sap.onesm:findingmanagement:jar:1.0.0-SNAPSHOT
[INFO] +- com.sap.cds:cds-starter-spring-boot-odata:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-starter-spring-boot:jar:2.4.1:compile
[INFO] |  |  +- com.sap.cds:cds-feature-jdbc:jar:2.4.1:runtime
[INFO] |  |  |  +- com.sap.cds:cds4j-runtime:jar:2.4.1:runtime
[INFO] |  |  |  |  \- com.sap.cds:cds4j-jdbc-spi:jar:2.4.1:runtime
[INFO] |  |  |  \- com.sap.cds:cds4j-tx:jar:2.4.1:runtime
[INFO] |  |  +- com.sap.cds:cds-framework-spring-boot:jar:2.4.1:runtime
[INFO] |  |  +- org.springframework.boot:spring-boot-starter-jdbc:jar:3.0.17.5:compile
[INFO] |  |  |  +- com.zaxxer:HikariCP:jar:5.0.1:compile
[INFO] |  |  |  \- org.springframework:spring-jdbc:jar:6.0.24:compile
[INFO] |  |  |     \- org.springframework:spring-tx:jar:6.0.24:compile
[INFO] |  |  \- org.yaml:snakeyaml:jar:2.0:compile
[INFO] |  \- com.sap.cds:cds-adapter-odata-v4:jar:2.4.1:runtime
[INFO] |     \- com.sap.cds.repackaged:odata-v4-lib:jar:2.4.1:runtime
[INFO] |        +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.14.3:runtime
[INFO] |        |  \- org.codehaus.woodstox:stax2-api:jar:4.2.1:runtime
[INFO] |        \- com.fasterxml:aalto-xml:jar:1.3.2:runtime
[INFO] +- com.sap.cds:cds-services-utils:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-services-api:jar:2.4.1:compile
[INFO] |  |  \- com.sap.cds:cds4j-api:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-adapter-api:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds4j-core:jar:2.4.1:compile
[INFO] |  +- com.sap.cloud.mt:cds-mtx:jar:2.4.1:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:2.0.16:compile
[INFO] |  \- com.sap.cloud.mt:tools:jar:2.4.1:compile
[INFO] +- com.sap.cds:cds-starter-cloudfoundry:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-feature-hana:jar:2.4.1:compile
[INFO] |  |  \- com.sap.cloud.db.jdbc:ngdbc:jar:2.18.13:compile
[INFO] |  +- com.sap.cds:cds-feature-cloudfoundry:jar:2.4.1:compile
[INFO] |  \- com.sap.cds:cds-feature-xsuaa:jar:2.4.1:compile
[INFO] +- com.sap.cloud.tenantlifecycle:euporie-api:jar:2.0.0-20231218143426_b8c7bdf3b23d1866d135605a30644e94d501a67b:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-json:jar:3.0.17.5:compile
[INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.14.3:compile
[INFO] |  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.14.3:compile
[INFO] |  \- com.sap.cloud.tenantlifecycle:euporie-api-domain:jar:2.0.0-20231218143426_b8c7bdf3b23d1866d135605a30644e94d501a67b:compile
[INFO] +- com.sap.procurement:procurement-metering-client:jar:1.1.8:compile
[INFO] |  +- com.sap.ariba.security:security-build-tools:jar:1.0.15:compile
[INFO] |  +- org.apache.logging.log4j:log4j-api:jar:2.19.0:compile
[INFO] |  +- io.github.resilience4j:resilience4j-all:jar:2.0.2:compile
[INFO] |  |  +- io.github.resilience4j:resilience4j-ratelimiter:jar:2.2.0:compile
[INFO] |  |  |  \- io.github.resilience4j:resilience4j-core:jar:2.2.0:compile
[INFO] |  |  +- io.github.resilience4j:resilience4j-circuitbreaker:jar:2.2.0:compile
[INFO] |  |  +- io.github.resilience4j:resilience4j-bulkhead:jar:2.2.0:compile
[INFO] |  |  +- io.github.resilience4j:resilience4j-retry:jar:2.2.0:compile
[INFO] |  |  +- io.github.resilience4j:resilience4j-cache:jar:2.2.0:compile
[INFO] |  |  \- io.github.resilience4j:resilience4j-timelimiter:jar:2.2.0:compile
[INFO] |  \- io.vavr:vavr:jar:0.10.5:compile
[INFO] |     \- io.vavr:vavr-match:jar:0.10.5:compile
[INFO] +- commons-io:commons-io:jar:2.14.0:compile
[INFO] +- com.sap.dwc:util-headers:jar:2.0.5:compile
[INFO] |  \- com.sap.dwc.commons:commons-util:jar:1.1.0-20230116073934_5dc9ec55b6dd79c983130ed1dda4f347af0799b1:compile
[INFO] +- com.sap.dwc:util-mutual-authentication:jar:2.0.5:compile
[INFO] |  \- com.sap.dwc:util-model:jar:2.0.5:compile
[INFO] +- com.sap.dwc:util-routing:jar:2.0.5:compile
[INFO] +- com.sap.dwc:util-product-config:jar:2.0.5:compile
[INFO] +- com.sap.dwc:util-cap:jar:2.0.5:compile
[INFO] +- com.sap.calm.x:dwc-foundation:jar:2.0.0-20231106093922_38dc81dc72602e448ec7c4360f1d6a5057bb06ee:compile
[INFO] |  +- jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile
[INFO] |  +- jakarta.management.j2ee:jakarta.management.j2ee-api:jar:1.1.4:compile
[INFO] |  +- com.sap.cloud.environment.servicebinding:java-sap-vcap-services:jar:0.10.5:compile
[INFO] |  +- com.sap.cloud.environment.servicebinding:java-sap-service-operator:jar:0.10.5:compile
[INFO] |  +- com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:jar:20220608.1:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:auditlog-scp-cf:jar:4.26.0:compile
[INFO] |  |  \- com.sap.cloud.sdk.cloudplatform:auditlog:jar:4.26.0:compile
[INFO] |  |     \- com.sap.cloud.sdk.cloudplatform:servlet:jar:4.26.0:compile
[INFO] |  +- com.sap.cloud.tenantlifecycle:hegemone-specs:jar:2.0.0-20231220135454_bc373e99e1b96d7272a19b48776df56f3c2c890d:compile
[INFO] |  |  \- jakarta.validation:jakarta.validation-api:jar:3.0.2:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:resilience:jar:5.14.0:compile
[INFO] |  |  \- com.sap.cloud.sdk.cloudplatform:resilience4j:jar:5.14.0:compile
[INFO] |  +- com.sap.cloud.sdk.frameworks:resilience4j:jar:4.26.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.cloudplatform:caching:jar:5.14.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.cloudplatform:tenant:jar:5.14.0:compile
[INFO] |  |  \- javax.cache:cache-api:jar:1.1.1:compile
[INFO] |  +- com.sap.calm.metering:calm-metering-lib:jar:2.0.0-20231101055915_fb3199bc659a3da2e7b752c81a8a8f823cf4c275:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-starter-webflux:jar:3.0.17.5:compile
[INFO] |  |  |  +- org.springframework.boot:spring-boot-starter-reactor-netty:jar:3.0.17.5:compile
[INFO] |  |  |  \- org.springframework:spring-webflux:jar:6.0.24:compile
[INFO] |  |  |     \- io.projectreactor:reactor-core:jar:3.5.20:compile
[INFO] |  |  |        \- org.reactivestreams:reactive-streams:jar:1.0.4:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-starter-aop:jar:3.0.17.5:compile
[INFO] |  |  |  \- org.aspectj:aspectjweaver:jar:1.9.22:compile
[INFO] |  |  +- com.sap.calm.x:calm-kafka-clientlib:jar:2.0.0-20231024080903_8909795ee10e953238ae9f1756e6d0b525ec0ba7:compile
[INFO] |  |  |  +- org.immutables:value:jar:2.10.0:compile
[INFO] |  |  |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.14.3:compile
[INFO] |  |  |  +- org.springframework.security:spring-security-oauth2-client:jar:6.0.12:compile
[INFO] |  |  |  |  \- com.nimbusds:oauth2-oidc-sdk:jar:9.43.3:compile
[INFO] |  |  |  |     +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
[INFO] |  |  |  |     +- com.nimbusds:content-type:jar:2.2:compile
[INFO] |  |  |  |     \- com.nimbusds:lang-tag:jar:1.7:compile
[INFO] |  |  |  +- org.springframework.kafka:spring-kafka:jar:3.0.18:compile
[INFO] |  |  |  |  +- org.springframework:spring-messaging:jar:6.0.24:compile
[INFO] |  |  |  |  \- org.springframework.retry:spring-retry:jar:2.0.8:compile
[INFO] |  |  |  \- org.springframework.cloud:spring-cloud-context:jar:4.0.4:compile
[INFO] |  |  \- org.springdoc:springdoc-openapi-starter-webmvc-ui:jar:2.2.0:compile
[INFO] |  |     +- org.springdoc:springdoc-openapi-starter-webmvc-api:jar:2.2.0:compile
[INFO] |  |     |  \- org.springdoc:springdoc-openapi-starter-common:jar:2.2.0:compile
[INFO] |  |     |     \- io.swagger.core.v3:swagger-core-jakarta:jar:2.2.15:compile
[INFO] |  |     |        +- io.swagger.core.v3:swagger-annotations-jakarta:jar:2.2.15:compile
[INFO] |  |     |        \- io.swagger.core.v3:swagger-models-jakarta:jar:2.2.15:compile
[INFO] |  |     \- org.webjars:swagger-ui:jar:5.2.0:compile
[INFO] |  \- org.jsoup:jsoup:jar:1.15.3:compile
[INFO] +- org.apache.kafka:kafka-clients:jar:3.9.1:compile
[INFO] |  +- com.github.luben:zstd-jni:jar:1.5.6-4:runtime
[INFO] |  +- org.lz4:lz4-java:jar:1.8.0:runtime
[INFO] |  \- org.xerial.snappy:snappy-java:jar:1.1.10.4:runtime
[INFO] +- com.sap.cloud.sdk.cloudplatform:dwc-cf:jar:5.14.0:compile
[INFO] |  +- com.sap.cloud.sdk:sdk-core:jar:5.14.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.cloudplatform:connectivity-destination-service:jar:5.14.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.cloudplatform:connectivity-oauth:jar:5.14.0:compile
[INFO] |  |  \- com.sap.cloud.sdk.cloudplatform:servlet-jakarta:jar:5.14.0:compile
[INFO] |  \- com.sap.cloud.sdk.cloudplatform:connectivity-dwc:jar:5.14.0:compile
[INFO] |     +- com.sap.cloud.sdk.cloudplatform:connectivity-apache-httpclient4:jar:5.14.0:compile
[INFO] |     \- org.apache.httpcomponents:httpcore:jar:4.4.16:compile
[INFO] +- com.sap.hcp.cf.logging:cf-java-logging-support-log4j2:jar:3.8.3:compile
[INFO] |  \- com.sap.hcp.cf.logging:cf-java-logging-support-core:jar:3.8.3:compile
[INFO] |     \- com.fasterxml.jackson.jr:jackson-jr-objects:jar:2.14.3:compile
[INFO] +- com.sap.hcp.cf.logging:cf-java-logging-support-servlet-jakarta:jar:3.8.3:compile
[INFO] |  \- com.auth0:java-jwt:jar:4.4.0:compile
[INFO] +- org.slf4j:slf4j-simple:jar:2.0.16:compile
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.19.0:compile
[INFO] +- org.apache.poi:poi:jar:5.4.0:compile
[INFO] |  +- commons-codec:commons-codec:jar:1.15:compile
[INFO] |  +- org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] |  +- org.apache.commons:commons-math3:jar:3.6.1:compile
[INFO] |  \- com.zaxxer:SparseBitSet:jar:1.3:compile
[INFO] +- org.apache.poi:poi-ooxml:jar:5.4.0:compile
[INFO] |  +- org.apache.poi:poi-ooxml-lite:jar:5.4.0:compile
[INFO] |  +- org.apache.xmlbeans:xmlbeans:jar:5.3.0:compile
[INFO] |  \- com.github.virtuald:curvesapi:jar:1.08:compile
[INFO] +- org.apache.commons:commons-compress:jar:1.26.0:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.18.0:compile
[INFO] +- org.json:json:jar:20231013:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:3.0.17.5:test
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.0.17.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:3.0.17.5:test
[INFO] |  +- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.0.17.5:test
[INFO] |  +- com.jayway.jsonpath:json-path:jar:2.9.0:test
[INFO] |  |  \- net.minidev:json-smart:jar:2.4.11:compile
[INFO] |  |     \- net.minidev:accessors-smart:jar:2.4.11:compile
[INFO] |  |        \- org.ow2.asm:asm:jar:9.3:compile
[INFO] |  +- jakarta.xml.bind:jakarta.xml.bind-api:jar:4.0.2:compile
[INFO] |  |  \- jakarta.activation:jakarta.activation-api:jar:2.1.3:compile
[INFO] |  +- org.assertj:assertj-core:jar:3.23.1:test
[INFO] |  |  \- net.bytebuddy:byte-buddy:jar:1.14.10:test
[INFO] |  +- org.hamcrest:hamcrest:jar:2.2:test
[INFO] |  +- org.junit.jupiter:junit-jupiter:jar:5.9.3:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-api:jar:5.9.3:test
[INFO] |  |  |  +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] |  |  |  +- org.junit.platform:junit-platform-commons:jar:1.9.3:test
[INFO] |  |  |  \- org.apiguardian:apiguardian-api:jar:1.1.2:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-params:jar:5.9.3:test
[INFO] |  |  \- org.junit.jupiter:junit-jupiter-engine:jar:5.9.3:test
[INFO] |  |     \- org.junit.platform:junit-platform-engine:jar:1.9.3:test
[INFO] |  +- org.mockito:mockito-junit-jupiter:jar:4.8.1:test
[INFO] |  +- org.skyscreamer:jsonassert:jar:1.5.3:test
[INFO] |  +- org.springframework:spring-test:jar:6.0.24:test
[INFO] |  \- org.xmlunit:xmlunit-core:jar:2.9.1:test
[INFO] +- junit:junit:jar:4.13.2:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:2.2:test
[INFO] +- org.projectlombok:lombok:jar:1.18.34:provided
[INFO] +- org.xerial:sqlite-jdbc:jar:3.41.2.2:compile
[INFO] +- commons-validator:commons-validator:jar:1.7:compile
[INFO] |  +- commons-digester:commons-digester:jar:2.1:compile
[INFO] |  +- commons-logging:commons-logging:jar:1.2:compile
[INFO] |  \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] +- commons-beanutils:commons-beanutils:jar:1.11.0:compile
[INFO] +- org.mockito:mockito-inline:jar:4.0.0:test
[INFO] |  \- org.mockito:mockito-core:jar:4.8.1:test
[INFO] |     +- net.bytebuddy:byte-buddy-agent:jar:1.14.10:test
[INFO] |     \- org.objenesis:objenesis:jar:3.2:test
[INFO] +- com.sap.xs:java-js-client:jar:1.6.11:compile
[INFO] |  +- com.google.code.gson:gson:jar:2.9.1:compile
[INFO] |  \- org.apache.httpcomponents:httpclient:jar:4.5.14:compile
[INFO] +- com.sap.cp.auditlog:audit-java-client-api:jar:2.8.0:compile
[INFO] +- com.sap.cp.auditlog:audit-java-client-impl:jar:2.8.0:compile
[INFO] |  +- com.sap.cloud.security:env:jar:3.3.0:compile
[INFO] |  |  \- com.sap.cloud.environment.servicebinding.api:java-consumption-api:jar:0.10.5:compile
[INFO] |  \- com.sap.cp.auditlog:auditlog-common:jar:2.4.0:compile
[INFO] +- com.sap.cloud.sjb:xs-env:jar:1.45.0:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.14.3:compile
[INFO] +- com.sap.cloud.security.xsuaa:token-client:jar:3.3.1:compile
[INFO] |  \- com.github.ben-manes.caffeine:caffeine:jar:3.1.8:compile
[INFO] |     +- org.checkerframework:checker-qual:jar:3.48.1:compile
[INFO] |     \- com.google.errorprone:error_prone_annotations:jar:2.34.0:compile
[INFO] +- com.sap.cloud.security:java-api:jar:3.3.1:compile
[INFO] +- com.opencsv:opencsv:jar:5.2:compile
[INFO] |  \- org.apache.commons:commons-text:jar:1.10.0:compile
[INFO] +- com.sap.cloud.sdk.cloudplatform:cloudplatform-connectivity:jar:5.14.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:cloudplatform-core:jar:5.14.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:resilience-api:jar:5.14.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:security:jar:5.14.0:compile
[INFO] |  +- com.sap.cloud.environment.servicebinding.api:java-core-api:jar:0.10.5:compile
[INFO] |  +- com.sap.cloud.environment.servicebinding.api:java-access-api:jar:0.10.5:compile
[INFO] |  +- org.slf4j:jcl-over-slf4j:jar:2.0.16:runtime
[INFO] |  +- com.google.guava:guava:jar:32.0.1-jre:compile
[INFO] |  |  +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] |  |  +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] |  |  +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] |  |  \- com.google.j2objc:j2objc-annotations:jar:2.8:compile
[INFO] |  \- com.mikesamuel:json-sanitizer:jar:1.2.3:compile
[INFO] +- com.sap.cloud.security.ams.client:spring-ams:jar:0.12.2:compile
[INFO] |  \- com.sap.cloud.security.ams.client:java-ams:jar:0.12.2:compile
[INFO] |     \- com.sap.cloud.security.ams.dcl:rt.opa:jar:0.12.2:runtime
[INFO] |        \- com.sap.cloud.security.ams.dcl:spi:jar:0.12.2:runtime
[INFO] +- com.sap.cloud.security.ams.client:cap-support:jar:1.1.0:compile
[INFO] |  +- com.sap.cloud.security.ams.dcl:client:jar:0.18.0:compile
[INFO] |  \- com.sap.cds:cds-services-impl:jar:2.4.1:compile
[INFO] |     +- com.sap.cds:cds-services-messaging:jar:2.4.1:compile
[INFO] |     +- org.apache.commons:commons-csv:jar:1.10.0:compile
[INFO] |     \- io.opentelemetry:opentelemetry-api:jar:1.19.0:compile
[INFO] |        \- io.opentelemetry:opentelemetry-context:jar:1.19.0:compile
[INFO] +- com.sap.cloud.security.ams.client:spring-boot-starter-ams-test:jar:0.12.2:test
[INFO] |  \- com.sap.cloud.security.ams.client:java-ams-test:jar:0.12.2:test
[INFO] |     +- com.sap.cloud.security.opa:binaries:pom:0.42.1-sap-0.2.9:test
[INFO] |     |  +- com.sap.cloud.security.opa:binaries.linux:jar:0.42.1-sap-0.2.9:test
[INFO] |     |  +- com.sap.cloud.security.opa:binaries.macos:jar:0.42.1-sap-0.2.9:test
[INFO] |     |  \- com.sap.cloud.security.opa:binaries.windows:jar:0.42.1-sap-0.2.9:test
[INFO] |     \- com.sap.cloud.security:java-security-test:jar:3.4.0:test
[INFO] |        +- org.eclipse.jetty:jetty-server:jar:11.0.23:test
[INFO] |        |  +- org.eclipse.jetty:jetty-http:jar:12.0.12:test
[INFO] |        |  |  \- org.eclipse.jetty:jetty-util:jar:11.0.23:test
[INFO] |        |  +- org.eclipse.jetty:jetty-io:jar:11.0.23:test
[INFO] |        |  \- org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api:jar:5.0.2:test
[INFO] |        +- org.eclipse.jetty.ee10:jetty-ee10-servlet:jar:12.0.7:test
[INFO] |        |  +- jakarta.servlet:jakarta.servlet-api:jar:6.0.0:test
[INFO] |        |  +- org.eclipse.jetty:jetty-security:jar:11.0.23:test
[INFO] |        |  \- org.eclipse.jetty:jetty-session:jar:12.0.7:test
[INFO] |        +- org.eclipse.jetty.ee10:jetty-ee10-webapp:jar:12.0.7:test
[INFO] |        |  \- org.eclipse.jetty:jetty-xml:jar:11.0.23:test
[INFO] |        \- org.wiremock:wiremock-standalone:jar:3.5.2:test
[INFO] +- com.sap.cds:cds-feature-identity:jar:2.4.1:compile
[INFO] +- org.springframework.security:spring-security-test:jar:6.0.12:test
[INFO] |  \- org.springframework.security:spring-security-web:jar:6.0.12:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.15.0:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.15.0:compile
[INFO] +- org.apache.cxf:cxf-rt-transports-http:jar:3.4.10:compile
[INFO] |  +- jakarta.xml.ws:jakarta.xml.ws-api:jar:4.0.2:compile
[INFO] |  +- jakarta.jws:jakarta.jws-api:jar:2.1.0:compile
[INFO] |  +- jakarta.xml.soap:jakarta.xml.soap-api:jar:3.0.2:compile
[INFO] |  +- com.sun.activation:jakarta.activation:jar:1.2.2:compile
[INFO] |  +- com.sun.xml.messaging.saaj:saaj-impl:jar:3.0.4:runtime
[INFO] |  |  +- org.jvnet.staxex:stax-ex:jar:2.1.0:runtime
[INFO] |  |  \- org.eclipse.angus:angus-activation:jar:2.0.2:runtime
[INFO] |  \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
[INFO] +- org.apache.tika:tika-core:jar:3.2.2:compile
[INFO] +- org.apache.tika:tika-parsers:pom:3.2.2:compile
[INFO] +- org.apache.httpcomponents:httpmime:jar:4.5.14:compile
[INFO] +- org.bouncycastle:bcprov-jdk18on:jar:1.79:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:3.0.17.5:compile
[INFO] |  +- org.springframework:spring-aop:jar:6.0.24:compile
[INFO] |  \- org.springframework.security:spring-security-config:jar:6.0.12:compile
[INFO] +- com.sap.cloud.security:resourceserver-security-spring-boot-starter:jar:3.3.4:compile
[INFO] |  +- com.sap.cloud.security:spring-security:jar:3.3.0:compile
[INFO] |  +- org.springframework.security:spring-security-oauth2-jose:jar:6.0.12:compile
[INFO] |  |  \- org.springframework.security:spring-security-oauth2-core:jar:6.0.12:compile
[INFO] |  +- org.springframework.security:spring-security-oauth2-resource-server:jar:6.0.12:compile
[INFO] |  \- org.springframework.boot:spring-boot-autoconfigure:jar:3.0.17.5:compile
[INFO] +- org.springframework:spring-core:jar:6.2.11:compile
[INFO] |  \- org.springframework:spring-jcl:jar:6.0.24:compile
[INFO] +- com.sap.cloud.security:java-security:jar:3.6.3:compile
[INFO] +- com.nimbusds:nimbus-jose-jwt:jar:10.4.2:compile
[INFO] +- org.apache.httpcomponents.client5:httpclient5:jar:5.1.4:compile
[INFO] |  +- org.apache.httpcomponents.core5:httpcore5:jar:5.1.5:compile
[INFO] |  \- org.apache.httpcomponents.core5:httpcore5-h2:jar:5.1.5:compile
[INFO] +- org.springframework:spring-web:jar:6.0.29:compile
[INFO] |  +- org.springframework:spring-beans:jar:6.0.24:compile
[INFO] |  \- io.micrometer:micrometer-observation:jar:1.10.16:compile
[INFO] |     \- io.micrometer:micrometer-commons:jar:1.10.16:compile
[INFO] +- org.springframework.security:spring-security-core:jar:6.1.12:compile
[INFO] |  +- org.springframework.security:spring-security-crypto:jar:6.0.12:compile
[INFO] |  +- org.springframework:spring-context:jar:6.0.24:compile
[INFO] |  \- org.springframework:spring-expression:jar:6.0.24:compile
[INFO] +- com.sap.cloud.tenantlifecycle:euporie-dwc-integration:jar:2.0.0-20240426110526_d81414fe3c3bb5300e77bec475a5d850af716009:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-web:jar:3.0.17.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.0.17.5:compile
[INFO] |  |  |  \- org.apache.tomcat.embed:tomcat-embed-el:jar:10.1.49:compile
[INFO] |  |  \- org.springframework:spring-webmvc:jar:6.0.24:compile
[INFO] |  +- io.pivotal.cfenv:java-cfenv-boot:jar:2.4.1:compile
[INFO] |  |  +- io.pivotal.cfenv:java-cfenv:jar:2.4.1:compile
[INFO] |  |  \- io.pivotal.cfenv:java-cfenv-jdbc:jar:2.4.1:compile
[INFO] |  \- com.sap.cloud.tenantlifecycle:euporie-authentication:jar:2.0.0-20231218143426_b8c7bdf3b23d1866d135605a30644e94d501a67b:compile
[INFO] |     \- org.reflections:reflections:jar:0.10.2:compile
[INFO] |        \- org.javassist:javassist:jar:3.28.0-GA:compile
[INFO] +- org.springframework.boot:spring-boot:jar:3.0.13:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:3.0.17.5:compile
[INFO] |  \- io.micrometer:micrometer-core:jar:1.10.16:compile
[INFO] |     +- org.hdrhistogram:HdrHistogram:jar:2.1.12:runtime
[INFO] |     \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime
[INFO] +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.0.17.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-actuator:jar:3.0.17.5:compile
[INFO] |  \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.14.3:compile
[INFO] +- org.apache.tomcat.embed:tomcat-embed-core:jar:10.1.49:compile
[INFO] |  \- org.apache.tomcat:tomcat-annotations-api:jar:10.1.49:compile
[INFO] +- org.bouncycastle:bcpkix-jdk18on:jar:1.79:compile
[INFO] |  \- org.bouncycastle:bcutil-jdk18on:jar:1.79:compile
[INFO] +- org.apache.tomcat.embed:tomcat-embed-websocket:jar:10.1.49:compile
[INFO] \- com.sap.cds:cds-feature-mt:jar:2.4.1:compile
[INFO]    +- com.sap.cds:cds-integration-cloud-sdk:jar:2.4.1:compile
[INFO]    +- com.sap.cloud.mt:multi-tenant-runtime:jar:2.4.1:compile
[INFO]    \- com.sap.cloud.mt:multi-tenant-subscription:jar:2.4.1:compile
[INFO]       \- com.sap.cloud.instancemanager:client:jar:3.13.0:compile
[INFO]          \- com.sap.hcp.cf.logging:cf-java-logging-support-logback:jar:3.8.3:compile

Code Examples

 public HttpDestination getDestination(String destinationName)
    {
        log.info("Entering getDestination in DestinationManager : {}", destinationName);

        final DestinationOptions options = DestinationOptions.builder()
                .augmentBuilder(augmenter()
                        .retrievalStrategy(
                                DestinationServiceRetrievalStrategy.ONLY_SUBSCRIBER)).build();

        return DestinationAccessor.getLoader().tryGetDestination(
                destinationName, options).get().asHttp();
    }

Stack Trace

No response

Log File

Log file ...

Affected Development Phase

Development

Impact

Blocked

Timeline

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions