aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-01-09Update policy api urlxuegao1-2/+2
Update the policy api url, triggering the pap api to get the status of the deployed policy. Issue-ID: CLAMP-577 Change-Id: I34222c1158d6f724c8ae740fec81f2085ef91bd0 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-01-07Update based on commentsxuegao4-37/+43
Update based on review comments and fix some format issues. Issue-ID: CLAMP-569 Change-Id: I8b94be41d7576d4c701e0d7f49883f4255463e62 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-01-06Add refresh op policy json apixuegao5-1/+71
Add the new api to refresh the operational policy json representation values. Issue-ID: CLAMP-585 Change-Id: I8c494f8d5f7ee8672f054444c368fdb396fb208f Signed-off-by: xuegao <xg353y@intl.att.com>
2019-12-18Move jsonRepresentationxuegao2-16/+19
Move the storage of jsonRepresentation to OperationalPolicy level Issue-ID: CLAMP-582 Change-Id: Id555ebc1f2f04468f7bf0ffd813de7732bcee97f Signed-off-by: xuegao <xg353y@intl.att.com>
2019-12-16Update deploymentParametersxuegao3-34/+134
Update deploymentParameters to allow a map of <msName, deploymentParams> instead of a single deploymentParam Issue-ID: CLAMP-569, CLAMP-570 Change-Id: I6abc4fe193157644bd6abe1c893a1416cadec988 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-12-09Merge "Update service object"Sébastien Determe6-39/+88
2019-12-09Update service objectxuegao6-39/+88
Seperate the procedure to install service and loops. Issue-ID: CLAMP-566 Change-Id: Ied7143ce8849baffda7678e82f4d6c4d9f1443d9 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-12-09Add dcae structuresebdet3-16/+132
Add the DCAE structure to handle the sorting of the loops defined in the DCAE inventory. Issue-ID: CLAMP-575 Change-Id: I52cffd1d1812f5d3e5802e46d6c5147dafb4a7f5 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-29Merge ssl passwordxuegao7-23/+215
Use the aaf encrypted ssl password fot server.ssl parameters Issue-ID: CLAMP-339 Change-Id: I8869bb527f2851c1d298cd03e45327791a8acfab Signed-off-by: xuegao <xg353y@intl.att.com>
2019-11-20Merge "Update the alpine version"Sébastien Determe1-1/+1
2019-11-19Merge "Rollback to JDK 11"Sébastien Determe1-1/+3
2019-11-19Update the alpine versionsebdet1-1/+1
So Alpine 3.10.3 and jdk 11.0.5 Issue-ID: CLAMP-553 Change-Id: I51527d0903aef406b996e7b83975f1a167ad4937 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-18Rollback to JDK 11sebdet1-1/+3
Reverting JDK to 11 as deciced by the SECCOM Issue-ID: CLAMP-553 Change-Id: I69bbf2b961616ae566e43cab944bd0daf5295a34 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-18Merge "Create Service object"Sébastien Determe4-23/+164
2019-11-18Create Service objectxuegao4-23/+164
User Service object to store loop service and resource realted info. Issue-ID: CLAMP-545 Change-Id: I0df6f5d43d7e0575346e02a27bca5c0b5ecdb0a0 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-11-08Put npm snapshotsebdet1-2/+2
Put npm snapshot for all for now, until there is a better solution to release Issue-ID: CLAMP-450 Change-Id: I62f936c01a133462d3bff5ae0aeea5aa211c5c91 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-07Merge "Move to JDK 13"Sébastien Determe5-75/+27
2019-11-05Add Npm repo scriptsebdet1-0/+34
Add npm repo script in the build to decide which nexus repo must be used depending of the version Issue-ID: CLAMP-450 Change-Id: Ic00974d1bedf9da947748dd9f5224fbc78f7f425 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-05Move to JDK 13sebdet5-75/+27
Do the required changes to move to JDK 13 Issue-ID: CLAMP-327 Change-Id: Ia7840851eeefc6c00e3e49eacb2e49cc27a0b2f0 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-17Merge "Add unit tests"Sébastien Determe1-1/+3
2019-10-17Add unit testsxuegao1-1/+3
Add unit tests for backend and frontend. Issue-ID: CLAMP-512 Change-Id: I713ba2dce3bd132e7e3e713f4e91e3662df7aafd Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-17Fix nginx configsebdet1-0/+2
Fix nginx config for AAF so that certificate can go through it Issue-ID: CLAMP-519 Change-Id: Ie10975d733107022b933b83354881fd704512e26 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-17Update AAF certificatesebdet6-117/+90
Update the AAF certificate as the previous one will expire soon Issue-ID: CLAMP-536 Change-Id: Ia900449fcb1b327d60ae8f9c628610151ed70f0d Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-10Rework the clamp cadi filtersebdet1-6/+12
Add test and rework the code for X509 certificate Issue-ID: CLAMP-519 Change-Id: I3c0aa05cd4bec24770243b86a4672ff3906afba5 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-09Add CA certificate to frontendsebdet1-0/+32
Add CA file for the frontend generation Issue-ID: CLAMP-519 Change-Id: Ia1b4e1e2acc13b32eb3096cb2ece6d4f6ae54998 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-09Fix policy status issuexuegao1-1/+1
Change the initial status of policy from SENT_AND_DEPLOYED to NOT_SENT. Issue-ID: CLAMP-533 Change-Id: If4fa22fc2e3fb33500502bab41e49de9000dd7e7 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-09Add policy model id in tosca parsersebdet2-64/+59
Add the parameter policy model id when converting the tosca to a Json schema for the UI so that it takes well what is provided in the blueprint Issue-ID: CLAMP-534 Change-Id: Ie5e9e0c495c3969f25cca36d8f3d74c82f1f63b6 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-08Merge "Fix policy status issue"Sébastien Determe1-1/+1
2019-10-08DCAE inventory calls in camelsebdet6-274/+67
Move the HTTP/HTTPS calls to camel so that there is no issue with the previous code that does not support the config required for HTTP4 Camel Issue-ID: CLAMP-532 Change-Id: I83db0da5bbe6906890d0d6aa9b529c264e5f9b20 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-08Fix policy status issuexuegao1-1/+1
Change the initial status of policy from SENT_AND_DEPLOYED to NOT_SENT. Issue-ID: CLAMP-533 Change-Id: I5daec8e5d02c4db48005fbf25e642ec73df5a20c Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-04Fix X509 injectionsebdet1-1/+4
Url Decode before using the certificate Issue-ID: CLAMP-519 Change-Id: I7b0e9926a7ae6c50f2e5fafa73b20d733725b076 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-03Add X.509 Injectionsebdet1-4/+35
Add X.509 injection in the Cadi filter so that the NGinx reverse proxy can forward the certificate that AAF needs Issue-ID: CLAMP-519 Change-Id: I0af8ec795fb61510647d2019f3f6f8f664032f5c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-01Merge "Remove Policy dependencies"Sébastien Determe2-7/+7
2019-10-01Remove Policy dependenciesxuegao2-7/+7
Remove policy related dependencies from the pom.xml Issue-ID: CLAMP-512y Change-Id: I734539be2c80eacd2340f865dffc50f47c55dd86 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-01Merge "Add unit tests for UI"Sébastien Determe2-2/+1
2019-09-24Add unit tests for UIxuegao2-2/+1
Adding unit tests for React UI Issue-ID: CLAMP-509 Change-Id: If31bbea7972736aa190fd0fed19336a1aa382af8 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-09-19add license noteosgn422w2-1/+11
add some additionnal licensing note Issue-ID: CLAMP-508 Change-Id: I3b768759709f779833abf7f72c775d90e7e8611a Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
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>