Merge from ECOMP's repository
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / services / creationService.js
index b896847..7d07714 100755 (executable)
@@ -1117,8 +1117,14 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
                 if (j < parameter.optionList.length) {\r
                     continue;\r
                 }\r
+\r
+                var optionName = featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_1810_CR_ADD_CLOUD_OWNER_TO_MSO_REQUEST) && cloudRegionTenantList[i].cloudOwner ?\r
+                    cloudRegionTenantList[i].cloudRegionId + " (" + cloudRegionTenantList[i].cloudOwner.trim().toLowerCase().replace(/^att-/, "").toUpperCase() + ")" :\r
+                    cloudRegionTenantList[i].cloudRegionId;\r
+\r
                 parameter.optionList.push({\r
                     id : cloudRegionTenantList[i].cloudRegionId,\r
+                    name: optionName,\r
                     isPermitted : cloudRegionTenantList[i].isPermitted\r
                 });\r
             }\r