diff --git a/client/cat3/src/factory/workzoneServices.js b/client/cat3/src/factory/workzoneServices.js
index 345a160d1..bb660eabf 100644
--- a/client/cat3/src/factory/workzoneServices.js
+++ b/client/cat3/src/factory/workzoneServices.js
@@ -485,7 +485,8 @@
return $http.post(fullUrl(url),compositeBlueprint,Auth.getHeaderObject());
},
getAllCompsiteBlueprint:function () {
- var url ='/composite-blueprints';
+ var p = workzoneEnvironment.getEnvParams();
+ var url ='/composite-blueprints?filterBy=organizationId:'+p.org+'+businessGroupId:'+p.bg+'+projectId:'+p.proj;
return $http.get(fullUrl(url),Auth.getHeaderObject());
},
getCompsiteBlueprintInfo:function (compositeBlueprintId) {
diff --git a/client/cat3/src/partials/sections/dashboard/workzone/blueprint/blueprint.html b/client/cat3/src/partials/sections/dashboard/workzone/blueprint/blueprint.html
index 594d028e5..3d5794062 100644
--- a/client/cat3/src/partials/sections/dashboard/workzone/blueprint/blueprint.html
+++ b/client/cat3/src/partials/sections/dashboard/workzone/blueprint/blueprint.html
@@ -13,7 +13,7 @@
No Blueprints Available
-
+
diff --git a/client/cat3/src/partials/sections/dashboard/workzone/blueprint/blueprintCtrl.js b/client/cat3/src/partials/sections/dashboard/workzone/blueprint/blueprintCtrl.js
index 98284eb2b..3724ea945 100644
--- a/client/cat3/src/partials/sections/dashboard/workzone/blueprint/blueprintCtrl.js
+++ b/client/cat3/src/partials/sections/dashboard/workzone/blueprint/blueprintCtrl.js
@@ -75,6 +75,7 @@
$scope.requestParams=requestParams;
$scope.isBlueprintPageLoading = true;
$scope.blueprintListCards();
+ $scope.getAllCompsiteBlueprint();
});
angular.extend($scope, {
diff --git a/client/htmls/private/ajax/Settings/CreateConfigManagement.html b/client/htmls/private/ajax/Settings/CreateConfigManagement.html
index d80aab7a6..c1433e5ad 100755
--- a/client/htmls/private/ajax/Settings/CreateConfigManagement.html
+++ b/client/htmls/private/ajax/Settings/CreateConfigManagement.html
@@ -32,7 +32,7 @@
diff --git a/client/htmls/private/ajax/Settings/CreateDesignTemplateTypes.html b/client/htmls/private/ajax/Settings/CreateDesignTemplateTypes.html
index 3aabc9865..6c70b18a9 100755
--- a/client/htmls/private/ajax/Settings/CreateDesignTemplateTypes.html
+++ b/client/htmls/private/ajax/Settings/CreateDesignTemplateTypes.html
@@ -73,6 +73,7 @@
+
diff --git a/client/htmls/private/ajax/Settings/CreateTemplates.html b/client/htmls/private/ajax/Settings/CreateTemplates.html
index 5417134a9..452103221 100755
--- a/client/htmls/private/ajax/Settings/CreateTemplates.html
+++ b/client/htmls/private/ajax/Settings/CreateTemplates.html
@@ -43,7 +43,7 @@
diff --git a/client/htmls/private/index.html b/client/htmls/private/index.html
index c97388058..bdbf09039 100644
--- a/client/htmls/private/index.html
+++ b/client/htmls/private/index.html
@@ -1060,31 +1060,7 @@
"selectable": false,
"href": "javascript:void(0);",
"icon": "fa-lg fa-fw fa fa-tachometer"
- }, {
- "name": "userguide",
- "text": "User Information",
- "borderColor": "#000",
- "nodes": [{
- "name": "Guide",
- "text": "User Guide",
- "borderColor": "#000",
- "href": "ajax/Settings/Catalyst-Guide.html",
- "selectable": true,
- "icon": "fa fa-lg fa-fw fa-file-pdf-o",
- "target": "_blank",
- }, {
- "name": "Guide",
- "text": "Videos",
- "borderColor": "#000",
- "href": "#ajax/Settings/videos.html",
- "selectable": true,
- "icon": "fa fa-lg fa-fw fa-file-video-o",
- }],
- "selectable": false,
- "href": "javascript:void(0);",
- "icon": "fa-lg fa-fw fa fa-book"
}
-
];
function loadSettingsTree() {
diff --git a/client/htmls/private/js/dev/awsProduction.js b/client/htmls/private/js/dev/awsProduction.js
index a51c7ef4a..7fee0e0eb 100644
--- a/client/htmls/private/js/dev/awsProduction.js
+++ b/client/htmls/private/js/dev/awsProduction.js
@@ -995,18 +995,6 @@ $(document).ready(function() {
$.get('/d4dMasters/readmasterjsonnew/16', function(data) {
data = JSON.parse(data);
- data.push({
- _id: "54bde11187f86fa0130c7563",
- templatetypename: "Composite",
- designtemplateicon_filename: "Docker.png",
- rowid: "b02de7dd-6101-4f0e-a95e-68d74cec86c0",
- id: "16",
- __v: 0,
- active: true,
- templatetype: "composite",
- orgname_rowid: ["46d1da9a-d927-41dc-8e9e-7e926d927537"],
- orgname: ["Phoenix"]
- });
var rowLength = data.length;
var containerTemp = "";
var selectedrow = false;
@@ -1054,7 +1042,7 @@ $(document).ready(function() {
getDesignTypeImg = '/d4dMasters/image/4fdda07b-c1bd-4bad-b1f4-aca3a3d7ebd9__designtemplateicon__Cloudformation.png';
break;
case "composite":
- getDesignTypeImg = 'img/composite.png';
+ getDesignTypeImg = '/d4dMasters/image/ba52a37d-c1e4-47bd-9391-327a95008a61__designtemplateicon__composite.png';
break;
}
getDesignTypeRowID = data[i]['rowid'];
diff --git a/client/htmls/private/js/settingscommon.js b/client/htmls/private/js/settingscommon.js
index accf746e2..f930a4106 100755
--- a/client/htmls/private/js/settingscommon.js
+++ b/client/htmls/private/js/settingscommon.js
@@ -626,6 +626,9 @@ function CreateTableFromJson(formID, idFieldName, createFileName) {
case "CloudFormation":
imgpath = '/d4dMasters/image/4fdda07b-c1bd-4bad-b1f4-aca3a3d7ebd9__designtemplateicon__Cloudformation.png';
break;
+ case "Composite":
+ imgpath = '/d4dMasters/image/ba52a37d-c1e4-47bd-9391-327a95008a61__designtemplateicon__composite.png';
+ break;
}
}
} else {
@@ -652,6 +655,9 @@ function CreateTableFromJson(formID, idFieldName, createFileName) {
case "CloudFormation":
imgpath = '/d4dMasters/image/4fdda07b-c1bd-4bad-b1f4-aca3a3d7ebd9__designtemplateicon__Cloudformation.png';
break;
+ case "Composite":
+ imgpath = '/d4dMasters/image/ba52a37d-c1e4-47bd-9391-327a95008a61__designtemplateicon__composite.png';
+ break;
}
}
imageTD.html('');
@@ -1277,8 +1283,7 @@ function readform(formID) {
$.each(tempJSON, function(i, item) {
_rowid = item['rowid'];
$.each(item, function(k, v) { //columns
- //console.log('1 k:' + k + ' 1 v :' + JSON.stringify(v));
- if (k == curSelect.attr("id") && curSelect.attr("ignoreoption") != v) {
+ if (k == curSelect.attr("id") && curSelect.attr("ignoreoption") != v && curSelect.attr("ignoreComposite") != v) {
curSelect.append('');
}
});
diff --git a/seed/mongodump/devops_new/d4dmastersnew.bson b/seed/mongodump/devops_new/d4dmastersnew.bson
index 30dd92ec2..e8ca9e56d 100644
Binary files a/seed/mongodump/devops_new/d4dmastersnew.bson and b/seed/mongodump/devops_new/d4dmastersnew.bson differ
diff --git a/server/app/routes/v1.0/routes_d4dMasters.js b/server/app/routes/v1.0/routes_d4dMasters.js
index f4a2f1dee..3d56b1bfc 100755
--- a/server/app/routes/v1.0/routes_d4dMasters.js
+++ b/server/app/routes/v1.0/routes_d4dMasters.js
@@ -2351,7 +2351,7 @@ module.exports.setRoutes = function(app, sessionVerification) {
res.status(500).send("Failed to save Org.");
return;
}
- for (var x1 = 0; x1 < 5; x1++) {
+ for (var x1 = 0; x1 < 6; x1++) {
(function(x1) {
var templatetypename;
var designtemplateicon_filename;
@@ -2373,10 +2373,14 @@ module.exports.setRoutes = function(app, sessionVerification) {
templatetypename = "ARMTemplate";
designtemplateicon_filename = "CloudFormation.png";
templatetype = "arm";
- } else {
+ } else if(x1 === 4) {
templatetypename = "Docker";
designtemplateicon_filename = "Docker.png";
templatetype = "docker";
+ } else {
+ templatetypename = "Composite";
+ designtemplateicon_filename = "composite.png";
+ templatetype = "composite";
}
var templateTypeData = {