Upgrade AAI API version to v16 71/102971/1 6.0.3
authorIttay Stern <ittay.stern@att.com>
Wed, 4 Mar 2020 10:20:33 +0000 (12:20 +0200)
committerIttay Stern <ittay.stern@att.com>
Wed, 4 Mar 2020 10:20:33 +0000 (12:20 +0200)
v16 is the recommended Dublin version:
https://wiki.onap.org/display/DW/AAI+REST+API+Documentation+-+Dublin

Issue-ID: VID-365

Change-Id: I3c84525382477d453dcdc0e5c1e061dc41526dc0
Signed-off-by: Ittay Stern <ittay.stern@att.com>
docs/consumedapis.rst
epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties
vid-app-common/src/main/java/org/onap/vid/aai/util/AAIProperties.java
vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_service_model_by_uuid.json
vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_vlb_service_instances.json

index 14c49af..e9c219a 100644 (file)
@@ -66,33 +66,33 @@ A&AI
 
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
 | GET                                                                                                                           | Get all subscribers                                                    |
-|   aai/v13/business/customers?subscriber-type=INFRA&depth=2                                                                    |                                                                        |
+|   aai/v16/business/customers?subscriber-type=INFRA&depth=2                                                                    |                                                                        |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
-| GET aai/v13/                                                                                                                  | Get data for a specific subscriber including its available services    |
+| GET aai/v16/                                                                                                                  | Get data for a specific subscriber including its available services    |
 |   business/customers/customer/<global_customer_id>                                                                            |                                                                        |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
 | GET                                                                                                                           | Get all service types                                                  |
-|   aai/v13/service-design-and-creation/services                                                                                |                                                                        |
+|   aai/v16/service-design-and-creation/services                                                                                |                                                                        |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
 | GET                                                                                                                           | Get services by owner entity id                                        |
-|   aai/v13/business/owning-entities?<owning_entitiy_ids>                                                                       |                                                                        |
+|   aai/v16/business/owning-entities?<owning_entitiy_ids>                                                                       |                                                                        |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
 | GET                                                                                                                           | Get services by project name                                           |
-|   aai/v13/business/projects?<project-names>                                                                                   |                                                                        |
+|   aai/v16/business/projects?<project-names>                                                                                   |                                                                        |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
-| GET aai/v13/network/zones                                                                                                     | Get all AIC zones                                                      |
+| GET aai/v16/network/zones                                                                                                     | Get all AIC zones                                                      |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
 | POST search/named-query                                                                                                       | Get data regarding an instance and the instance's related nodes        |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
-| GET aai/v13/                                                                                                                  | Get AIC zones for a specific service instance                          |
+| GET aai/v16/                                                                                                                  | Get AIC zones for a specific service instance                          |
 |   business/customers/customer/<global_customer_id>/                                                                           |                                                                        |
 |   /service-subscriptions/service-subscription/<service_type>/service-instances/service-instance/<service_instance_id>         |                                                                        |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
-| PUT Aai/v13/query?format=simple(types:                                                                                        | This is a custom query and has multiple types(declared in the url line)|
+| PUT aai/v16/query?format=simple(types:                                                                                        | This is a custom query and has multiple types(declared in the url line)|
 |   “query/vnfFromModelbyRegion?cloudRegionId”,”                                                                                |                                                                        |
 |   vnf-topology-fromServiceInstance”)                                                                                          |                                                                        |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
-| Aai/v13/                                                                                                                      | Get the human readable version by version id                           |
+| aai/v16/                                                                                                                      | Get the human readable version by version id                           |
 |   service-design-and-creation/models?depth=2                                                                                  |                                                                        |
 +-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
 | business/customers/customer/<global_customer_id>/service-subscriptions/service-subscription/<service_Subscription_Id>?depth=0 | Get all service subscriptions                                          |
index 1e8a0ba..5d8a340 100755 (executable)
@@ -63,9 +63,7 @@ role_management_activated = false
 
 #aai related properties
 aai.server.url.base=${VID_AAI_URL}/aai/
-aai.server.url=${VID_AAI_URL}/aai/v13/
-aai.oldserver.url.base=${VID_AAI_URL}/aai/servers/
-aai.oldserver.url=${VID_AAI_URL}/aai/servers/v3/
+aai.server.url=${VID_AAI_URL}/aai/v16/
 aai.truststore.filename=${AAI_TRUSTSTORE_FILENAME}
 aai.truststore.passwd.x=${AAI_TRUSTSTORE_PASSWD_X}
 aai.keystore.filename=${AAI_KEYSTORE_FILENAME}
index 114ec80..767cf5d 100644 (file)
@@ -35,12 +35,6 @@ public class AAIProperties extends SystemProperties {
        /** The Constant AAI_SERVER_URL. */
        public static final String AAI_SERVER_URL = "aai.server.url";
        
-       /** The Constant AAI_OLDSERVER_URL_BASE. */
-       public static final String AAI_OLDSERVER_URL_BASE = "aai.oldserver.url.base";
-       
-       /** The Constant AAI_OLDSERVER_URL. */
-       public static final String AAI_OLDSERVER_URL = "aai.oldserver.url";
-       
        /** The Constant AAI_TRUSTSTORE_FILENAME. */
        public static final String AAI_TRUSTSTORE_FILENAME = "aai.truststore.filename";