aboutsummaryrefslogtreecommitdiffstats
path: root/ui/imports/api
diff options
context:
space:
mode:
authorKoren Lev <korenlev@gmail.com>2017-08-06 11:41:38 +0300
committerKoren Lev <korenlev@gmail.com>2017-08-06 11:41:38 +0300
commit98ccf39560e0f643ddf9a766e33b420b96dffac6 (patch)
treeb52e3e8c205ffce5cde86f182a230908eb6873e9 /ui/imports/api
parentb429b22ad4000e1f3ed37e30d3a36697c6e8c2da (diff)
latest ui code fixes merged in opnfv repo
Change-Id: Ib6d7f81e4a85286b7b30d332c757f7eb1bb519f3 Signed-off-by: Koren Lev <korenlev@gmail.com>
Diffstat (limited to 'ui/imports/api')
-rw-r--r--ui/imports/api/environments/configuration-groups/amqp-configuration.js2
-rw-r--r--ui/imports/api/environments/configuration-groups/mysql-configuration.js2
-rw-r--r--ui/imports/api/scheduled-scans/methods.js8
-rw-r--r--ui/imports/api/scheduled-scans/scheduled-scans.js8
-rw-r--r--ui/imports/api/scheduled-scans/server/methods.js8
-rw-r--r--ui/imports/api/scheduled-scans/server/publications.js8
6 files changed, 2 insertions, 34 deletions
diff --git a/ui/imports/api/environments/configuration-groups/amqp-configuration.js b/ui/imports/api/environments/configuration-groups/amqp-configuration.js
index 83a15cf..7b7ddaf 100644
--- a/ui/imports/api/environments/configuration-groups/amqp-configuration.js
+++ b/ui/imports/api/environments/configuration-groups/amqp-configuration.js
@@ -25,5 +25,5 @@ export const AMQPSchema = new SimpleSchema({
type: String,
defaultValue: 'rabbitmquser'
},
- password: { type: String },
+ pwd: { type: String },
});
diff --git a/ui/imports/api/environments/configuration-groups/mysql-configuration.js b/ui/imports/api/environments/configuration-groups/mysql-configuration.js
index 1921432..97eab29 100644
--- a/ui/imports/api/environments/configuration-groups/mysql-configuration.js
+++ b/ui/imports/api/environments/configuration-groups/mysql-configuration.js
@@ -19,7 +19,7 @@ export const MysqlSchema = new SimpleSchema({
regEx: SimpleSchema.RegEx.IP,
defaultValue: '10.0.0.1'
},
- password: { type: String },
+ pwd: { type: String },
port: {
type: String,
regEx: portRegEx,
diff --git a/ui/imports/api/scheduled-scans/methods.js b/ui/imports/api/scheduled-scans/methods.js
index 22f8110..06cdea7 100644
--- a/ui/imports/api/scheduled-scans/methods.js
+++ b/ui/imports/api/scheduled-scans/methods.js
@@ -1,11 +1,3 @@
-/////////////////////////////////////////////////////////////////////////////////////////
-// Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others /
-// /
-// All rights reserved. This program and the accompanying materials /
-// are made available under the terms of the Apache License, Version 2.0 /
-// which accompanies this distribution, and is available at /
-// http://www.apache.org/licenses/LICENSE-2.0 /
-/////////////////////////////////////////////////////////////////////////////////////////
import { ValidatedMethod } from 'meteor/mdg:validated-method';
import * as R from 'ramda';
diff --git a/ui/imports/api/scheduled-scans/scheduled-scans.js b/ui/imports/api/scheduled-scans/scheduled-scans.js
index 66ae5d1..54d4565 100644
--- a/ui/imports/api/scheduled-scans/scheduled-scans.js
+++ b/ui/imports/api/scheduled-scans/scheduled-scans.js
@@ -1,11 +1,3 @@
-/////////////////////////////////////////////////////////////////////////////////////////
-// Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others /
-// /
-// All rights reserved. This program and the accompanying materials /
-// are made available under the terms of the Apache License, Version 2.0 /
-// which accompanies this distribution, and is available at /
-// http://www.apache.org/licenses/LICENSE-2.0 /
-/////////////////////////////////////////////////////////////////////////////////////////
import { Mongo } from 'meteor/mongo';
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
import { Constants } from '/imports/api/constants/constants';
diff --git a/ui/imports/api/scheduled-scans/server/methods.js b/ui/imports/api/scheduled-scans/server/methods.js
index 17ed990..4a6c508 100644
--- a/ui/imports/api/scheduled-scans/server/methods.js
+++ b/ui/imports/api/scheduled-scans/server/methods.js
@@ -1,11 +1,3 @@
-/////////////////////////////////////////////////////////////////////////////////////////
-// Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others /
-// /
-// All rights reserved. This program and the accompanying materials /
-// are made available under the terms of the Apache License, Version 2.0 /
-// which accompanies this distribution, and is available at /
-// http://www.apache.org/licenses/LICENSE-2.0 /
-/////////////////////////////////////////////////////////////////////////////////////////
import { check } from 'meteor/check';
import * as R from 'ramda';
import { ScheduledScans } from '../scheduled-scans';
diff --git a/ui/imports/api/scheduled-scans/server/publications.js b/ui/imports/api/scheduled-scans/server/publications.js
index 97acc21..9359c20 100644
--- a/ui/imports/api/scheduled-scans/server/publications.js
+++ b/ui/imports/api/scheduled-scans/server/publications.js
@@ -1,11 +1,3 @@
-/////////////////////////////////////////////////////////////////////////////////////////
-// Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others /
-// /
-// All rights reserved. This program and the accompanying materials /
-// are made available under the terms of the Apache License, Version 2.0 /
-// which accompanies this distribution, and is available at /
-// http://www.apache.org/licenses/LICENSE-2.0 /
-/////////////////////////////////////////////////////////////////////////////////////////
import { Meteor } from 'meteor/meteor';
import * as R from 'ramda';
import { Counts } from 'meteor/tmeasday:publish-counts';