Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

CPS-817 - Getting issue details... STATUS

Creating a new get cm handle endpoint.

REST layer

  • nmcp.yml
    • New endpoint for retrieveCmHandleByName to retrieve cm handle details by the cm handles name/id.
  • NetworkComProxyController.java
    • New method retrieveCmHandleByName() which calls a new method getCmHandleDetails from NetworkCmProxyDataService
  • NetworkCmProxyController.groovy
    • Add test for scenario above.

Service Layer

  • NetworkCmProxyDataService.java
    • New getCmHandleDetails() method to be overwritten.
  • NetworkCmProxyDataServiceImp.java
    • Implement getCmHandleDetails and call retrieveCmHandleDetails from the persistence layer.

Persistence Layer

PersistenceCmHandleRetriever.java

  • New method retrieveCmHandleDetails().

API details

Description

URI

Sample Response Body

Get Cm Handle details by name.

GET

 {ncmpRoot}/ncmp/v1/ch/PNFDemo

{
    "cmHandle": "Bookstore",
    "cmHandleProperties": [
        {
            "Public-Book1": "Public Sci-Fi Book",
            "Public-Book2": "Public Horror Book",
            "Public-Book3": "Public Crime Book"
        }
    ]
}


  • No labels