aboutsummaryrefslogtreecommitdiffstats
path: root/appc-common
diff options
context:
space:
mode:
authorRY303T <RY303T@att.com>2017-10-11 02:16:18 -0400
committerRY303T <RY303T@att.com>2017-10-11 11:58:16 -0400
commit8d8251478f7242d3898b7c2760ddfc230bd94c7e (patch)
tree25423e02bb62a28822e484b609f46c93e40b01ae /appc-common
parentf7824831d63aeb5be44077de7bf51fa05a4e5010 (diff)
Add support for OpenStack V3 Identity Service
replaced ServiceCatalog with a factory to select correct version ServiceCatalogV2 contains code previously found in ServiceCatalog add ServiceCatalogV3 implementation of V3 connector Issue-ID: APPC-259 Change-Id: Iba7d98cfc9e50914b8063be0b35494a9d0fea793 Signed-off-by: RY303T <RY303T@att.com>
Diffstat (limited to 'appc-common')
-rw-r--r--appc-common/src/main/java/org/openecomp/appc/i18n/Msg.java8
-rw-r--r--appc-common/src/main/resources/org/openecomp/appc/i18n/MessageResources.properties7
2 files changed, 14 insertions, 1 deletions
diff --git a/appc-common/src/main/java/org/openecomp/appc/i18n/Msg.java b/appc-common/src/main/java/org/openecomp/appc/i18n/Msg.java
index 5f0aa3258..f4a393fd6 100644
--- a/appc-common/src/main/java/org/openecomp/appc/i18n/Msg.java
+++ b/appc-common/src/main/java/org/openecomp/appc/i18n/Msg.java
@@ -807,7 +807,13 @@ public enum Msg implements EELFResolvableErrorEnum {
/**
* {0}
*/
- OAM_OPERATION_INVALID_INPUT
+ OAM_OPERATION_INVALID_INPUT,
+
+ /**
+ * Unsupported identity service version, unable to retrieve ServiceCatalog
+ * for identity service {0}
+ */
+ IAAS_UNSUPPORTED_IDENTITY_SERVICE
;
/*
* Static initializer to ensure the resource bundles for this class are loaded...
diff --git a/appc-common/src/main/resources/org/openecomp/appc/i18n/MessageResources.properties b/appc-common/src/main/resources/org/openecomp/appc/i18n/MessageResources.properties
index 86d9b5515..354adff9d 100644
--- a/appc-common/src/main/resources/org/openecomp/appc/i18n/MessageResources.properties
+++ b/appc-common/src/main/resources/org/openecomp/appc/i18n/MessageResources.properties
@@ -1011,3 +1011,10 @@ OAM_OPERATION_INVALID_INPUT=APPC0162E|\
{0}|\
No recovery required|\
Fix the input parameter and retry.
+
+IAAS_UNSUPPORTED_IDENTITY_SERVICE=APPC0163E|\
+ Unsupported identity service version, unable to retrieve ServiceCatalog for identity service {0}|\
+ Verify the identity url provided is correct. Currently supported version of the OpenStack identity servicer\
+ are v2 and v3. If a support for a new version in required contact development.|\
+ This message indicates that a request was made to connect to an unsupported version of \
+ identity service. \ No newline at end of file