Improvement sdc-BE-init python scripts 23/108823/4
authork.kedron <k.kedron@partner.samsung.com>
Fri, 5 Jun 2020 12:51:01 +0000 (14:51 +0200)
committerKrystian Kedron <k.kedron@partner.samsung.com>
Wed, 24 Jun 2020 09:21:00 +0000 (09:21 +0000)
commit16fe29ac226610f79c8da1f691437ec7fe6e79c4
tree5b73d8f1724c561609c05fd2802ad80b7acfb4c0
parentfca8a0b1af32083b8ea025135b120091aec9714f
Improvement sdc-BE-init python scripts

- Implemented retries when request fail
- Moved configuration variables to the Properties file
- Extended sdcBeProxy
- Implemented script to run import/update (should fix deployment glitch)
- Updated the import_Normatives recipes to use new script

Issue-ID: SDC-2784
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I83fab898783ad8d3b3d532af43d75bc54d033c33
18 files changed:
catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb
catalog-be/src/main/resources/scripts/sdcBePy/__init__.py
catalog-be/src/main/resources/scripts/sdcBePy/common/errors.py [new file with mode: 0644]
catalog-be/src/main/resources/scripts/sdcBePy/common/healthCheck.py
catalog-be/src/main/resources/scripts/sdcBePy/common/logger.py
catalog-be/src/main/resources/scripts/sdcBePy/common/normative/main.py
catalog-be/src/main/resources/scripts/sdcBePy/common/normative/toscaElements.py
catalog-be/src/main/resources/scripts/sdcBePy/common/normative/toscaTypes.py
catalog-be/src/main/resources/scripts/sdcBePy/common/properties.py [new file with mode: 0644]
catalog-be/src/main/resources/scripts/sdcBePy/common/sdcBeProxy.py
catalog-be/src/main/resources/scripts/sdcBePy/consumers/run.py
catalog-be/src/main/resources/scripts/sdcBePy/tosca/data/beConfig.json
catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/run.py
catalog-be/src/main/resources/scripts/sdcBePy/tosca/main.py
catalog-be/src/main/resources/scripts/sdcBePy/tosca/run.py [new file with mode: 0644]
catalog-be/src/main/resources/scripts/sdcBePy/tosca/upgrade/run.py
catalog-be/src/main/resources/scripts/sdcBePy/users/run.py
catalog-be/src/main/resources/scripts/setup.py