aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates
diff options
context:
space:
mode:
authorrohit.raj@t-systems.com <rohit.raj@t-systems.com>2025-01-22 20:40:10 +0100
committerrohit.raj@t-systems.com <rohit.raj@t-systems.com>2025-01-22 20:40:23 +0100
commit110909a23b78884a58710d4d304ab51ef1233095 (patch)
tree4cb2df350238a9504cd8c193d6e2f92e14ba5164 /openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates
parent7529a63846644ae84d33b8c0588f24fb258f27d5 (diff)
Chef removal changes for openecomp-be1.13.9
- Removal of Chef recipes in the module. - Introduction of shell scripts in the module to replace some recipes. - Generation of module configuration using Charts. - Introduction of config files in integration tests to simulate files generated by Charts in the module. Issue-ID: SDC-4698 Change-Id: I9bb68309d49899247a9cebe4142a568f5ee597f2 Signed-off-by: rohit.raj@t-systems.com <rohit.raj@t-systems.com>
Diffstat (limited to 'openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates')
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/configuration.yaml.erb77
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/externaltesting-configuration.yaml.erb5
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/features.properties.erb1
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/helmvalidator-configuration.yaml.erb6
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/http-ini.erb29
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/https-ini.erb29
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/ready-probe.sh.erb8
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/ssl-ini.erb90
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/vnfrepo-configuration.yaml.erb4
9 files changed, 0 insertions, 249 deletions
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/configuration.yaml.erb b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/configuration.yaml.erb
deleted file mode 100644
index 142977c078..0000000000
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/configuration.yaml.erb
+++ /dev/null
@@ -1,77 +0,0 @@
-catalogNotificationsConfig:
- # catalog backend protocol
- <% if node[:disableHttp] -%>
- catalogBeProtocol: https
- <% else %>
- catalogBeProtocol: http
- <% end -%>
- catalogBeHttpPort: <%= @catalog_be_http_port %>
- catalogBeSslPort: <%= @catalog_be_ssl_port %>
- catalogBeFqdn: <%= @catalog_be_fqdn %>
- # do not remove the "" from catalog_notification_url. it is escaping % characters coming from AUTO.json
- catalogNotificationUrl: "<%= @catalog_notification_url %>"
-
-notifications:
- pollingIntervalMsec: 2000
- selectionSize: 100
- beHost: <%= @onboard_ip %>
- beHttpPort: <%= @onboard_port %>
-
-cassandraConfig:
- cassandraHosts: [ <%= @cassandra_ip %> ]
- cassandraPort: <%= @cassandra_port %>
- localDataCenter: <%= @DC_NAME %>
- reconnectTimeout: 30000
- socketReadTimeout: <%= @socket_read_timeout %>
- socketConnectTimeout: <%= @socket_connect_timeout %>
- authenticate: true
- username: <%= @cassandra_usr %>
- password: <%= @cassandra_pwd %>
- ssl: <%= @cassandra_ssl_enabled %>
- truststorePath: <%= node['jetty']['truststore_path'] %>
- truststorePassword: <%= @cassandra_truststore_password %>
-
-# access restriction
-authCookie:
- securityKey: MlB1WHFpSHNVTWdJZU1PcQ==
- maxSessionTimeOut: 86400000
- sessionIdleTimeOut: 3600000
- cookieName: "AuthenticationCookie"
- path: /
- domain: ""
- isHttpOnly: true
- # redirect variable name from portal.properties file
- redirectURL: "redirect_url"
- excludedUrls: [ '/.*' ]
- onboardingExcludedUrls: [ '/.*' ]
-
-basicAuth:
- enabled: <%= @basic_auth_enabled %>
- userName: <%= @basic_auth_username %>
- userPass: <%= @basic_auth_password %>
- excludedUrls: "/v1.0/healthcheck"
-
-zipValidation:
- ignoreManifest: false
-
-externalCsarStore:
- storageType: NONE # NONE, MINIO
- endpoint:
- host: 127.0.0.1
- port: 9000
- secure: false
- credentials:
- accessKey: "login"
- secretKey: "password"
- foldersToStrip:
- - Files/images
- sizeLimit: 10000000
- thresholdEntries: 10000
- tempPath: "/home/onap/temp/"
- uploadPartSize: 200000000
-
-#Space separated list of permitted ancestors
-permittedAncestors: <%= @permittedAncestors %>
-
-# Comma separated list of excluded URLs by the DataValidatorFilter
-dataValidatorFilterExcludedUrls: "/healthCheck,/followed,/authorize"
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/externaltesting-configuration.yaml.erb b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/externaltesting-configuration.yaml.erb
deleted file mode 100644
index 599b5d40f7..0000000000
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/externaltesting-configuration.yaml.erb
+++ /dev/null
@@ -1,5 +0,0 @@
-client:
- enabled: true
-endpoints:
- - <%= @EP1_CONFIG %>
- - <%= @EP2_CONFIG %>
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/features.properties.erb b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/features.properties.erb
deleted file mode 100644
index 1f87ee24d4..0000000000
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/features.properties.erb
+++ /dev/null
@@ -1 +0,0 @@
-EXTERNAL_LICENSE=true \ No newline at end of file
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/helmvalidator-configuration.yaml.erb b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/helmvalidator-configuration.yaml.erb
deleted file mode 100644
index 37021c7a9a..0000000000
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/helmvalidator-configuration.yaml.erb
+++ /dev/null
@@ -1,6 +0,0 @@
-hValidatorEnabled: <%= @HVALIDATOR_ENABLED %>
-hValidatorUrl: <%= @HVALIDATOR_URL %>
-hValidatorVersion: <%= @HVALIDATOR_HELM_VERSION %>
-hValidatorDeployable: <%= @HVALIDATOR_DEPLOYABLE %>
-hValidatorLintable: <%= @HVALIDATOR_LINTABLE %>
-hValidatorStrictLintable: <%= @HVALIDATOR_STRICT_LINTABLE %>
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/http-ini.erb b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/http-ini.erb
deleted file mode 100644
index 8f2669032b..0000000000
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/http-ini.erb
+++ /dev/null
@@ -1,29 +0,0 @@
-# ---------------------------------------
-# Module: http
-<%= @http_option %>
-
-### HTTP Connector Configuration
-
-## Connector host/address to bind to
-# jetty.http.host=0.0.0.0
-
-## Connector port to listen on
-jetty.http.port=<%= @http_port %>
-
-## Connector idle timeout in milliseconds
-jetty.http.idleTimeout=30000
-
-## Connector socket linger time in seconds (-1 to disable)
-# jetty.http.soLingerTime=-1
-
-## Number of acceptors (-1 picks default based on number of cores)
-# jetty.http.acceptors=-1
-
-## Number of selectors (-1 picks default based on number of cores)
-# jetty.http.selectors=-1
-
-## ServerSocketChannel backlog (0 picks platform default)
-# jetty.http.acceptorQueueSize=0
-
-## Thread priority delta to give to acceptor threads
-# jetty.http.acceptorPriorityDelta=0
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/https-ini.erb b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/https-ini.erb
deleted file mode 100644
index 9999a4109b..0000000000
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/https-ini.erb
+++ /dev/null
@@ -1,29 +0,0 @@
-# ---------------------------------------
-# Module: https
---module=https
-
-### HTTPS Connector Configuration
-
-## Connector host/address to bind to
-# jetty.https.host=0.0.0.0
-
-## Connector port to listen on
-jetty.https.port=<%= @https_port %>
-
-## Connector idle timeout in milliseconds
-jetty.https.idleTimeout=30000
-
-## Connector socket linger time in seconds (-1 to disable)
-# jetty.https.soLingerTime=-1
-
-## Number of acceptors (-1 picks default based on number of cores)
-# jetty.https.acceptors=-1
-
-## Number of selectors (-1 picks default based on number of cores)
-# jetty.https.selectors=-1
-
-## ServerSocketChannel backlog (0 picks platform default)
-# jetty.https.acceptorQueueSize=0
-
-## Thread priority delta to give to acceptor threads
-# jetty.https.acceptorPriorityDelta=0
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/ready-probe.sh.erb b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/ready-probe.sh.erb
deleted file mode 100644
index 4ca281cee3..0000000000
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/ready-probe.sh.erb
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-health_check_http_code=$(curl -k --max-time 5 -o /dev/null -w '%{http_code}' -X GET --header "Accept: application/json" "<%= @protocol %>://127.0.0.1:<%= @port %>/onboarding-api/v1.0/healthcheck")
-if [ "$health_check_http_code" -eq 200 ]; then
- exit 0
-else
- echo "Health check http status: $health_check_http_code"
- exit 1
-fi
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/ssl-ini.erb b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/ssl-ini.erb
deleted file mode 100644
index 278fdea2ae..0000000000
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/ssl-ini.erb
+++ /dev/null
@@ -1,90 +0,0 @@
-# ---------------------------------------
-# Module: ssl
---module=ssl
-
-### TLS(SSL) Connector Configuration
-
-## Connector host/address to bind to
-# jetty.ssl.host=0.0.0.0
-
-## Connector port to listen on
-jetty.ssl.port=<%= @https_port %>
-
-## Connector idle timeout in milliseconds
-# jetty.ssl.idleTimeout=30000
-
-## Connector socket linger time in seconds (-1 to disable)
-# jetty.ssl.soLingerTime=-1
-
-## Number of acceptors (-1 picks default based on number of cores)
-# jetty.ssl.acceptors=-1
-
-## Number of selectors (-1 picks default based on number of cores)
-# jetty.ssl.selectors=-1
-
-## ServerSocketChannel backlog (0 picks platform default)
-# jetty.ssl.acceptorQueueSize=0
-
-## Thread priority delta to give to acceptor threads
-# jetty.ssl.acceptorPriorityDelta=0
-
-## Whether request host names are checked to match any SNI names
-# jetty.ssl.sniHostCheck=true
-
-## max age in seconds for a Strict-Transport-Security response header (default -1)
-# jetty.ssl.stsMaxAgeSeconds=31536000
-
-## include subdomain property in any Strict-Transport-Security header (default false)
-# jetty.ssl.stsIncludeSubdomains=true
-
-### SslContextFactory Configuration
-## Note that OBF passwords are not secure, just protected from casual observation
-## See http://www.eclipse.org/jetty/documentation/current/configuring-security-secure-passwords.html
-
-## Keystore file path (relative to $jetty.base)
-jetty.sslContext.keyStorePath=etc/org.onap.sdc.p12
-
-## Truststore file path (relative to $jetty.base)
-jetty.sslContext.trustStorePath=etc/org.onap.sdc.trust.jks
-
-## Keystore password
-# jetty.sslContext.keyStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
-jetty.sslContext.keyStorePassword=<%= @jetty_keystore_pwd %>
-
-## Keystore type and provider
-# jetty.sslContext.keyStoreType=JKS
-# jetty.sslContext.keyStoreProvider=
-
-## KeyManager password
-# jetty.sslContext.keyManagerPassword=OBF:1u2u1wml1z7s1z7a1wnl1u2g
-jetty.sslContext.keyManagerPassword=<%= @jetty_keymanager_pwd %>
-
-## Truststore password
-# jetty.sslContext.trustStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
-jetty.sslContext.trustStorePassword=<%= @jetty_truststore_pwd %>
-
-## Truststore type and provider
-# jetty.sslContext.trustStoreType=JKS
-# jetty.sslContext.trustStoreProvider=
-
-## whether client certificate authentication is required
-# jetty.sslContext.needClientAuth=false
-
-## Whether client certificate authentication is desired
-# jetty.sslContext.wantClientAuth=false
-
-## Whether cipher order is significant (since java 8 only)
-# jetty.sslContext.useCipherSuitesOrder=true
-
-## To configure Includes / Excludes for Cipher Suites or Protocols see tweak-ssl.xml example at
-## https://www.eclipse.org/jetty/documentation/current/configuring-ssl.html#configuring-sslcontextfactory-cipherSuites
-
-## Set the size of the SslSession cache
-# jetty.sslContext.sslSessionCacheSize=-1
-
-## Set the timeout (in seconds) of the SslSession cache timeout
-# jetty.sslContext.sslSessionTimeout=-1
-
-## Allow SSL renegotiation
-# jetty.sslContext.renegotiationAllowed=true
-# jetty.sslContext.renegotiationLimit=5
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/vnfrepo-configuration.yaml.erb b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/vnfrepo-configuration.yaml.erb
deleted file mode 100644
index 07e26629f0..0000000000
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/vnfrepo-configuration.yaml.erb
+++ /dev/null
@@ -1,4 +0,0 @@
-vnfRepoPort: <%= @VNFREPO_PORT %>
-vnfRepoHost: <%= @VNFREPO_IP %>
-getVnfUri: /onapapi/vnfsdk-marketplace/v1/PackageResource/csars
-downloadVnfUri: /onapapi/vnfsdk-marketplace/v1/PackageResource/csars/%s/files \ No newline at end of file