summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-fw/src
AgeCommit message (Collapse)AuthorFilesLines
2020-07-29Dynamic context determination via basehrefstatta1-4/+6
Issue-ID: PORTAL-949 Change-Id: Ia30876f51edd4a48633769c5a01f3646ca7fb9b2 Signed-off-by: statta <statta@research.att.com>
2020-05-24Merge "removed code smells in some components"Lorraine Welch1-9/+0
2020-05-21removed code smells in some componentsIndrijeet kumar1-9/+0
removed code smells in some components Issue-ID: PORTAL-813 Change-Id: Ib8e1deaddbbd58d41a839c505a3e9875b1046297 Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
2020-05-21reduced code smells in some componentsIndrijeet kumar1-1/+1
reduced code smells in some components Issue-ID: PORTAL-813 Change-Id: I9a003165d260fd332e2e5199525412aeeb9fff05 Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
2020-04-23Report, not discard, caught exception in ctorLott, Christopher (cl778h)1-2/+2
The PortalRestCentralServiceImpl constructor instantiates a class by name then calls methods on the new object. The ctor uses try/catch but if an exception occurs, the ctor discards that exception and throws ClassCastException with a vague message. Change to throw ServletException and include the cause exception. Change-Id: I4f9f0c03026cedff5e65fb904f24eb3f6b658fac Issue-ID: PORTAL-865 Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
2020-04-09lowered code smellsRupinder1-3/+0
Removed some unused imports Issue-ID: PORTAL-865 Change-Id: I2bc24d3a525429385b6c3999a5b164cc72b85865 Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2019-09-16General Sonar FixesArindam Mondal2-3/+3
Issue-ID: PORTAL-740 Change-Id: I050c3ffa64ae95eadca3a99ec149736fa9dbde67 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-07-30Publish fixed strings as public constantsLott, Christopher (cl778h)14-101/+115
Change-Id: I47c8458a0f16251ef19043eb63cf5f392990efdf Issue-ID: PORTAL-657 Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
2019-07-24Merge "Blackduck scan fixes and PenTest"Sunder Tattavarada1-1/+1
2019-07-23Blackduck scan fixes and PenTestst398c1-1/+1
Issue-ID: PORTAL-631 Change-Id: I606837e3aefd0bbb7ff45ac2e597d214da06e7ed Signed-off-by: st398c <st398c@research.att.com>
2019-07-22Repair null-pointer exception in init methodLott, Christopher (cl778h)1-45/+37
Change-Id: I0669adbbc67987b3e7034fa1af5e1376e156b52d Issue-ID: PORTAL-657 Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
2019-07-18Harmonize logging to apache commons shim onlyLott, Christopher (cl778h)3-36/+38
Remove EELF from two classes, now all use apache commons logging. Remove epsdk-logger dependency, which eliminates EELF and its problems. Change-Id: Ib825d90a0d4204bfe4a756e2df35b92ab520c932 Issue-ID: PORTAL-657 Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
2019-07-10Blackduck scan fixesst398c1-0/+106
Issue-ID: PORTAL-631 Change-Id: I240f3656de2de2d3540f0fc1d615c461beab14c5 Signed-off-by: st398c <st398c@research.att.com>
2019-06-28PENTEST:Do not display stack trace for the api'sKotta, Shireesha (sk434m)5-48/+99
Issue-ID: PORTAL-654 PENTEST:Do not display stack trace for the api's and all users info for get_user api Change-Id: I68a4e3c7eba2628363275d63535290034591aa07 Signed-off-by: Kotta, Shireesha (sk434m) <sk434m@att.com>
2019-03-28Fortify, version, Junitst398c1-0/+8
Issue-ID: PORTAL-543, PORTAL-273, PORTAL-544 Change-Id: Ib864ef78bbd534170cab90d9314f2d8943f78872 Signed-off-by: Thota, Saisree <st398c@research.att.com>
2019-01-17Merge "Fix blocker sonar issues"Manoop Talasila2-0/+11
2018-12-17CADI IntegrationKotta, Shireesha (sk434m)2-5/+17
Issue-ID: PORTAL-474 System to system authorization using CADI Change-Id: I3a62840b4108851bf3f18f5c09f1ea21bd0c6844 Signed-off-by: Kotta, Shireesha (sk434m) <sk434m@att.com>
2018-11-29Fix blocker sonar issuesParshad Patel2-0/+11
Fix This class overrides "equals()" and should therefore also override "hashCode()" issues Issue-ID: PORTAL-342 Change-Id: Iabc3d51abbe6af595252791f38e9a639e850d2c4 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-11-27Issue-ID: PORTAL-474Kotta, Shireesha (sk434m)1-10/+36
System to system authorization using CADI Change-Id: I58047d4cda3f445a223c6a12e59924db6881553a Signed-off-by: Kotta, Shireesha (sk434m) <shireesha.kotta@att.com>
2018-11-20CADI Integrationst782s6-9/+435
Issue-ID: PORTAL-474 System to system authorization using CADI Change-Id: I76487f8155a36fca8283669fe5e28ec7d5aec91d Signed-off-by: st782s <statta@research.att.com>
2018-10-09Merge "Added parameter in properties for HelperTest"Manoop Talasila1-0/+1
2018-10-09Merge "added test cases to DomainTest.java"Manoop Talasila1-108/+125
2018-10-09Merge "Changed ecomp and AT&T references"Manoop Talasila1-2/+2
2018-10-09Changed ecomp and AT&T referencesWelch, Lorraine (lb2391)1-2/+2
Issue-ID: PORTAL-302 Change-Id: Iec2ed9ba78ceb81f3d5dff84837697482415937d Signed-off-by: Welch, Lorraine (lb2391) <lb2391@att.com>
2018-10-05Null UserId while login into sdkKotta, Shireesha (sk434m)1-15/+34
Issue-ID: PORTAL-393 incomplete license statement Change-Id: I389f0b24fc039849edc2049b6d232a6807352268 Signed-off-by: Kotta, Shireesha (sk434m) <shireesha.kotta@att.com>
2018-09-28Added parameter in properties for HelperTestezhil1-0/+1
Added test file parameter in properties file for Helper Issue-ID: PORTAL-412 Change-Id: I3c122cd14e54c1d72465bf5eb6049b8e90354ddc Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-09-27added test cases to DomainTest.javaSandeep J1-108/+125
to increase code coverage Issue-ID: PORTAL-273 Change-Id: I1b9e5cf0b4e63c25562ac2e6370a3013625c49d4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-16FIX TO USE TRY WITH RESOURCESKrishnajinka1-16/+14
FIX SONAR ISSUES RELATED WITH USE OF TRY WITH RESOURCES INSTEAD OF JUST TRY Issue-ID: PORTAL-336 Change-Id: I143c3d6167b101e5113faa3c70f57bfb8638e8de Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-11Adding User Auth and permission aaf servicesKishore Reddy, Gujja (kg811t)8-4/+556
Issue-ID: PORTAL-334 Change-Id: I2826f2a06f7d818d918ae5f45b500a8da78cec42 Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-06-26Adding Junit test filesNaveen Kumar Pitchai9-0/+1054
WizardSequenceTest.java ConfigLoaderTest.java PortalAPIResponseTest.java PortalRestAPIProxyTest.java PortalTimeoutBindingListenerTest.java PortalTimeoutHandlerTest.java UserContextListenerTest.java UserSessionListenerTest.java SessionCommunicationServiceTest.java RestWebServiceClientTest.java FavoritesClientTest.java FunctionalMenuClientTest.java ExternalAppConfigTest.java ExternalAppInitializerTest.java HibernateMappingLocationsTest.java SecurityXssFilterTest.java LoginStrategyImplTest.java RegisterTest.java RegistryAdapterTest.java AdminAuthExtensionTest.java Change-Id: If4c553aea9e7f3662d13e369d818073943fbaf54 Issue-ID: PORTAL-328 Signed-off-by: Naveen Kumar Pitchai <naveenk89@in.ibm.com>
2018-05-03API Versioning for ECOMP Components in SDKsa282w8-16/+75
Issue-ID: PORTAL-263 Included the api version changes for SDK. Change-Id: Ib81c5aabe585f6e2775e73a692153d1f286d1f45 Signed-off-by: sa282w <sa282w@att.com>
2018-04-20Replace ecomp referenceHima Elisetty38-38/+38
Issue-ID: PORTAL-19 Remove ecomp trademark Change-Id: Ic864f6cfdeeddad1e7d384abd3419ae21b832062 Signed-off-by: Hima Elisetty <hb123f@att.com>
2018-03-16Added JunitsKotta, Shireesha (sk434m)1-21/+1
Issue-ID: PORTAL-136 Includes JUNITS, Analytics module Change-Id: Ib3053782fad98b6d6b2048bac1b9506c5cd8f42f Signed-off-by: Kotta, Shireesha (sk434m) <sk434m@att.com>
2018-03-15Added JunitsKishore Reddy, Gujja (kg811t)1-2/+2
Issue-ID: PORTAL-136 Includes JUNITS Change-Id: I84b5281bae05210faf7db999335f1fdcf3094fc0 Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-03-06Added Junits & AAF attributes SupportKotta, Shireesha (sk434m)4-18/+20
Issue-ID: PORTAL-136 Includes JUNITS, AAF attributes support Change-Id: Id4cc9f64268017665d7245d0a10369c9b498ba2f Signed-off-by: Kotta, Shireesha (sk434m) <sk434m@att.com>
2018-02-20Increase JUNIT Coveragest782s2-1/+45
Issue-ID: PORTAL-136 Change-Id: I2223003924f36043753bef401ed1d8ee87f4a65e Signed-off-by: st782s <statta@research.att.com>
2018-02-13FW Mode Changesst782s3-3/+100
Issue-ID: PORTAL-188 Change-Id: Id65bb665a37c889837fa31864e1384258fe6930b Signed-off-by: st782s <statta@research.att.com>
2018-02-07Added JunitsHima Elisetty4-23/+322
Issue-ID: PORTAL-136, PORTAL-188 Includes FW mode central changes Change-Id: Iba6c0d48ed768e32d1fe4700d0044eb7f3fdc482 Signed-off-by: Hima Elisetty <hbindu@research.att.com>
2018-01-08Harden coderobertlo2-3/+5
Issue-ID: PORTAL-145 Harden code to address Open Redirect in Portal SDK Change-Id: If7e923366be11b78c1359dfe5b8fc14a2927c668 Signed-off-by: robertlo <wl849v@att.com>
2017-11-28Harden codest782s17-35/+1709
Issue-ID: PORTAL-145,PORTAL-119 Harden code to address SQL injecton, XSS vulnerabilities; Separate docker images for portal, sdk app and DMaaPBC ui Change-Id: I85fad4d3fcee3243207b8f0dfe21beaa41602204 Signed-off-by: st782s <statta@research.att.com>
2017-10-20Role management; security vulnerabilities.Christopher Lott (cl778h)2-3/+5
Extend user/role management interface to allow role deletion. Add filters to defend against common web Javascript attacks. Drop Greensock code with unusable license. Use OParent in EPSDK web application. Issue: US324470, US342324, PORTAL-127 Change-Id: I3a10744fbbbdbda7c88d2b2e542e72e779c9b142 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-10-04Repair redirect; correct javadoc site pathChristopher Lott (cl778h)1-21/+50
[PORTAL-53] Correct path for deployment of javadoc web site [PORTAL-78] Prevent SDJ from redirecting multiples times during single signon [St164634] Tone down the logging when communicating with the Partnering Applications Add missing license headers; drop FusionLicenseImpl. Issue: PORTAL-53 PORTAL-78 Change-Id: I3f8200d8e41754ade05e3f7b38d0db6bdd5e59e8 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-09-25Sonar Scans and Role Centralization; clean nlChristopher Lott (cl778h)1-3/+3
PORTAL-21: centralized user role management PORTAL-72: Address Sonar Scan code issues for ONAP - mostly on raptor PORTAL-86: ONAP - Remove internal att.com usages from tests and otherfiles PORTAL-90: Add debug statements to demo app's class; no functional change Issue: PORTAL-21 PORTAL-72 PORTAL-86 PORTAL-90 Change-Id: I72a6c812009f51446330bf42bab6d3338d053805 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-09-07Adjust code for Sonar issuesChristopher Lott (cl778h)23-159/+165
Made non-functional updates to address static code analysis issues. Update license header with simple double-quote characters. Issue: PORTAL-72, PORTAL-90 Change-Id: Ic2c330daea07d721f0e6b350ebf03da97073f7ce Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-08-31Rename packages to org.onap in 1.4.0-SNAPSHOTChristopher Lott (cl778h)30-929/+1499
19 - remove openecomp 72 - remediate Sonar scan issues 79 - removed unwanted left menu under Report 90 - apply approved license text Issue: PORTAL-19, PORTAL-72, PORTAL-79, PORTAL-90 Change-Id: I41a0ef5fba623d2242574bd15f2d9fb8029a496c Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-08-23Repair role-centralization features in EPSDKChristopher Lott (cl778h)1-4/+3
Issue: PORTAL-21 Change-Id: Icf276482609734d3aa24f04ae0a8135021a3d305 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-08-15DDL updates and cleanupst782s1-0/+6
- remove unused javascript libraries - remove contentious icons and images - Remove constraints to support Role Centralization Issue: PORTAL-21, Portal-17 Change-Id: I347accb04343d1c866c075ee716c46fea9e0d036 Signed-off-by: st782s <statta@research.att.com>
2017-08-08Revise open-source login strategy implChristopher Lott (cl778h)1-3/+0
- Get required decryption key from system.properties, not portal.properties - Add icon mapping for ION icons - Add license header on a few fiels Issue: PORTAL-64 Change-Id: I0da14178a331c3926bc4c51425f8d9a6877685bc Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
2017-07-27Role centralizationst782s2-2/+26
Adding functionality to account for global roles across all applications which will be added at portal level Issue: [PORTAL-21] Change-Id: I4cdee652aaaa124abddb63410e1e45257b5bb6e0 Signed-off-by: st782s <statta@research.att.com>
2017-07-07[PORTAL-25] Role CentralizationChristopher Lott (cl778h)6-25/+172
Bump EP SDK version to 1.3.0-SNAPSHOT Support Role Centralization & Common Set of Roles across All ONAP On-Boarded Applications Change-Id: Icfc1bbfddaf2c7c7176b4cf7bb7017d853c63100 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>