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 12:03:37 -0700 |
commit | 06c00b7e1f74f0b793731983bc11fe79541a2b16 (patch) | |
tree | 9a6dcde966989784e332c8553d004e6e399d801e /bpmn/MSOCommonBPMN/src/main/java/org/onap | |
parent | 16d7704be3276710e53ef61cf01ed5fda066a827 (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 'bpmn/MSOCommonBPMN/src/main/java/org/onap')
-rw-r--r-- | bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/util/OofInfraUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/util/OofInfraUtils.java b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/util/OofInfraUtils.java index f25d4b440a..5f0cab3da8 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/util/OofInfraUtils.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/util/OofInfraUtils.java @@ -52,7 +52,7 @@ public class OofInfraUtils { getCloudsite = Optional.ofNullable(client.getCloudSite(cloudSite.getId(), endpoint + "/cloudSite/")) .orElse(new CloudSite()); if (!cloudSite.getId().equals(getCloudsite.getId())) { - client.postCloudSite(cloudSite); + client.postOofHomingCloudSite(cloudSite); logger.debug("Did not findd cloudsite : {}", cloudSite.getId()); logger.debug("Will create cloudSite: {}", cloudSite.toString()); } else { |