Skip to content

Commit dbf5961

Browse files
author
Kaushik Mukherjee
authored
Merge pull request #817 from VIJAYKUMARNINGANURE/vijayDev
Implementation of Blueprint service delivery
2 parents 56ec80c + 851ba74 commit dbf5961

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

server/app/model/blueprint/blueprint.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ var BlueprintSchema = new Schema({
155155
type:Boolean,
156156
required:false,
157157
default:false
158+
},
159+
shortDesc: {
160+
type: String
161+
},
162+
botType: {
163+
type: String
158164
}
159165

160166
});
@@ -434,7 +440,9 @@ BlueprintSchema.statics.createNew = function(blueprintData, callback) {
434440
docker: blueprintData.docker,
435441
version: count,
436442
parentId: blueprintData.id,
437-
domainNameCheck: blueprintData.domainNameCheck
443+
domainNameCheck: blueprintData.domainNameCheck,
444+
shortDesc:blueprintData.shortDesc,
445+
botType:blueprintData.botType
438446
};
439447
var blueprint = new Blueprints(blueprintObj);
440448
logger.debug(blueprint);

server/app/routes/v1.0/routes_organizations.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,8 @@ module.exports.setRoutes = function(app, sessionVerification) {
679679
var docker = req.body.blueprintData.docker;
680680
var region = req.body.blueprintData.region;
681681
var blueprintId = req.body.blueprintData.blueprintId;
682+
var shortDesc = req.body.blueprintData.shortDesc;
683+
var botType = req.body.blueprintData.botType;
682684
if(req.body.blueprintData.domainNameCheck === 'true'){
683685
domainNameCheck = true;
684686
}
@@ -725,6 +727,8 @@ module.exports.setRoutes = function(app, sessionVerification) {
725727
blueprintType: blueprintType,
726728
nexus: nexus,
727729
docker: docker,
730+
shortDesc:shortDesc,
731+
botType:botType,
728732
domainNameCheck:domainNameCheck
729733
};
730734
//adding bluerpintID if present (edit mode)

0 commit comments

Comments
 (0)