[BUG] Dminame to valid topic suffix 29/136729/7
authormpriyank <priyank.maheshwari@est.tech>
Mon, 4 Dec 2023 18:01:07 +0000 (18:01 +0000)
committermpriyank <priyank.maheshwari@est.tech>
Wed, 6 Dec 2023 12:21:39 +0000 (12:21 +0000)
commit41727e5dd167c71a63fb8b8f4e3136867b0e65b3
tree5c5b6dc6a6f46185e20aa9bc9e4d604d314f48aa
parent4d1b233782d28789ede02b1bad5cda1923a8f650
[BUG] Dminame to valid topic suffix

- dmi name can be in the form of URL , and we are using dmi-name as
  topic suffix , which results in the invalid topic name.
- fix to extract out domain name excluding port from the url
- test case for the same
- updated the documentation
- fix only supports ipv4 addresses at the moment

Issue-ID: CPS-1979
Change-Id: I9c6ea113afae816f727b45a30c94070af013a16d
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/events/cmsubscription/CmSubscriptionNcmpInEventForwarder.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/events/cmsubscription/CmSubscriptionNcmpInEventForwarderSpec.groovy
docs/release-notes.rst