diff options
author | Michael Hwang <mhwang@research.att.com> | 2018-03-22 11:02:57 -0400 |
---|---|---|
committer | Michael Hwang <mhwang@research.att.com> | 2018-03-26 10:56:24 -0400 |
commit | e65fc2fc02594a7c8640a6330b2373db1efb923e (patch) | |
tree | 4433e083f96dcb1ad26c6f73d437195d6d8f7a75 /docs/API.md | |
parent | 7f61b70d33879712c5dad64c04a5d54b2b065138 (diff) |
Add unit tests to reach 50% coverage
Ripped out the dcae controller code which is no longer
needed.
Change-Id: I43906edb80bcd5e25445ec2a7175c6748b0ab2ae
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Issue-ID: DCAEGEN2-257
Diffstat (limited to 'docs/API.md')
-rw-r--r-- | docs/API.md | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/docs/API.md b/docs/API.md index a6f0472..ec0ff89 100644 --- a/docs/API.md +++ b/docs/API.md @@ -10,7 +10,7 @@ DCAE Inventory is a web service that provides the following: ### Version information -*Version* : 2.1.0 +*Version* : 3.0.0 ### Contact information @@ -189,8 +189,6 @@ Get a list of `DCAEService` objects. |HTTP Code|Description|Schema| |---|---|---| |**200**|List of `DCAEService` objects|[InlineResponse2001](#inlineresponse2001)| -|**502**|Bad response from DCAE controller|[ApiResponseMessage](#apiresponsemessage)| -|**504**|Failed to connect with DCAE controller|[ApiResponseMessage](#apiresponsemessage)| #### Consumes @@ -258,8 +256,6 @@ Get a `DCAEService` object. |---|---|---| |**200**|Single `DCAEService` object|[DCAEService](#dcaeservice)| |**404**|DCAE service not found|[ApiResponseMessage](#apiresponsemessage)| -|**502**|Bad response from DCAE controller|[ApiResponseMessage](#apiresponsemessage)| -|**504**|Failed to connect with DCAE controller|[ApiResponseMessage](#apiresponsemessage)| #### Consumes @@ -383,7 +379,7 @@ Remove an existing `DCAEService` object. |---|---|---| |**componentId** <br>*required*|The id format is unique to the source|string| |**componentLink** <br>*required*|Link to the underlying resource of this component|[Link](#link)| -|**componentSource** <br>*required*|Specifies the name of the underying source service that is responsible for this components|enum (DCAEController, DMaaPController)| +|**componentSource** <br>*required*|Specifies the name of the underying source service that is responsible for this components|enum (DMaaPController)| |**componentType** <br>*required*||string| |**created** <br>*required*||string(date-time)| |**location** <br>*optional*|Location information of the component|string| @@ -398,7 +394,7 @@ Remove an existing `DCAEService` object. |Name|Description|Schema| |---|---|---| |**componentId** <br>*required*|The id format is unique to the source|string| -|**componentSource** <br>*required*|Specifies the name of the underying source service that is responsible for this components|enum (DCAEController, DMaaPController)| +|**componentSource** <br>*required*|Specifies the name of the underying source service that is responsible for this components|enum (DMaaPController)| |**componentType** <br>*required*||string| |**shareable** <br>*required*|Used to determine if this component can be shared amongst different DCAE services|integer(int32)| |