summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock/fake
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-08-30 15:25:26 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-08-30 15:31:47 +0800
commit2bc671f0b8f5c8559ad67fa9b5fb398cd649ec2b (patch)
tree1fb5eb0f2da42f1098d10726913f701930c3f2d9 /usecaseui-portal/src/app/mock/fake
parente4b51383fc0ca026d4268d28f59b9032c8d8f789 (diff)
docs: add copyright info into mock files
Change-Id: I520ab6608343345b8e81ad4bf2b26ac326b7c714 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock/fake')
-rw-r--r--usecaseui-portal/src/app/mock/fake/fakedata.js16
-rw-r--r--usecaseui-portal/src/app/mock/fake/mock.js16
2 files changed, 32 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/mock/fake/fakedata.js b/usecaseui-portal/src/app/mock/fake/fakedata.js
index 3fc3a588..adc1876b 100644
--- a/usecaseui-portal/src/app/mock/fake/fakedata.js
+++ b/usecaseui-portal/src/app/mock/fake/fakedata.js
@@ -1,3 +1,19 @@
+/*
+ Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
const faker = require("faker");
const _ = require("lodash");
faker.locale = "en";
diff --git a/usecaseui-portal/src/app/mock/fake/mock.js b/usecaseui-portal/src/app/mock/fake/mock.js
index 74b9fc9f..e30215e3 100644
--- a/usecaseui-portal/src/app/mock/fake/mock.js
+++ b/usecaseui-portal/src/app/mock/fake/mock.js
@@ -1,3 +1,19 @@
+/*
+ Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
const fakeData = require('./fakedata.js');
module.exports = {
//Mock json