-
Bug
-
Resolution: Done
-
Highest
-
Dublin Release
During merge of Casablanca back into master (https://gerrit.onap.org/r/c/so/+/77475/-1..1/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/OofHoming.groovy#38) it appears some imports in OOFHoming.groovy were not carried over.
It causes an error during homing execution:
2019-05-24T17:00:14.853Z|4ee100b7-c76b-46d4-9cc8-e5da6cb68f36| org.onap.so.bpmn.common.scripts.OofHoming - ****** homing cloudOwner: CloudOwner *****
2019-05-24T17:00:14.854Z|4ee100b7-c76b-46d4-9cc8-e5da6cb68f36| org.onap.so.bpmn.common.scripts.OofHoming - ****** homing cloudRegionId: ONAP-POD-01-Rail-07 *****
2019-05-24T17:00:15.618Z|4ee100b7-c76b-46d4-9cc8-e5da6cb68f36| org.onap.so.bpmn.common.scripts.OofHoming - ProcessHomingSolution Exception: groovy.lang.MissingPropertyException: No such
property: ServerType for class: org.onap.so.bpmn.common.scripts.OofHoming
2019-05-24T17:00:16.038Z|4ee100b7-c76b-46d4-9cc8-e5da6cb68f36| org.onap.so.bpmn.common.scripts.ExceptionUtil - Caught a Java Exception in Homing
2019-05-24T17:00:16.039Z|4ee100b7-c76b-46d4-9cc8-e5da6cb68f36| org.onap.so.bpmn.common.scripts.ExceptionUtil - Started processJavaException Method
The correct imports should be:
import org.onap.so.db.catalog.beans.AuthenticationType
import org.onap.so.db.catalog.beans.CloudIdentity
import org.onap.so.db.catalog.beans.CloudSite
import org.onap.so.db.catalog.beans.HomingInstance
import org.onap.so.db.catalog.beans.ServerType
Further import missing in OofUtils: **
UriBuilder Import was removed in merge from Casa back into master. See:
vs.