aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/aai/catalog/cloud_infrastructure_catalog.py
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2020-10-15 12:34:35 -0700
committerstark, steven <steven.stark@att.com>2020-10-15 12:39:49 -0700
commita0984e365a7c610e9cb91cf73e5d09db2be6df6a (patch)
tree67b8aaaffb37b56105569f2233672db9e5720cbd /onap-client/onap_client/aai/catalog/cloud_infrastructure_catalog.py
parent82f201fb65094aad55b3e46634bad39713387c6e (diff)
[VVP] VVP onap-client enhancements
Adding capability for custom auth plugin (defaults to basic auth). During updates to VNF models, resource and policy objects are deletd and recreated. Issue-ID: VVP-477 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: Iba743176167c2b1df185666b08cbd79c6a559c9e
Diffstat (limited to 'onap-client/onap_client/aai/catalog/cloud_infrastructure_catalog.py')
-rw-r--r--onap-client/onap_client/aai/catalog/cloud_infrastructure_catalog.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/onap-client/onap_client/aai/catalog/cloud_infrastructure_catalog.py b/onap-client/onap_client/aai/catalog/cloud_infrastructure_catalog.py
index d22ab0e..e71f767 100644
--- a/onap-client/onap_client/aai/catalog/cloud_infrastructure_catalog.py
+++ b/onap-client/onap_client/aai/catalog/cloud_infrastructure_catalog.py
@@ -63,7 +63,7 @@ class CloudInfrastructureClient(AAIClient):
"X-TransactionId": str(uuid.uuid4()),
"X-FromAppId": self.config.application_id,
},
- "auth": (self.config.aai.AAI_USERNAME, self.config.aai.AAI_PASSWORD,),
+ "auth": self.auth,
},
"GET_CLOUD_REGION": {
"verb": "GET",
@@ -81,7 +81,7 @@ class CloudInfrastructureClient(AAIClient):
"X-TransactionId": str(uuid.uuid4()),
"X-FromAppId": self.config.application_id,
},
- "auth": (self.config.aai.AAI_USERNAME, self.config.aai.AAI_PASSWORD,),
+ "auth": self.auth,
},
"GET_CLOUD_REGION_TENANTS": {
"verb": "GET",
@@ -99,7 +99,7 @@ class CloudInfrastructureClient(AAIClient):
"X-TransactionId": str(uuid.uuid4()),
"X-FromAppId": self.config.application_id,
},
- "auth": (self.config.aai.AAI_USERNAME, self.config.aai.AAI_PASSWORD,),
+ "auth": self.auth,
},
"GET_ESR_LIST": {
"verb": "GET",
@@ -117,7 +117,7 @@ class CloudInfrastructureClient(AAIClient):
"X-TransactionId": str(uuid.uuid4()),
"X-FromAppId": self.config.application_id,
},
- "auth": (self.config.aai.AAI_USERNAME, self.config.aai.AAI_PASSWORD,),
+ "auth": self.auth,
},
"GET_VOLUME_GROUPS": {
"verb": "GET",
@@ -135,6 +135,6 @@ class CloudInfrastructureClient(AAIClient):
"X-TransactionId": str(uuid.uuid4()),
"X-FromAppId": self.config.application_id,
},
- "auth": (self.config.aai.AAI_USERNAME, self.config.aai.AAI_PASSWORD,),
+ "auth": self.auth,
},
}