UNPKG

@daedalus/wso2

Version:

This is a set of tools to help connect and manage interactions with various WSO2 products. Please see README.MD for more details.

17 lines (13 loc) 531 B
const mongoose = require("mongoose"); var Schema = mongoose.Schema; var ObjectId = Schema.ObjectId; const DeploymentSchema = new Schema({ id: { type: String, required: true }, name: { type: String, required: true }, deploymentTime: { type: Date, required: true }, category: { type: String, required: true }, url: { type: String, required: true }, tenantId: { type: String, required: true } }); const Deployment = mongoose.model("WSO2_BPS_Deployments", DeploymentSchema); module.exports = Deployment;