summaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/java
diff options
context:
space:
mode:
authorEric Multanen <eric.w.multanen@intel.com>2020-05-19 12:03:37 -0700
committerEric Multanen <eric.w.multanen@intel.com>2020-05-19 12:03:37 -0700
commit06c00b7e1f74f0b793731983bc11fe79541a2b16 (patch)
tree9a6dcde966989784e332c8553d004e6e399d801e /mso-catalog-db/src/main/java
parent16d7704be3276710e53ef61cf01ed5fda066a827 (diff)
Fix CloudSite creation for OOF Homing
Restore old version of postCloudSite for the OOF homing code. Change-Id: Ic20895730952975476544ede6e677948e88998a9 Issue-ID: SO-2940 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Diffstat (limited to 'mso-catalog-db/src/main/java')
-rw-r--r--mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java
index a68ed44ee7..8d342b673d 100644
--- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java
+++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java
@@ -797,6 +797,11 @@ public class CatalogDbClient {
return this.getSingleResource(cloudSiteClient, getUri(uri + id));
}
+ // Bring back old version of methind since the caller - OofInfraUtils.java - is not running in a spring context
+ public void postOofHomingCloudSite(CloudSite cloudSite) {
+ this.postSingleResource(cloudSiteClient, cloudSite);
+ }
+
public CloudSite postCloudSite(CloudSite cloudSite) {
if (cloudSite == null) {
throw new EntityNotFoundException("CloudSite passed as null");