Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-560

Response from cps query using text() contains escape characters


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Istanbul Release
    • Istanbul Release
    • None
    • None

      1. The response of the below API is with full of escape characters. As we are not able to disable the escape characters in SDNC-Directed Graph, kindly disable the escape characters in the response.
      curl --location -g --request GET 'localhost:8883/cps/api/v1/dataspaces/E2EDemo/anchors/ran-network-anchor/nodes/query?cps-path=//attributes/rANNFNSSIList[text()='\''e893-e93r-c0f2-kj76'\'']&include-descendants=false' \

      2. The response received differs from the expected format. Attached the actual and expected responses for your reference.

        1. actual-response.txt
          18 kB
        2. expected-response.txt
          10 kB
        3. ietf-inet-types@2021-02-22.yang
          22 kB
        4. ietf-yang-types@2021-04-14.yang
          28 kB
        5. ran-network@2020-08-06.yang
          57 kB
        6. ran-network-data.json
          9 kB
        7. updatedresponse.txt
          2 kB
        8. yang segment-NearRTRIC.txt
          13 kB

            niamhcore niamhcore
            ahilap ahilap
            0 Vote for this issue
            2 Start watching this issue