summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/META-INF/resources/designer/images/Collectors.pngbin0 -> 339 bytes
-rw-r--r--src/main/resources/META-INF/resources/designer/invalid_login.html45
-rw-r--r--src/main/resources/META-INF/resources/designer/lib/angular-md5.js208
-rw-r--r--src/main/resources/META-INF/resources/designer/logout.html40
-rw-r--r--src/main/resources/META-INF/resources/designer/menu_simplified.html54
-rw-r--r--src/main/resources/META-INF/resources/designer/partials/portfolios/extra_user_info.html49
-rw-r--r--src/main/resources/META-INF/resources/designer/please_wait.html28
-rw-r--r--src/main/resources/META-INF/resources/designer/scripts/ExtraUserInfoCtrl.js37
-rw-r--r--src/main/resources/META-INF/resources/designer/scripts/ExtraUserInfoService.js41
-rw-r--r--src/main/resources/policyLogger.properties47
10 files changed, 549 insertions, 0 deletions
diff --git a/src/main/resources/META-INF/resources/designer/images/Collectors.png b/src/main/resources/META-INF/resources/designer/images/Collectors.png
new file mode 100644
index 000000000..8b3cc1eec
--- /dev/null
+++ b/src/main/resources/META-INF/resources/designer/images/Collectors.png
Binary files differ
diff --git a/src/main/resources/META-INF/resources/designer/invalid_login.html b/src/main/resources/META-INF/resources/designer/invalid_login.html
new file mode 100644
index 000000000..067452e66
--- /dev/null
+++ b/src/main/resources/META-INF/resources/designer/invalid_login.html
@@ -0,0 +1,45 @@
+<!--
+ ============LICENSE_START=======================================================
+ ONAP CLAMP
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. 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.
+ ============LICENSE_END============================================
+ ===================================================================
+ ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ -->
+<style>
+.divRow {
+ margin-left: 5px;
+ font-size: 13px;
+ font-weight: normal;
+ margin-top:10px;
+}
+</style>
+
+<head>
+ <title>CLDS</title>
+</head>
+<div>
+ <div class="divRow"><b>Login Failed!</b></div>
+ <div class="divRow"><b>Please make sure your login and password are correct.
+ If you don't have the login credential, please contact CLAMP administrator.</b></div>
+
+ <div class="divRow">To login again, please click <a href="/designer/index.html"/>Login</a></div>
+</div>
+
+
+
+
diff --git a/src/main/resources/META-INF/resources/designer/lib/angular-md5.js b/src/main/resources/META-INF/resources/designer/lib/angular-md5.js
new file mode 100644
index 000000000..7896bb429
--- /dev/null
+++ b/src/main/resources/META-INF/resources/designer/lib/angular-md5.js
@@ -0,0 +1,208 @@
+/*
+ angular-md5 - v0.1.8
+ 2015-11-17
+*/
+
+/* commonjs package manager support (eg componentjs) */
+if (typeof module !== "undefined" && typeof exports !== "undefined" && module.exports === exports) {
+ module.exports = "angular-md5";
+}
+(function(angular) {
+ angular.module("angular-md5", [ "gdi2290.md5" ]);
+ angular.module("ngMd5", [ "gdi2290.md5" ]);
+ angular.module("gdi2290.md5", [ "gdi2290.gravatar-filter", "gdi2290.md5-service", "gdi2290.md5-filter" ]);
+ "use strict";
+ angular.module("gdi2290.gravatar-filter", []).filter("gravatar", [ "md5", function(md5) {
+ var cache = {};
+ return function(text, defaultText) {
+ if (!cache[text]) {
+ defaultText = defaultText ? md5.createHash(defaultText.toString().toLowerCase()) : "";
+ cache[text] = text ? md5.createHash(text.toString().toLowerCase()) : defaultText;
+ }
+ return cache[text];
+ };
+ } ]);
+ "use strict";
+ angular.module("gdi2290.md5-filter", []).filter("md5", [ "md5", function(md5) {
+ return function(text) {
+ return text ? md5.createHash(text.toString().toLowerCase()) : text;
+ };
+ } ]);
+ "use strict";
+ angular.module("gdi2290.md5-service", []).factory("md5", [ function() {
+ var md5 = {
+ createHash: function(str) {
+ if (null === str) {
+ return null;
+ }
+ var xl;
+ var rotateLeft = function(lValue, iShiftBits) {
+ return lValue << iShiftBits | lValue >>> 32 - iShiftBits;
+ };
+ var addUnsigned = function(lX, lY) {
+ var lX4, lY4, lX8, lY8, lResult;
+ lX8 = lX & 2147483648;
+ lY8 = lY & 2147483648;
+ lX4 = lX & 1073741824;
+ lY4 = lY & 1073741824;
+ lResult = (lX & 1073741823) + (lY & 1073741823);
+ if (lX4 & lY4) {
+ return lResult ^ 2147483648 ^ lX8 ^ lY8;
+ }
+ if (lX4 | lY4) {
+ if (lResult & 1073741824) {
+ return lResult ^ 3221225472 ^ lX8 ^ lY8;
+ } else {
+ return lResult ^ 1073741824 ^ lX8 ^ lY8;
+ }
+ } else {
+ return lResult ^ lX8 ^ lY8;
+ }
+ };
+ var _F = function(x, y, z) {
+ return x & y | ~x & z;
+ };
+ var _G = function(x, y, z) {
+ return x & z | y & ~z;
+ };
+ var _H = function(x, y, z) {
+ return x ^ y ^ z;
+ };
+ var _I = function(x, y, z) {
+ return y ^ (x | ~z);
+ };
+ var _FF = function(a, b, c, d, x, s, ac) {
+ a = addUnsigned(a, addUnsigned(addUnsigned(_F(b, c, d), x), ac));
+ return addUnsigned(rotateLeft(a, s), b);
+ };
+ var _GG = function(a, b, c, d, x, s, ac) {
+ a = addUnsigned(a, addUnsigned(addUnsigned(_G(b, c, d), x), ac));
+ return addUnsigned(rotateLeft(a, s), b);
+ };
+ var _HH = function(a, b, c, d, x, s, ac) {
+ a = addUnsigned(a, addUnsigned(addUnsigned(_H(b, c, d), x), ac));
+ return addUnsigned(rotateLeft(a, s), b);
+ };
+ var _II = function(a, b, c, d, x, s, ac) {
+ a = addUnsigned(a, addUnsigned(addUnsigned(_I(b, c, d), x), ac));
+ return addUnsigned(rotateLeft(a, s), b);
+ };
+ var convertToWordArray = function(str) {
+ var lWordCount;
+ var lMessageLength = str.length;
+ var lNumberOfWords_temp1 = lMessageLength + 8;
+ var lNumberOfWords_temp2 = (lNumberOfWords_temp1 - lNumberOfWords_temp1 % 64) / 64;
+ var lNumberOfWords = (lNumberOfWords_temp2 + 1) * 16;
+ var lWordArray = new Array(lNumberOfWords - 1);
+ var lBytePosition = 0;
+ var lByteCount = 0;
+ while (lByteCount < lMessageLength) {
+ lWordCount = (lByteCount - lByteCount % 4) / 4;
+ lBytePosition = lByteCount % 4 * 8;
+ lWordArray[lWordCount] = lWordArray[lWordCount] | str.charCodeAt(lByteCount) << lBytePosition;
+ lByteCount++;
+ }
+ lWordCount = (lByteCount - lByteCount % 4) / 4;
+ lBytePosition = lByteCount % 4 * 8;
+ lWordArray[lWordCount] = lWordArray[lWordCount] | 128 << lBytePosition;
+ lWordArray[lNumberOfWords - 2] = lMessageLength << 3;
+ lWordArray[lNumberOfWords - 1] = lMessageLength >>> 29;
+ return lWordArray;
+ };
+ var wordToHex = function(lValue) {
+ var wordToHexValue = "", wordToHexValue_temp = "", lByte, lCount;
+ for (lCount = 0; lCount <= 3; lCount++) {
+ lByte = lValue >>> lCount * 8 & 255;
+ wordToHexValue_temp = "0" + lByte.toString(16);
+ wordToHexValue = wordToHexValue + wordToHexValue_temp.substr(wordToHexValue_temp.length - 2, 2);
+ }
+ return wordToHexValue;
+ };
+ var x = [], k, AA, BB, CC, DD, a, b, c, d, S11 = 7, S12 = 12, S13 = 17, S14 = 22, S21 = 5, S22 = 9, S23 = 14, S24 = 20, S31 = 4, S32 = 11, S33 = 16, S34 = 23, S41 = 6, S42 = 10, S43 = 15, S44 = 21;
+ x = convertToWordArray(str);
+ a = 1732584193;
+ b = 4023233417;
+ c = 2562383102;
+ d = 271733878;
+ xl = x.length;
+ for (k = 0; k < xl; k += 16) {
+ AA = a;
+ BB = b;
+ CC = c;
+ DD = d;
+ a = _FF(a, b, c, d, x[k + 0], S11, 3614090360);
+ d = _FF(d, a, b, c, x[k + 1], S12, 3905402710);
+ c = _FF(c, d, a, b, x[k + 2], S13, 606105819);
+ b = _FF(b, c, d, a, x[k + 3], S14, 3250441966);
+ a = _FF(a, b, c, d, x[k + 4], S11, 4118548399);
+ d = _FF(d, a, b, c, x[k + 5], S12, 1200080426);
+ c = _FF(c, d, a, b, x[k + 6], S13, 2821735955);
+ b = _FF(b, c, d, a, x[k + 7], S14, 4249261313);
+ a = _FF(a, b, c, d, x[k + 8], S11, 1770035416);
+ d = _FF(d, a, b, c, x[k + 9], S12, 2336552879);
+ c = _FF(c, d, a, b, x[k + 10], S13, 4294925233);
+ b = _FF(b, c, d, a, x[k + 11], S14, 2304563134);
+ a = _FF(a, b, c, d, x[k + 12], S11, 1804603682);
+ d = _FF(d, a, b, c, x[k + 13], S12, 4254626195);
+ c = _FF(c, d, a, b, x[k + 14], S13, 2792965006);
+ b = _FF(b, c, d, a, x[k + 15], S14, 1236535329);
+ a = _GG(a, b, c, d, x[k + 1], S21, 4129170786);
+ d = _GG(d, a, b, c, x[k + 6], S22, 3225465664);
+ c = _GG(c, d, a, b, x[k + 11], S23, 643717713);
+ b = _GG(b, c, d, a, x[k + 0], S24, 3921069994);
+ a = _GG(a, b, c, d, x[k + 5], S21, 3593408605);
+ d = _GG(d, a, b, c, x[k + 10], S22, 38016083);
+ c = _GG(c, d, a, b, x[k + 15], S23, 3634488961);
+ b = _GG(b, c, d, a, x[k + 4], S24, 3889429448);
+ a = _GG(a, b, c, d, x[k + 9], S21, 568446438);
+ d = _GG(d, a, b, c, x[k + 14], S22, 3275163606);
+ c = _GG(c, d, a, b, x[k + 3], S23, 4107603335);
+ b = _GG(b, c, d, a, x[k + 8], S24, 1163531501);
+ a = _GG(a, b, c, d, x[k + 13], S21, 2850285829);
+ d = _GG(d, a, b, c, x[k + 2], S22, 4243563512);
+ c = _GG(c, d, a, b, x[k + 7], S23, 1735328473);
+ b = _GG(b, c, d, a, x[k + 12], S24, 2368359562);
+ a = _HH(a, b, c, d, x[k + 5], S31, 4294588738);
+ d = _HH(d, a, b, c, x[k + 8], S32, 2272392833);
+ c = _HH(c, d, a, b, x[k + 11], S33, 1839030562);
+ b = _HH(b, c, d, a, x[k + 14], S34, 4259657740);
+ a = _HH(a, b, c, d, x[k + 1], S31, 2763975236);
+ d = _HH(d, a, b, c, x[k + 4], S32, 1272893353);
+ c = _HH(c, d, a, b, x[k + 7], S33, 4139469664);
+ b = _HH(b, c, d, a, x[k + 10], S34, 3200236656);
+ a = _HH(a, b, c, d, x[k + 13], S31, 681279174);
+ d = _HH(d, a, b, c, x[k + 0], S32, 3936430074);
+ c = _HH(c, d, a, b, x[k + 3], S33, 3572445317);
+ b = _HH(b, c, d, a, x[k + 6], S34, 76029189);
+ a = _HH(a, b, c, d, x[k + 9], S31, 3654602809);
+ d = _HH(d, a, b, c, x[k + 12], S32, 3873151461);
+ c = _HH(c, d, a, b, x[k + 15], S33, 530742520);
+ b = _HH(b, c, d, a, x[k + 2], S34, 3299628645);
+ a = _II(a, b, c, d, x[k + 0], S41, 4096336452);
+ d = _II(d, a, b, c, x[k + 7], S42, 1126891415);
+ c = _II(c, d, a, b, x[k + 14], S43, 2878612391);
+ b = _II(b, c, d, a, x[k + 5], S44, 4237533241);
+ a = _II(a, b, c, d, x[k + 12], S41, 1700485571);
+ d = _II(d, a, b, c, x[k + 3], S42, 2399980690);
+ c = _II(c, d, a, b, x[k + 10], S43, 4293915773);
+ b = _II(b, c, d, a, x[k + 1], S44, 2240044497);
+ a = _II(a, b, c, d, x[k + 8], S41, 1873313359);
+ d = _II(d, a, b, c, x[k + 15], S42, 4264355552);
+ c = _II(c, d, a, b, x[k + 6], S43, 2734768916);
+ b = _II(b, c, d, a, x[k + 13], S44, 1309151649);
+ a = _II(a, b, c, d, x[k + 4], S41, 4149444226);
+ d = _II(d, a, b, c, x[k + 11], S42, 3174756917);
+ c = _II(c, d, a, b, x[k + 2], S43, 718787259);
+ b = _II(b, c, d, a, x[k + 9], S44, 3951481745);
+ a = addUnsigned(a, AA);
+ b = addUnsigned(b, BB);
+ c = addUnsigned(c, CC);
+ d = addUnsigned(d, DD);
+ }
+ var temp = wordToHex(a) + wordToHex(b) + wordToHex(c) + wordToHex(d);
+ return temp.toLowerCase();
+ }
+ };
+ return md5;
+ } ]);
+})(angular); \ No newline at end of file
diff --git a/src/main/resources/META-INF/resources/designer/logout.html b/src/main/resources/META-INF/resources/designer/logout.html
new file mode 100644
index 000000000..fa1df329d
--- /dev/null
+++ b/src/main/resources/META-INF/resources/designer/logout.html
@@ -0,0 +1,40 @@
+<!--
+ ============LICENSE_START=======================================================
+ ONAP CLAMP
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. 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.
+ ============LICENSE_END============================================
+ ===================================================================
+ ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ -->
+<style>
+.divRow {
+ margin-left: 5px;
+ font-size: 13px;
+ font-weight: normal;
+ margin-top:10px;
+}
+</style>
+
+<head>
+ <title>CLDS</title>
+</head>
+<div ng-controller="AuthenticateCtrl" ng-init="logout()">
+ <div id='main'>
+ <div class="divRow"><b>You have been Logged Out successfully!</b></div>
+ <div class="divRow">To login again, please click <a href="/designer/index.html"/>Login</a></div>
+ </div>
+</div>
diff --git a/src/main/resources/META-INF/resources/designer/menu_simplified.html b/src/main/resources/META-INF/resources/designer/menu_simplified.html
new file mode 100644
index 000000000..0bee16015
--- /dev/null
+++ b/src/main/resources/META-INF/resources/designer/menu_simplified.html
@@ -0,0 +1,54 @@
+<!--
+ ============LICENSE_START=======================================================
+ ONAP CLAMP
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. 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.
+ ============LICENSE_END============================================
+ ===================================================================
+ ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ -->
+
+<style>
+.navbar-custom {
+ background-color: #229922;
+ color: #ffffff;
+ border-radius: 0;
+}
+
+.logo {
+ font-family: 'Trebuchet MS', cursive;
+ font-size: 20px;
+ font-weight: 500;
+ text-align: center;
+}
+</style>
+
+<nav attribute-test="menu" class="navbar navbar-default navbar-fixed-top" role="navigation"
+ style="margin-left: 2px; margin-right: 2px;">
+
+ <div attribute-test="menuc" class="container-fluid">
+
+ <div class="col-md-4 col-lg-4">
+ <img class="onap_logo" src="images/logo_onap_2017.png" height="50px"
+ width="234px" style="display: inline-block; float: left">
+ <div class="navbar-brand logo" ng-href=""
+ style="display: inline-block; float: left">
+ &nbsp;&nbsp;<b>Closed Loop Definition</b>
+ </div>
+ </div>
+
+ </div>
+</nav>
diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/extra_user_info.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/extra_user_info.html
new file mode 100644
index 000000000..7fc043165
--- /dev/null
+++ b/src/main/resources/META-INF/resources/designer/partials/portfolios/extra_user_info.html
@@ -0,0 +1,49 @@
+<!--
+ ============LICENSE_START=======================================================
+ ONAP CLAMP
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. 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.
+ ============LICENSE_END============================================
+ ===================================================================
+ ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ -->
+
+<div attribute-test="extrauserinfo" id="configure-widgets">
+ <div attribute-test="extrauserinfoh" class="modal-header">
+ <button type="button" class="close" ng-click="close(false)" aria-hidden="true" style="margin-top: -3px">&times;</button>
+ <h4>User Info</h4>
+ </div>
+ <div attribute-test="extrauserinfot" class="modal-body" style="text-align:center;">
+ <div>
+ <b style="font-size:14px;">Current User</b>: {{userInfo["userName"]}}
+ </div>
+ <div>
+ <b style="font-size:14px;">CLDS Version</b>: {{userInfo["cldsVersion"]}}
+ </div>
+ <br>
+ <div>
+ <b style="font-size:14px;">User Permissions:</b>
+ <div ng-if="userInfo['permissionReadTemplate']">Read Template</div>
+ <div ng-if="userInfo['permissionUpdateTemplate']">Edit Template</div>
+ <div ng-if="userInfo['permissionReadCl']">Read Model</div>
+ <div ng-if="userInfo['permissionUpdateCl']">Edit Model</div>
+ </div>
+ </div>
+ <div attribute-test="extrauserinfof" class="modal-footer">
+ <!-- <button ng-click="Ok()" class="btn btn-primary">Save Changes</button> -->
+ <button ng-click="close(true)" class="btn btn-primary">Close</button>
+ </div>
+</div> \ No newline at end of file
diff --git a/src/main/resources/META-INF/resources/designer/please_wait.html b/src/main/resources/META-INF/resources/designer/please_wait.html
new file mode 100644
index 000000000..8068e4cf5
--- /dev/null
+++ b/src/main/resources/META-INF/resources/designer/please_wait.html
@@ -0,0 +1,28 @@
+<!--
+ ============LICENSE_START=======================================================
+ ONAP CLAMP
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. 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.
+ ============LICENSE_END============================================
+ ===================================================================
+ ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ -->
+
+
+<div attribute-test="pleasewait">
+ <h1>Please Wait.....{{urlparam}}</h1>
+
+</div>
diff --git a/src/main/resources/META-INF/resources/designer/scripts/ExtraUserInfoCtrl.js b/src/main/resources/META-INF/resources/designer/scripts/ExtraUserInfoCtrl.js
new file mode 100644
index 000000000..f269b4134
--- /dev/null
+++ b/src/main/resources/META-INF/resources/designer/scripts/ExtraUserInfoCtrl.js
@@ -0,0 +1,37 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP CLAMP
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. 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.
+ * ============LICENSE_END============================================
+ * ===================================================================
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+
+app.controller('ExtraUserInfoCtrl',
+ ['$scope', '$rootScope', '$modalInstance','extraUserInfoService', '$location', 'dialogs',
+ function($scope, $rootScope, $modalInstance, extraUserInfoService, $location, dialogs) {
+ //console.log("///////////ExtraUserInfoCtrl");
+
+ extraUserInfoService.getUserInfo().then(function(pars){
+ $scope.userInfo = pars;
+ });
+
+ $scope.close = function() {
+ $modalInstance.close("closed");
+ };
+ }
+]); \ No newline at end of file
diff --git a/src/main/resources/META-INF/resources/designer/scripts/ExtraUserInfoService.js b/src/main/resources/META-INF/resources/designer/scripts/ExtraUserInfoService.js
new file mode 100644
index 000000000..25dc37bd8
--- /dev/null
+++ b/src/main/resources/META-INF/resources/designer/scripts/ExtraUserInfoService.js
@@ -0,0 +1,41 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP CLAMP
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. 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.
+ * ============LICENSE_END============================================
+ * ===================================================================
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+app.service('extraUserInfoService', ['$http', '$q', function($http, $q){
+ //console.log("///////////extraUserInfoService");
+
+ this.getUserInfo = function(){
+ var def = $q.defer();
+
+ var svcUrl = "/restservices/clds/v1/clds/cldsInfo";
+
+ $http.get(svcUrl)
+ .success(function(data){
+ def.resolve(data);
+ })
+ .error(function(data){
+ def.reject("Retrieving User Info unsuccessful");
+ });
+
+ return def.promise;
+ };
+}]); \ No newline at end of file
diff --git a/src/main/resources/policyLogger.properties b/src/main/resources/policyLogger.properties
new file mode 100644
index 000000000..2f1358bd3
--- /dev/null
+++ b/src/main/resources/policyLogger.properties
@@ -0,0 +1,47 @@
+###
+# ============LICENSE_START=======================================================
+# ONAP CLAMP
+# ================================================================================
+# Copyright (C) 2017 AT&T Intellectual Property. 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.
+# ============LICENSE_END============================================
+# ===================================================================
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+###
+
+################################### Set concurrentHashMap and timer info #######################
+#Timer initial delay and the delay between in milliseconds before task is to be execute.
+timer.delay.time=1000
+#Timer scheduleAtFixedRate period - time in milliseconds between successive task executions.
+check.interval= 30000
+#Longest time an event info can be stored in the concurrentHashMap for logging - in seconds.
+event.expired.time=86400
+#Size of the concurrentHashMap which stores the event starting time, etc - when its size reaches this limit, the Timer gets executed
+#to remove all expired records from this concurrentHashMap.
+concurrentHashMap.limit=5000
+#Size of the concurrentHashMap - when its size drops to this point, stop the Timer
+stop.check.point=2500
+################################### Set logging format #############################################
+# set EELF for EELF logging format, set LOG4J for using log4j, set SYSTEMOUT for using system.out.println
+logger.type=EELF
+#################################### Set level for EELF or SYSTEMOUT logging ##################################
+# Set level for debug file. Set DEBUG to enable .info, .warn and .debug; set INFO for enable .info and .warn; set OFF to disable all
+debugLogger.level=INFO
+# Set level for metrics file. Set OFF to disable; set ON to enable
+metricsLogger.level=ON
+# Set level for error file. Set OFF to disable; set ON to enable
+error.level=ON
+# Set level for audit file. Set OFF to disable; set ON to enable
+audit.level=ON \ No newline at end of file