update release note for unknown issue
[appc.git] / docs / APPC Client Library Guide / APPC Client Library Guide.rst
index 37b8716..a819ed8 100644 (file)
@@ -1,18 +1,26 @@
-.. _appc_client_library:
-
-==================================================
-Application Controller (APPC) Client Library Guide
-==================================================
+.. ============LICENSE_START==========================================
+.. ===================================================================
+.. Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+.. ===================================================================
+.. Licensed under the Creative Commons License, Attribution 4.0 Intl.  (the "License");
+.. you may not use this documentation except in compliance with the License.
+.. You may obtain a copy of the License at
+.. 
+..  https://creativecommons.org/licenses/by/4.0/
+.. 
+.. Unless required by applicable law or agreed to in writing, software
+.. distributed under the License is distributed on an "AS IS" BASIS,
+.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+.. See the License for the specific language governing permissions and
+.. limitations under the License.
+.. ============LICENSE_END============================================
 
+.. _appc_client_library:
 
-Revision History
-================
+=========================
+APPC Client Library Guide
+=========================
 
-+--------------+------------+---------------+--------------------------------------------------+
-| Date         | Revision   | Author        | Changes                                          |
-+--------------+------------+---------------+--------------------------------------------------+
-| 2017-08-22   | 1.0.0      | Paul Miller   | First draft                                      |
-+--------------+------------+---------------+--------------------------------------------------+
 
 Introduction
 ============
@@ -25,9 +33,9 @@ This document is for an advanced technical audience, which includes engineers an
 Related Documentation
 ---------------------
 
-For additional information, see 
+For additional information, see
 
-       :ref:`appc_api_guide`
+        :ref:`appc_api_guide`
 
 
 Client Library Background
@@ -38,7 +46,7 @@ This guide discusses the Application Controller (APPC) Client Library and how to
 About the Client Library
 ------------------------
 
-The APPC client library provides consumers of APPC capabilities with a strongly-typed Java interface and encapsulates the actual interaction with the APPC component over an asynchronous messaging channel such as UEB.
+The APPC client library provides consumers of APPC capabilities with a strongly-typed Java interface and encapsulates the actual interaction with the APPC component over an asynchronous messaging channel such as DMaaP.
 
 Consumer Logic
 --------------
@@ -58,8 +66,8 @@ APP-C Client Library Flow
 Asynchronous Flow
 ^^^^^^^^^^^^^^^^^
 
--  The APPC Client Library is called using an asynchronous API using a full command object, which is mapped to a JSON representation.
--  The APPC client calls the UEB client and sends the JSON command to a configured topic.
+-  The APPC Client Library is called using an asynchronous API utilizing a full command object, which is mapped to a JSON representation.
+-  The APPC client calls the DMaaP client and sends the JSON command to a configured topic.
 -  The APPC client pulls response messages from the configured topic.
 -  On receiving the response for the command, the APPC client runs the relevant callback method of the consumer ResponseHandler.
 
@@ -67,24 +75,24 @@ Synchronous Flow
 ^^^^^^^^^^^^^^^^
 
 -  The APPC Client Library is called using a synchronous API using a full command object, which is mapped to a JSON representation.
--  The APPC client calls the UEB client and sends the JSON command to a configured topic.
+-  The APPC client calls the DMaaP client and sends the JSON command to a configured topic.
 -  The APPC client pulls response messages from the configured topic.
 -  On receiving the **final** response for the command, the APPC client returns the response object with a final status.
 
 Client Library Usage
 ====================
-      
+
 Jar Files
 ---------
 
 The Java application that runs the APPC client kit uses the following jar files:
 
-    -  com.att.appc.client.client-kit
-    -  com.att.appc.client.client-lib
+    -  org.onap.appc.client:client-kit
+    -  org.onap.appc.client:client-lib
 
-The client library JAR files are located in the repository under ``com\\att\\appc\\client``.
+The client library JAR files are located in the repository under ``com\att\appc\client``.
 
-Initialization 
+Initialization
 --------------
 
 Initialize the client by calling the following method:
@@ -103,13 +111,15 @@ Specify the following configuration properties as method parameters:
     -  "poolMembers"
     -  “client.response.timeout”
     -  “client.graceful.shutdown.timeout”
+    -  “controllerType”
 
 Shutdown
 --------
 
-Shutdown the client by calling the following method:
+Shutdown the client by calling the following method, first if Controller Type is not included, the second when Controller Type is included:
 
-``void shutdownLifeCycleManager(boolean isForceShutdown)``
+``void shutdownLifeCycleManager(boolean isForceShutdown)``, or 
+``void shutdownLifeCycleManager(boolean isForceShutdown, String controllerType)``
 
 If the ``isForceShutdown`` flag is set to false, the client shuts down as soon as all responses for pending requests are received, or upon configurable timeout. (``client.graceful.shutdown.timeout``).
 
@@ -151,7 +161,7 @@ There may be multiple calls to the ResponseHandler for each response returned by
 LifeCycleManagerStateful Interface
 ----------------------------------
 
-Generated from the APPC Yang model, this interface defines the services and request/response requirements for the ECOMP APPC component. For example, for LCM Command Audit, the following is defined:
+Generated from the APPC Yang model, this interface defines the services and request/response requirements for the ONAP APPC component. For example, for LCM Command Audit, the following is defined:
 
 ``@RPC(name="audit", outputType=AuditOutput.class)``
 
@@ -175,8 +185,8 @@ appc-provider-lcm
 
 This defines the services and request/response requirements for the APPC component.
 
-Methods 
---------
+Methods
+-------
 
 The methods should match the actions described in the LCM API Guide. For each method:
 
@@ -211,3 +221,4 @@ This API call produces the following media types according to the **Accept** req
 .. |image0| image:: image2.png
    :width: 5.60495in
    :height: 4.55272in
+