-
Bug
-
Resolution: Done
-
Medium
-
London Release
The SDC connection cannot be established on ServiceMesh tenant,
as only HTTPs is supported by the client:
2023-01-23 11:55:37.356 INFO 1 --- [ main] org.onap.ves.openapi.manager.Main : ===================================152023-01-23 11:55:37.357 INFO 1 --- [ main] o.onap.sdc.impl.DistributionClientImpl : DistributionClient - init142023-01-23 11:55:37.566 ERROR 1 --- [ main] org.onap.sdc.http.HttpSdcClient : failed to send request to url: /sdc/v1/artifactTypes error Remote host terminated the handshake132023-01-23 11:55:37.572 ERROR 1 --- [ main] org.onap.sdc.http.SdcConnectorClient : status from SDC is org.onap.sdc.http.HttpSdcResponse@3a7b503d122023-01-23 11:55:37.581 ERROR 1 --- [ main] org.onap.sdc.http.SdcConnectorClient : DistributionClientResultImpl [responseStatus=SDC_CONNECTION_FAILED, responseMessage=SDC server problem]112023-01-23 11:55:37.613 INFO 1 --- [ main] org.onap.ves.openapi.manager.Main : SDC server problem102023-01-23 11:55:37.614 INFO 1 --- [ main] org.onap.ves.openapi.manager.Main : ===================================
even if SDC port is changed as in the patch (https://gerrit.onap.org/r/c/oom/+/132781/3/kubernetes/dcaegen2-services/components/dcae-ves-openapi-manager/values.yaml)
to:
...
externalServices:
sdc_be_https: "sdc-be:8080"
...
applicationConfig:
vesopenapimanager:
validation:
schemaMapPath: ${SCHEMA_MAP_PATH:./src/main/resources/schema-map.json}
eventDomainPath: /event/structure/commonEventHeader/structure/domain/value
eventSchemaReferencePath: /event/structure/stndDefinedFields/structure/schemaReference/value
distribution:
sdcAddress: ${SDC_ADDRESS:sdc-be.onap:8080}
...