diff options
author | Eric Multanen <eric.w.multanen@intel.com> | 2020-05-19 12:03:37 -0700 |
---|---|---|
committer | Eric Multanen <eric.w.multanen@intel.com> | 2020-05-19 20:42:18 +0000 |
commit | 395862583eb46cea58c638d39588c843eeab62cc (patch) | |
tree | 20b68742960e1a6b8ad25fd1c6921f6642b6a1d6 /mso-catalog-db | |
parent | 66e51a92e185963b1c50ad82d44ee974d2db5197 (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>
(cherry picked from commit 06c00b7e1f74f0b793731983bc11fe79541a2b16)
Diffstat (limited to 'mso-catalog-db')
-rw-r--r-- | mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java | 5 |
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 cd7edb007d..0989c627cd 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 @@ -787,6 +787,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"); |