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

Can't access grandparent node through ancestor axis

XMLWordPrintable

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

      Ancestor axis can't access the grand parent nodes of the data. The following apis are not returning any data.

      curl -g --user cpsuser:cpsr0cks! --request GET 'http://localhost:8883/cps/api/v1/dataspaces/E2EDemo/anchors/ran-network-anchor/nodes/query?cps-path=//sNSSAIList[@sNssai="111-1111"]/ancestor::NRCellDU'

      Response: {}

      curl -g --user cpsuser:cpsr0cks! --request GET 'http://localhost:8883/cps/api/v1/dataspaces/E2EDemo/anchors/ran-network-anchor/nodes/query?cps-path=//sNSSAIList[@sNssai="111-1111"]/ancestor::GNBDUFunction&include-descendants=true'

      Response: {}

        1. ietf-inet-types@2021-02-22.yang
          21 kB
        2. ietf-yang-types@2021-04-14.yang
          27 kB
        3. payload_ran-network.txt
          13 kB
        4. payload.txt
          10 kB
        5. ran-network@2020-08-06.yang
          57 kB

            shivasubedi shivasubedi
            denilson.l65 denilson.l65
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: