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

Compare with Current View Page History

« Previous Version 3 Next »

Although the PoC will only implement a few of the possible Java API methods it is important to have a good detailed view of the structure and naming of this interface going forward and document it.

Acceptance Criteria for Proposed Java Interface:

  1. Should follow ONAP or wider best practice
  2. Documented on ONAP Wiki
  3. Discussed and agreed within CPS Team
  4. Discussed and agreed with wider community


Currently we are considering 3 'separated' Java APIs or 'groups' of methods:

  1. Models (add, list)
  2. Data (CRUD)
  3. Queries

Jira Ticket:

CCSDK-2871 - Getting issue details... STATUS

Jira Backlog:

https://jira.onap.org/secure/RapidBoard.jspa?rapidView=223&view=planning.nodetail&selectedIssue=CCSDK-2912&issueLimit=100



Description of Operations for Modelling Storage

POST /dataspaces/{dataspace-name}/modules

Description

Create (and validate) a module set (upload a model file) for the given dataspace. Payload is a file containing 1 or more yang modules. This operation will also create a dataspace.

Request Parameters:

NameDescriptionTypeData typeRequired
dataspace-nameThe name of the dataspacepathstringyes
filea yang model fileformyangyes

Responses:

201 Created

Schema definitions

dataspace-name

Description:


  • No labels