version: "1.0"
servers:
- url: /ncmpInventory
+components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
paths:
/v1/ch:
$ref: 'ncmp-inventory.yml#/updateDmiRegistration'
/v1/ch/cmHandles:
- $ref: 'ncmp-inventory.yml#/getAllCmHandleIdsForRegisteredDmi'
\ No newline at end of file
+ $ref: 'ncmp-inventory.yml#/getAllCmHandleIdsForRegisteredDmi'
+security:
+ - basicAuth: []
\ No newline at end of file
version: "1.0"
servers:
- url: /ncmp
+components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
paths:
/v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name}:
$ref: 'ncmp.yml#/resourceDataForCmHandle'
/v1/ch/{cm-handle}/data-sync:
$ref: 'ncmp.yml#/setDataSyncEnabledFlag'
+security:
+ - basicAuth: []
\ No newline at end of file
servers:
- url: /cps/api
+components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
tags:
- name: cps-admin
description: cps Admin
/v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
$ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'
+
+security:
+ - basicAuth: []
\ No newline at end of file
details: Internal Server Error occurred
x-codegen-request-body-name: xpath
components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
schemas:
ErrorMessage:
title: Error
name: SciFi
- code: 2
name: kids
+
+security:
+ - basicAuth: []
\ No newline at end of file
message: Internal Server Error
details: Internal Server Error occurred
components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
schemas:
RestDmiPluginRegistration:
type: object
errorText:
type: string
example: Unknown error. <error-details>
+
+security:
+ - basicAuth: []
\ No newline at end of file
http-code: 400
body: Bad Request
components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
schemas:
ErrorMessage:
title: Error
- conditionName: cmHandleWithCpsPath
conditionParameters:
- cpsPath: "//state[@data-sync-enabled='true']"
+
+security:
+ - basicAuth: []
Bug Fixes
---------
- `CPS-1312 <https://jira.onap.org/browse/CPS-1312>`_ CPS(/NCMP) does not have version control
+ - `CPS-1350 <https://jira.onap.org/browse/CPS-1350>`_ [CPS/NCMP] Add Basic Auth to CPS/NCMP OpenAPI Definitions
Known Limitations, Issues and Workarounds
-----------------------------------------