提交 e223c342 authored 作者: xmlviking's avatar xmlviking

adding support for the scheduler services, adding gitignore file

Signed-off-by: 's avatarxmlviking <ecotter@gmail.com>
上级 f4cdf4d1
.idea/
vendor
.project
.vscode/
\ No newline at end of file
//###############################################################################
//# Copyright 2016-2017 Dell Inc.
//# Copyright 2016-2019 Dell Inc.
//#
//# Licensed under the Apache License, Version 2.0 (the "License");
//# you may not use this file except in compliance with the License.
......@@ -105,6 +105,18 @@ db.createCollection("subscription");
db.notification.createIndex({slug: 1}, {unique: true});
db.subscription.createIndex({slug: 1}, {unique: true});
db=db.getSiblingDB('scheduler')
db.createUser({ user: "scheduler",
pwd: "password",
roles: [
{ role: "readWrite", db: "scheduler" }
]
});
db.createCollection("interval");
db.createCollection("intervalAction");
db.interval.createIndex({slug: 1}, {unique: true});
db.intervalAction.createIndex({slug: 1}, {unique: true});
db=db.getSiblingDB('logging')
db.createUser({ user: "logging",
pwd: "password",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册