summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-10-17Add unit testsxuegao6-29/+615
Add unit tests for backend and frontend. Issue-ID: CLAMP-512 Change-Id: I713ba2dce3bd132e7e3e713f4e91e3662df7aafd Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-10Rework the clamp cadi filtersebdet2-52/+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 issuexuegao2-228/+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 parsersebdet4-211/+195
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-08Clean up filessebdet2-86/+0
Delete useless files in test resource folder Issue-ID: CLAMP-487 Change-Id: I828d0cc93ff29fb0f8ae05988e28f2a0b415c194 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-08Merge "Fix policy status issue"Sébastien Determe2-1/+240
2019-10-08DCAE inventory calls in camelsebdet16-612/+1700
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 issuexuegao2-1/+240
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 "Improve unit test coverage of DcaeInventoryServices & clamp/clds/model"Sébastien Determe2-0/+127
2019-10-01Merge "Improve unit test coverage of ToscaYamlToJsonConvertor"Sébastien Determe5-2/+325
2019-10-01Merge "Add unit tests for UI"Sébastien Determe2-2/+1
2019-09-30Improve unit test coverage of DcaeInventoryServices & clamp/clds/modelVidyashree Rama2-0/+127
Improve unit test coverage of DcaeInventoryServices & clamp/clds/model Change-Id: I2a2d977473ceec95117eca9e5ab42d75371a6137 Issue-ID: CLAMP-510 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-09-25Improve unit test coverage of ToscaYamlToJsonConvertorVidyashree Rama5-2/+325
Improve unit test coverage of ToscaYamlToJsonConvertor Change-Id: Ia5dc07288b878ac62d74313032ba2b4ee69f9c2e Issue-ID: CLAMP-510 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
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 DBsebdet2-15/+7
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 fixessebdet35-333/+388
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 codesebdet8-992/+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 healthchecksebdet6-50/+41
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 codesebdet90-11242/+233
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 codesebdet22-5453/+302
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 payloadsebdet3-2/+7
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 UIsebdet182-37086/+32
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 dockersebdet7-7/+133
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-27Update the SQLsebdet1-14/+533
Update the SQL for the CSIT tests as it has been changed for El Alto Issue-ID: CLAMP-481 Change-Id: I27b9ab470ad9a12d76c1db5cfdf92e353181f510 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 statussebdet6-140/+208
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 policysebdet17-221/+1472
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 Determe2-44/+86
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>