Hi Ahila, thanks for answering, however the issue still is present.

I have performed:
?

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": 
"d...@dcae.onap.org", "action": "sub" }

Successfully (code 200 ok) .



Then, I have perfromed:

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

TThis request returns 409 Error:
{
    "code": 409,
    "fields": "dcaeLocationName",
    "message": "Cluster with dcaeLocationName san-francisco already exists"
}


In fact, making a GET request 
https://{{dmaap-bc}}:30242/webapi/mr_clusters<https://34.90.118.226:30242/webapi/mr_clusters>

[
    {
        "type": "mr_Cluster",
        "lastMod": "2021-01-22T15:19:38.737Z",
        "status": "VALID",
        "dcaeLocationName": "san-francisco",
        "fqdn": "message-router",
        "sourceReplicationPort": "2181",
        "targetReplicationPort": "9092",
        "topicPort": "3904",
        "topicProtocol": "http"
    }
]



I have tried to delete or update this resource unsuccessfully. PUT/DELETE 
operations return 500 Error code.



So, finally, making the :

curl -k 
https://message-router:3905/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS/1/1
 -u 'd...@dcae.onap.org:demo123456!'

curl -k 
http://message-router:3904/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS/1/1
 -u 'd...@dcae.onap.org?:demo123456!'?


both return 401 Unauthorized.


Thanks,
Aniello



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

TIM S.p.A.
Via G. Reiss Romoli, 274 – 10148 TORINO
email: aniellopaolo.malincon...@guest.telecomitalia.it
Tim Official: Facebook<https://www.facebook.com/TimOfficialPage> - 
Twitter<https://twitter.com/tim_official> - www.tim.it<http://www.tim.it/>
________________________________
From: ahila.panda...@wipro.com <ahila.panda...@wipro.com>
Sent: Wednesday, February 3, 2021 4:27 PM
To: Malinconico Aniello Paolo (Guest)
Cc: swaminathan.seethara...@wipro.com
Subject: [EXT] “[Guilin] DCAE Slice Analysis MS - 5G Network Slicing”

Hi Aniello,

It’s regarding the ONAP topic “[Guilin] DCAE Slice Analysis MS - 5G Network 
Slicing”.

Please try the subscriber request with the valid client 
d...@dcae.onap.org<mailto:d...@dcae.onap.org>. It’s not being copied completely 
there.

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": 
"d...@dcae.onap.org", "action": "sub" }

Followed by this,

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

Let me know, if you still see the issue.

Thanks & Regards,
Ahila P.

'The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com'


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22809): https://lists.onap.org/g/onap-discuss/message/22809
Mute This Topic: https://lists.onap.org/mt/80375885/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to