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

Make CPS Core API more restful

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Medium Medium
    • London Release
    • None
    • CPS-Core-REST
    • None
    • Make CPS Core API more Restful
    • In Progress

      This story is on making CDS-Core-API more restful. We figured out some issues and improvement items, e.g.

      • always return Content-Type: "application/json" after creation of specific element (dataspace, anchor) and not Content-Type: "text/plain" or empty content
      • adding endpoint to list all available dataspaces / information for one specific dataspace
      • adding endpoint to retrieve existing schema-sets for one dataspace missing
      • creating two root-nodes in parallel (even when the schema-set defines multiple root nodes)
      • Creating a node: If a node contains a leaflist, currently it must be put in [] in the JSON body even if it only contains a single element. It may be difficult to distinguish between a leaflist and a leaf without looking into the YANG model, so a single element should be allowed to be submitted without [] (for lists, this is already possible).

        There are no Sub-Tasks for this issue.

            rajesh.kumar Rajesh kumar
            lenapeuk lenapeuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: