aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-09-18remove commercial noticeosgn422w2-104/+0
remove non-commercial in use only notice Issue-ID: CLAMP-508 Change-Id: Idcd72e114b4af720497f26f7f7fdd2768f3fb51d Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-09-12Add scritp for DBsebdet1-14/+6
Add scripts to load/save the db + add autogeneration of the test data used by the CSIT Issue-ID: CLAMP-496 Change-Id: I90cc4d1860562c0325038e6b8e900d99b64d201a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-11Update swaggersebdet1-61/+97
Update swagger files due to all changes done so far, like removal of useless code Issue-ID: CLAMP-487 Change-Id: I7a920a8e9d40b58a583e01b22f5fd3db767b17d7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-11Remove dead codesebdet7-431/+0
Removal of useless code related to v1 model Issue-ID: CLAMP-487 Change-Id: Ia12f21b30e3d81e475a65e507ee02291548dd7f8 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-11Checkstyle fixessebdet29-225/+306
Checkstyle fixes done to solve the Unstable build Issue-ID: CLAMP-487 Change-Id: I694b13e03dd1e7220988fd0c08bfbf12a808f7f7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-10Remove Dead codesebdet7-886/+0
Removal of useless code not used anymore in clamp because model are received from CSAR Issue-ID: CLAMP-487 Change-Id: Ifeb0411e7f7cd599cb5cf5d8f5b0e33d34bbf396 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-10Repair healthchecksebdet5-47/+40
HealthCheck was always returning 200 even if the db was not up and running Issue-ID: CLAMP-494 Change-Id: I85aa427a212c6cde568d3863d1ab1a1a11c71f16 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-10Removal dead filessebdet13-1107/+0
Removal of the config files not used anymore by clamp backend Issue-ID: CLAMP-487 Change-Id: I7adc0cf3f55ceb7cd182720664118efd3c3a2319 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-10Remove dead codesebdet61-8198/+231
Removal of deprecated v1 interface code, sql cleaned up as well, old model removed from database Issue-ID: CLAMP-487 Change-Id: I4a9f14de9ea1c1b76c522581d75cf4b011c2aa01 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-09Remove dead codesebdet13-4409/+269
Removal of dead code not used anymore as part of the V1 interface + new swagger without old v1 interface Issue-ID: CLAMP-487 Change-Id: I56c80c26082b5119f14afc41e26bae1c52b1ba59 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-06Fix legacy policy payloadsebdet1-0/+6
Ensure payload attribute is well not present if defined as an empty string Issue-ID: CLAMP-484 Change-Id: If6d558c009dd695bfd5f83cf0d50800e12026121 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-06Removal of previous UIsebdet180-37050/+0
Removal of Angular code not used anymore, it has been replaced by React Issue-ID: CLAMP-487 Change-Id: Ib5f20a2ede032e3288340b9884fa551dc0d5da03 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-06Draft of React testsebdet2-99/+170
Reworking the react test with Jest & Enzyme + coverage Issue-ID: CLAMP-425 Change-Id: If287e357f4afaf712587e21ef5e0cb26f8a46d4c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-02use oss versionosgn422w3-4/+4
need to use oss version of base image with corresponding config Issue-ID: CLAMP-489 Change-Id: I7577c5e8840d0b769784d2de103e9d087ccbd8d8 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-08-29Fix elastic search imagesebdet1-0/+1
There was a problem to execute the script as it was not executable Issue-ID: CLAMP-485 Change-Id: I01323bff5ae14bd4b94815dea0ebd3a6ca8fa071 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-28Fix frontend dockersebdet6-6/+132
Fix the frontend docker in Nginx with https for backend in https as well Issue-ID: CLAMP-486 Change-Id: I33fd89289618affa5e734c80991aaefece31309e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-27Fix AAF urlsebdet1-1/+1
Fix AAF url so that it's aligned with AAF changes, version updates Issue-ID: CLAMP-482 Change-Id: I13138a58e6746bf866f64323aca8d4f72541f2ca Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-26Fix the userInfosebdet2-8/+24
Fix user Info window, now clicking on the user name make it appears + attempt to add a logout Issue-ID: CLAMP-393 Change-Id: I82686a848f7ccae95c1eab22f1923a8821ba76b1 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-24Fix the policy versionsebdet2-2/+11
Change the code so that it create right queries as policy engine expects, for the get Policy the version must be an integer for legacy interface Issue-ID: CLAMP-384 Change-Id: I1839ae65bdda1752de6cdc08a95590d14647aeb9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-23Fix the log statussebdet5-123/+191
Fix the way the code (camel) computes the global loop state + introduce level in component state for that Issue-ID: CLAMP-384 Change-Id: I83a9306eabacfc1f118df6b828e521ee59d19b5f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-21Log componentsebdet3-72/+91
Set the right log component in the camel xml files routes Issue-ID: CLAMP-428 Change-Id: I476e5b24f5e772c77998508ad3e90c811838386e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-20Fix the docker composesebdet1-1/+1
Fix docker compose due to docker name changed Issue-ID: CLAMP-418 Change-Id: I0f205da2c287a6b460ebb148ddb8ea2fc793220e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-19Draft of op policysebdet6-68/+621
First draft of the Operational policy based on JsonEditor, it's a wip code Issue-ID: CLAMP-430 Change-Id: I2c7970e94488f4020377fd9d4d00691a3590b13e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-14Merge "Improve test for DictionaryService."Sébastien Determe1-16/+42
2019-08-06Merge "Remove checkstyle issues"Xue Gao10-1427/+1427
2019-08-06Remove checkstyle issuessebdet10-1427/+1427
Remove checkstyle issues added during previous merge Issue-ID: CLAMP-465 Change-Id: Iec78a64c01de6cc1405fccd7406ef38b06e61545 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-06Merge "Add Expose annotation"Xue Gao8-1290/+1394
2019-08-06Add Expose annotationsebdet8-1290/+1394
Add expose annotations in all objects returned by the v1 interfaces Issue-ID: CLAMP-465 Change-Id: I9c98de60dc71f52f74f14810135e83efe4256ede Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-31add searchguardosgn422w1-1/+4
add search guard plugin when building kibana image Issue-ID: CLAMP-419 Change-Id: I7cb06b1c1a37ac29c0fbfe309976aed908f6e920 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-07-29kibana authenticationosgn422w2-4/+4
add kibana authentication to load script Issue-ID: CLAMP-419 Change-Id: I02851f26a3916110a5e3544746db04aed274c5ab Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-07-17add searchguardosgn422w14-1/+857
add authentication to elk with searchguard Issue-ID: CLAMP-419 Change-Id: I66bca485750e3377db10f6f43efb7f741a42c17d Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-07-15Fix Nullpointer exceptionsebdet1-2/+3
Fix null pointer exception happening when getting a non existent SVG in db Issue-ID: CLAMP-424 Change-Id: I8941441b2af1ae2d54da977b467bde3abef52376 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-25Frontend initial draftsebdet8-63/+175
New frontend initial draft in React with docker image in nginx Issue-ID: CLAMP-413 Change-Id: Ie5826d79aa3db23f863e8fd217189ba41534abe9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-18Improve test for DictionaryService.k.kedron1-16/+42
Add new test for CldsDictionaryService. Refactor createOrUpdateDictionary method. Remove useless final from private method. Checkstyle issue. Change-Id: I26e782aeb4a7429d342f90d4231dd24cca2e152f Issue-ID: CLAMP-355 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-06-18Merge "Fixed Checkstyle issues"Xue Gao12-113/+124
2019-06-18Merge "New unit tests and sonar fixes"Xue Gao1-40/+26
2019-06-18add date to logsKrysiak Adam1-2/+2
Issue-ID: CLAMP-405 Change-Id: I56843bd4652fbd624bcab32efbbdb8b77a48d210 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-06-13Bring all fixessebdet3-27/+31
Bring all fixes from Dublin, but the code has slightly changed on master Issue-ID: CLAMP-410 Change-Id: Ieca7b8e9b180f46f2c30f848454405f3a504bfdd Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-05Merge "Validate ids"Sébastien Determe2-12/+22
2019-06-05Rework the loop statesebdet24-1120/+1686
Rework the state loop so there is no bug in the loop state anymore, now the components are scanned + upgrade to 4.0.4 Issue-ID: CLAMP-384 Change-Id: If7649238ee52864c84bfb9b6b8471d1738752e29 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-05Validate idsWojciech Sliwka2-12/+22
Disable close button when policy id is duplicated Issue-ID: CLAMP-403 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com> Change-Id: I47dee2e27ce4f7a5e2083a541458a04da8cf7bee
2019-06-04Fixed Checkstyle issuesk.kedron12-113/+124
Fixed checkstyle issues in the clamp project to achieve clean Jenkins build Change-Id: I92a05f948a5946c46b951058dc6f00b0b1c8e05b Issue-ID: CLAMP-328 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-06-04Merge "Text Inside Clamp box is not resizing"Sébastien Determe3-9/+28
2019-06-04Merge "Added more unit tests and fix import"Sébastien Determe1-2/+2
2019-06-04Merge "Improve unit tests and sonar fixes"Sébastien Determe3-1/+15
2019-06-04New unit tests and sonar fixesk.kedron1-40/+26
Assertion arguments should be passed in the correct order in: - CldsReferencePropertiesItCase - LoggingUtils Remove of duplicate code in LoggingUtils. Typo in README file. Add LoggingUtilsTest unit test. Change-Id: Iddc61877659e9d4308479451a7eb4901b3fc5ea8 Issue-ID: CLAMP-355 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-06-04Text Inside Clamp box is not resizingPiotr Darosz3-9/+28
Resizable text in Clamp boxes, better drawing space utilization. Change-Id: If6c79b22729730a8c243845b3288724f1c611b8a Issue-ID: CLAMP-402 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-06-04Merge "Fixed Checkstyle issues"Adam Krysiak5-42/+54
2019-06-03Fix updateMsProperties methodWojciech Sliwka1-5/+6
Issue-ID: CLAMP-401 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com> Change-Id: I39b17342fa37416eab0b8776a899ce8360be1818
2019-05-30Just change the TimeoutDeterme, Sebastien (sd378r)1-12/+12
Change timeout for all queries policy+dcae Issue-ID: CLAMP-399 Change-Id: I560a5b3d1b1ae9c994a2be2771d5a705125d6be0 Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>