aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-09-10Merge "Fix errors in INFO.yaml"5.0.2-ONAPelaltoDan Timoney1-20/+35
2019-09-10Fix errors in INFO.yamlTimoney, Dan (dt5972)1-20/+35
Fix errors in INFO.yaml file Change-Id: I5a09160c79b554827b186eae985d2ac5779ad5d4 Issue-ID: CCSDK-1696 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-05Major- Replace comparison Operatorsanushadasari1-4/+4
The == and != operators do type coercion before comparing values. This is bad because it can mask type errors. For example, it evaluates ' \t\r\n' == 0 as true. It is best to always use the side-effect-less === and !== operators instead. Issue-ID: CCSDK-1583 Change-Id: I202ada53b472542261ee69623ea72b52005fdfab Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-05Sonar- blueprint-controllers.jsanushadasari1-4/+2
Add a semicolon at the end of this statement. Remove the useless trailing whitespaces at the end of this line. Change-Id: Iae0434b07bcc713794164079f626e781e1de844d Issue-ID: CCSDK-1582 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-31Merge "Exclude external js libs from sonar"Dan Timoney1-0/+1
2019-07-30Exclude external js libs from sonarTimoney, Dan (dt5972)1-0/+1
Exclude external js libraries from sonar code coverage scan. Change-Id: I9d2e255a3314d4a9d218cdbe8af8210dd47cbf81 Issue-ID: CCSDK-1561 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-30Major- Remove unused function parameter "response"anushadasari1-1/+1
Unused parameters are misleading. Whatever the values passed to such parameters,the behavior will be the same. Issue-ID: CCSDK-1555 Change-Id: I5a90b7650c7291ca5d4d64943570f72c44b96c08 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-29Merge "CCSDK-1542 -junits for ServiceAlreadyDeactivatedException.java"Brinda Santh Muthuramalingam1-0/+40
2019-07-29Merge "CCSDK-1543 -junits for ServiceNotFoundException.java"Brinda Santh Muthuramalingam1-0/+39
2019-07-26SonarFix-Remove declaration of thrown exceptionanushadasari1-1/+1
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body Issue-ID: CCSDK-1531 Change-Id: I64421278bf413954eb6ce5456fcd4b6766655dc6 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-26Merge "CCSDK-1539-junits for DashboardControllerException.java file"Dan Timoney1-0/+67
2019-07-26Merge "CCSDK-1528 - junits for BlueprintParseException.java"Dan Timoney2-0/+44
2019-07-26Merge "CCSDK-1536 -return this expression instead of assigning it to the ↵Brinda Santh Muthuramalingam1-2/+4
temporary variable"
2019-07-26Merge "CCSDK-1538 -Move this constructor to comply with Java Code Conventions"Dan Timoney1-13/+16
2019-07-26Merge "CCSDK-1537 -add @override annotation above method signature"Dan Timoney1-2/+6
2019-07-26CCSDK-1536 -return this expression instead of assigning it to the temporary ↵Thugutla Sailakshmi1-2/+4
variable return this expression instead of assigning it to the temporary variable Issue-ID: CCSDK-1536 Change-Id: Ib0e7970585978e84189b5c71f2fd9c6c6c74eab8 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-26Merge "CCSDK-1532 -junits for ControllerOpsTools.java file"Dan Timoney1-0/+44
2019-07-26Merge "CCSDK-1530 -junits for ServiceTypeActiveException.java file"Dan Timoney1-0/+72
2019-07-26CCSDK-1528 - junits for BlueprintParseException.javaThugutla Sailakshmi2-0/+44
junits for BlueprintParseException.java Issue-ID: CCSDK-1528 Change-Id: Ib4d49588e19e3a5bde3ea50fe54f0a6ff21bc317 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-26CCSDK-1543 -junits for ServiceNotFoundException.javaThugutla Sailakshmi1-0/+39
junits for ServiceNotFoundException.java Issue-ID: CCSDK-1543 Change-Id: I8e1786d40df7f659aefe090e148dee33cecf2248 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-26CCSDK-1542 -junits for ServiceAlreadyDeactivatedException.javaThugutla Sailakshmi1-0/+40
junits for ServiceAlreadyDeactivatedException.java Issue-ID: CCSDK-1542 Change-Id: I1db51b2c34154e53968a636647985130848dc737 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-26CCSDK-1539-junits for DashboardControllerException.java fileThugutla Sailakshmi1-0/+67
junits for DashboardControllerException.java file Issue-ID: CCSDK-1539 Change-Id: I7dd6e4bb6ec0a9b871d9dba7ad5e93d2e2e7bf82 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-26CCSDK-1538 -Move this constructor to comply with Java Code ConventionsThugutla Sailakshmi1-13/+16
Move this constructor to comply with Java Code Conventions Issue-ID: CCSDK-1538 Change-Id: I10ac0c405f137cc8bda607bf08cc7476ebd472f0 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-26CCSDK-1537 -add @override annotation above method signatureThugutla Sailakshmi1-2/+6
add @override annotation above method signature Issue-ID: CCSDK-1537 Change-Id: I13007066ea3545791c1fdf399b610118d0d09d48 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-25CCSDK-1532 -junits for ControllerOpsTools.java fileThugutla Sailakshmi1-0/+44
junits for ControllerOpsTools.java file Issue-ID: CCSDK-1532 Change-Id: Idb4c7b85895f20120cb90e9a2ad1e9661d67590c Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-25CCSDK-1530 -junits for ServiceTypeActiveException.java fileThugutla Sailakshmi1-0/+72
junits for ServiceTypeActiveException.java file Issue-ID: ccsdk-1530 Change-Id: I81e3f6d2d0d8579d98bdceadf1fa983edad51646 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-25CCSDK-1529 -junits for ServiceTypeAlreadyDeactivatedException.java fileThugutla Sailakshmi1-0/+40
junits for ServiceTypeAlreadyDeactivatedException.java file Issue-ID: CCSDK-1529 Change-Id: I56c1e014cd8e5484a88224ac70fe77ebc1d86f13 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-25SonarFix- Removing Whitespacesanushadasari1-1/+0
Trailing whitespaces are simply useless and should not stay in code. They may generate noise when comparing different versions of the same file. Issue-ID: CCSDK-1516 Change-Id: Ic84d3682bb4c72062a9c33632e07760e76dcaf5f Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-25sonar fix- Add a semicolon at the end of this statement.anushadasari1-1/+1
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: CCSDK-1515 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-18Fix master build failureTimoney, Dan (dt5972)1-1/+1
master branch builds were failing due to errors in one of the pom.xml files Change-Id: Ic66adf654303e3664dd46bdd7ee7220c0f107b97 Issue-ID: CCSDK-1378 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-06-03Fix build failureTimoney, Dan (dt5972)1-4/+4
Fix build failure - problem seems to be that one pom's version is wrong and that pom does not have a parent. Change-Id: I7f33bf572ce9f4213279217ea892eab6807cf32a Issue-ID: CCSDK-1378 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-29Roll to El Alto versionTimoney, Dan (dt5972)3-5/+5
Roll to El Alto version (1.2.0-SNAPSHOT) Change-Id: If6ed958ab362ef8919f8e590a54f02f8639aaa0c Issue-ID: CCSDK-1362 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-17Update POM files to allow maven deploy processKotagiri, Ramprasad (rp5662)4-42/+1
Remove instruction in POM files that was skipping mvn deploy step. Build artifacts are allowed to be deployed in deploy phase. Issue-ID: CCSDK-1011 Change-Id: Ibe924291607ada34ac60f912fe377df6ea4bd2cd Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
2019-05-16Revert change of oparent version1.1.0Timoney, Dan (dt5972)1-1/+1
New staging method does not work, since this repo sets slip=true in deploy plugin. Reverting to oparent 1.2.3 to restore staging plugin for now, but this needs to be fixed for El Alto, since staging plugin is no longer supported. Change-Id: If9bb6fdadec7a4b3134765395451c30d5e851e52 Issue-ID: CCSDK-1334 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-15Disable staging pluginTimoney, Dan (dt5972)1-1/+1
Upgrade to oparent 2.0.0 to disable staging plugin. Change-Id: I66ac8930f30fd6bfe1ded0c26d9a68cda456e128 Issue-ID: CCSDK-1334 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-13Update POM to set EPSDK 2.5.0 release versionKotagiri, Ramprasad (rp5662)2-2/+2
set dependency <epsdk.version>2.5.0</epsdk.version> Issue-ID: CCSDK-1011 Change-Id: I3ce55dbae4f58b0b892b0039d25cbec6bdaf14b1 Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
2019-05-08Add API specification html page into deploymentKotagiri, Ramprasad (rp5662)3-5/+5902
REST API specification html page included Removed ECOMPC application name from create blueprint screen Issue-ID: CCSDK-1011 Change-Id: Id4b50f91ec7d15a4b7e10c4e775e26fb2850c933 Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
2019-04-15update ca certs trust storeKotagiri, Ramprasad (rp5662)2-1/+8
Update docker container script to update DCAE ca cert Fix the page title on the landing page Issue-ID: CCSDK-1011 Change-Id: I7e09b43d5cd6e25b242dfdd2c6c1c0819013e1fc Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
2019-04-09Fix for spring auto-wiring issueKotagiri, Ramprasad (rp5662)2-2/+3
Loaded app properties Configuration class into the web application context. This was done to ensure that the application properties are read into the Spring Environment before it is accessed by other beans. Issue-ID: CCSDK-1011 Change-Id: I8ab840b51cc09c0095f53f8e124ca4f1fa896a73 Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
2019-04-08copy war file in Docker imageKotagiri, Ramprasad (rp5662)3-3/+4
Add build argument in POM to set the ARG used in Dockerfile. Issue-ID: CCSDK-1011 Change-Id: Ie8181b8bf19770e39a8358149a29e9bfc5ce1a86 Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
2019-04-08Fix issue with copying war file in Docker imageKotagiri, Ramprasad (rp5662)1-1/+1
Update Dockerfile to change instruction from ADD to COPY Issue-ID: CCSDK-1011 Change-Id: Ieda015fa26e47193fa4e6e41752eb84004ebd7f0 Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
2019-04-03Skip enforcer rulesTimoney, Dan (dt5972)2-0/+5
Skip enforcer rules to allow release and docker builds to succeed with dependency on portal snapshot release. Change-Id: I8a41113caa71450aa27646c33f4ed0fb79e3c972 Issue-ID: CCSDK-1011 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-02Update to use fabric io docker pluginTimoney, Dan (dt5972)2-27/+116
Update to use fabric io docker plugin to create docker image Change-Id: I6b068a3224bf9af9cc8c3b2e43dbb3af377d54b7 Issue-ID: CCSDK-1011 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-02Update POM for maven dockerfile plugin push targetKotagiri, Ramprasad (rp5662)1-12/+12
This update addresses the issue for docker push. dockerfile-maven-plugin configuration expects the docker login credentials to be present in the maven settings file. <servers> <server><id>nexus3.onap.org:10003</id><username></username><password></password></server> </servers> Issue-ID: CCSDK-1011 Change-Id: I8a700336805e997f3094d87f8e10756258fe96fa Signed-off-by: ramprasad kotagiri <rp5662@att.com>
2019-03-29Update config for dockerfile maven pluginKotagiri, Ramprasad (rp5662)1-0/+1
Turn off googleContainerRegistryEnabled in dockerfile maven plugin Issue-ID: CCSDK-1011 Change-Id: Ieb5a3919015945794fff34dfc8536fae0488ecad Signed-off-by: ramprasad kotagiri <rp5662@att.com>
2019-03-28Docker container implementationKotagiri, Ramprasad (rp5662)18-8093/+2428
This change contains following items: 1) Update b2b-library.js to remove non-compliant code 2) Format source code for ccsdk-app-os module 3) Add Dockerfile and artifacts to create docker container 4) Update POM files for docker maven plugin and version changes Issue-ID: CCSDK-1011 Change-Id: Iae93b32e1d8c2e7b911b044bc07bba6b720742a5 Signed-off-by: ramprasad kotagiri <rp5662@att.com>
2019-03-21Java unit test codeKotagiri, Ramprasad (rp5662)52-3688/+5449
This change contains the following: 1) Added Junit classes for java unit testing and code coverage 2) Refactored code to use Spring autowiring of service class instances 3) Updated icons to match the available font icons library 4) Added back ccsdk-app-os module in the parent POM Change-Id: I545202357eb1c8257ee29e0f5a02aa37991b2673 Issue-ID: CCSDK-1011 Signed-off-by: ramprasad kotagiri <rp5662@att.com>
2019-03-15Resolve security issuesTimoney, Dan (dt5972)129-10501/+11387
This change contains the following fixes: 1) Updated ccsdk/dashboard to use ONAP's oparent parent pom 2) Removed <version> tag from dependencies managed by oparent, where feasible (e.g. not spring, since oparent uses Spring 5 and dashboard is based on Spring 4) 3) Updated versions of third party libraries as needed to address vulnerabilities found in nexus IQ scan. 4) Added missing license headers in source files to resolve checkstyle error from oparent. 5) Fixed indentation (tab -> 4 spaces) to resolve oparent checkstyle warning. Change-Id: Ib92d5ef86dbdb78c270d0901cc0753cd5a78eb6e Issue-ID: CCSDK-1167 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-13Latest code baseramprasad kotagiri177-4250/+57976
Change-Id: I9549091ebeeabcef2d7af7d91cc394d8371e496b Issue-ID: CCSDK-1011 Signed-off-by: ramprasad kotagiri <rp5662@att.com>
2018-03-07Fix dashboard repo issueHong Guan27-4658/+4689
Change-Id: I264bc0ec06bc308816bd96982efdfef28264978c Issue-ID: CCSDK-196 Signed-off-by: Hong Guan <hg4105@att.com>