Hi,

I am trying to implement a CDS listener micro-service which acts a client to 
the SDC.

At the moment my code is calling SDC client and I am running SDC and DMAAP 
locally with the help of this 
documents(https://wiki.onap.org/display/DW/How+to+set+up+a+local+DMaaP+installation+in+Docker+for+testing,

https://wiki.onap.org/display/DW/Building+and+running+SDC+using+Docker+for+OSX).
 Unfortunately at the registerForDistribution step I am getting 500 server error

This is my curl request ->
curl -X POST \

  https://localhost:8443/sdc/v1/registerForDistribution \

  -H 'Accept: application/json; charset=UTF-8' \

  -H 'Authorization: Basic 
dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=' \

  -H 'Content-Type: application/json' \

  -H 'Postman-Token: e67d1c19-9754-4203-80a6-8ff3788b5e44' \

  -H 'X-ECOMP-InstanceID: cds-id-local' \

  -H 'X-ECOMP-RequestID: d7dd5b60-0894-421d-ad39-6565232708eb' \

  -H 'cache-control: no-cache' \

  -d '{

  "apiPublicKey": "v4avnOnjlk6JeBIb", // Received from DMAAP which is running 
locally

  "distrEnvName": "AUTO",   //  Same as the one I used for running SDC locally

  "isConsumerToSdcDistrStatusTopic": false,

  "distEnvEndPoints": [

    "localhost"

  ]

}'



This is the error I am getting



{

    "requestError": {

        "policyException": {

            "messageId": "POL5000",

            "text": "Error: Internal Server Error. Please try again later.",

            "variables": []

        }

    }

}



 I checked SDC-BE health check and found this.
{
"healthCheckComponent": "ES",
      "healthCheckStatus": "DOWN",
      "version": "1.4.0-SNAPSHOT",
      "description": "ES cluster is down"
    },
    {
      "healthCheckComponent": "DE",
      "healthCheckStatus": "DOWN",
      "description": "U-EB cluster is not available"
    },


Is it happening because DE is down even though the container is up or something 
else? Please let me know



Thanks,

Prathamesh Morde


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16053): https://lists.onap.org/g/onap-discuss/message/16053
Mute This Topic: https://lists.onap.org/mt/30434754/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to