Hi Ahila,

I performed the first request and the result is the following :

curl -k -X POST http://dmaap-bc:8443/webapi/mr_clients -H 
"Content-Type:application/json" -d { "dcaeLocationName": "san-francisco", 
"fqtn": "org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS", "clientIdentity": 
"dcae@...", "action": "sub" }

{
"code": 403,
"message": "Failed to add user dcae@... to role 
org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS.subscriber"
}

Performing the

curl -k -X GEThttp://dmaap-bc:8443/webapi/mr_clients  , it returns:

[
*{*
*"type": "mr_Client",*
*"lastMod": "2021-01-29T14:25:36.152Z",*
*"status": "VALID",*
*"action": [*
*"view",*
*"pub"*
*],*
*"clientRole": "org.onap.dcae.pmPublisher",*
*"dcaeLocationName": "san-francisco",*
*"fqtn": "org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS",*
*"mrClientId": "1611930336152",*
*"topicURL": 
"http://message-router:3904/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS"*
*},*
{
"type": "mr_Client",
"lastMod": "2021-01-22T15:19:41.294Z",
"status": "VALID",
"action": [
"sub",
"view"
],
"clientRole": "org.onap.dmaap.mr.PNF_REGISTRATION.sub",
"dcaeLocationName": "san-francisco",
"fqtn": "org.onap.dmaap.mr.PNF_REGISTRATION",
"mrClientId": "1611328781294",
"topicURL": 
"http://message-router:3904/events/org.onap.dmaap.mr.PNF_REGISTRATION";
},
{
"type": "mr_Client",
"lastMod": "2021-01-22T15:19:42.23Z",
"status": "VALID",
"action": [
"pub",
"sub",
"view"
],
"clientIdentity": "[email protected]",
"dcaeLocationName": "san-francisco",
"fqtn": "org.onap.dmaap.mr.mirrormakeragent",
"mrClientId": "1611328782230",
"topicURL": 
"http://message-router:3904/events/org.onap.dmaap.mr.mirrormakeragent";
},
{
"type": "mr_Client",
"lastMod": "2021-01-22T15:19:39.247Z",
"status": "VALID",
"action": [
"pub",
"view"
],
"clientRole": "org.onap.dmaap.mr.PNF_READY.pub",
"dcaeLocationName": "san-francisco",
"fqtn": "org.onap.dmaap.mr.PNF_READY",
"mrClientId": "1611328779247",
"topicURL": "http://message-router:3904/events/org.onap.dmaap.mr.PNF_READY";
},
{
"type": "mr_Client",
"lastMod": "2021-01-22T15:19:42.481Z",
"status": "VALID",
"action": [
"pub",
"sub",
"view"
],
"clientIdentity": "[email protected]",
"dcaeLocationName": "san-francisco",
"fqtn": "org.onap.dmaap.mr.mirrormakeragent",
"mrClientId": "1611328782481",
"topicURL": 
"http://message-router:3904/events/org.onap.dmaap.mr.mirrormakeragent";
},
{
"type": "mr_Client",
"lastMod": "2021-01-22T15:19:42.59Z",
"status": "VALID",
"action": [
"pub",
"sub",
"view"
],
"clientIdentity": "[email protected]",
"dcaeLocationName": "san-francisco",
"fqtn": "org.onap.dmaap.mr.mirrormakeragent",
"mrClientId": "1611328782590",
"topicURL": 
"http://message-router:3904/events/org.onap.dmaap.mr.mirrormakeragent";
}
]

curl -X POST https://dmaap-bc:8443/webapi/mr_clusters -d 
'{"dcaeLocationName":"san-francisco","fqdn":"message-router","topicProtocol":"https","topicPort":"3905"}'

returns 500 Internal Error.

>From dmaap-bc pod log :

Feb 02, 2021 3:49:55 PM org.glassfish.jersey.server.ServerRuntime$Responder 
process SEVERE: Error occurred when processing a response created from an 
already mapped exception.

Feb 02, 2021 3:49:55 PM org.glassfish.jersey.server.ServerRuntime$Responder 
process
SEVERE: Error occurred when processing a response created from an already 
mapped exception.

Let me knwon if you need other log files.
Thanks,

Aniello
--

-----------------------------------------------------------------
*TIM*
*Aniello Paolo Malinconico*
Chief Innovation & Partnership Office
Technology Innovation

*TIM S.p.A.*
Via G. Reiss Romoli, 274 – 10148 TORINO
email: [email protected]
Tim Official: *Facebook* ( https://www.facebook.com/TimOfficialPage ) - 
*Twitter* ( https://twitter.com/tim_official ) - *www.tim.it* ( 
http://www.tim.it/ )


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22794): https://lists.onap.org/g/onap-discuss/message/22794
Mute This Topic: https://lists.onap.org/mt/80286285/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to