update_servicegateway_3.0.2.js
783 Bytes
use SERVICEGATEWAY
db.auth("mongoapp", "mOng0@pp")
db.createCollection("admin_user", {})
db.admin_user.insert( {
"username" : "admin",
"password" : "Nr2pY6IAf4kaNULZGFxLYg=="
} )
db.createCollection('external_apis_config_publish', {})
db.createCollection('external_apis_config_temp', {})
db.createCollection('external_apis_type', {})
db.external_apis_type.insert( {
"_id" : 1,
"labelName" : "Static - Dropdown",
"value" : "staticdropdown",
"active" : true
} )
db.external_apis_type.insert( {
"_id" : 2,
"labelName" : "Web Service - Dropdown",
"value" : "webservicedropdown",
"active" : true
} )
db.external_apis_type.insert( {
"_id" : 3,
"labelName" : "Web Service - APIs",
"value" : "webserviceapis",
"active" : true
} )