added update_psa_clone_customer_repository().w
This commit is contained in:
parent
bcc96a388f
commit
e356456fb5
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
source ./log_helpers
|
source ./log_helpers
|
||||||
|
|
||||||
if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
if [ "${news_to_ismas_sourced:-1}" = "1" ]; then # include only once
|
||||||
|
readonly news_to_ismas_sourced=${BASH_SOURCE[0]}
|
||||||
|
|
||||||
readonly APISM_DB_PORT=7777
|
readonly APISM_DB_PORT=7777
|
||||||
readonly UPDATE_ISMAS_PROGRESS="U0010"
|
readonly UPDATE_ISMAS_PROGRESS="U0010"
|
||||||
@ -70,6 +71,18 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
|
update_psa_clone_customer_repository () {
|
||||||
|
PERCENT=10
|
||||||
|
local params=("U0010" # event
|
||||||
|
$PERCENT # percent
|
||||||
|
$RC_SUCCESS # resultcode
|
||||||
|
"clone_customer_repository" # step
|
||||||
|
"git cloned $CUSTOMER_REPOSITORY_PATH" # step_result
|
||||||
|
"") # version
|
||||||
|
news_to_ismas ${params[*]}
|
||||||
|
return $?
|
||||||
|
}
|
||||||
|
|
||||||
update_psa_pull_customer_repository () {
|
update_psa_pull_customer_repository () {
|
||||||
PERCENT=10
|
PERCENT=10
|
||||||
local params=("U0010" # event
|
local params=("U0010" # event
|
||||||
@ -382,7 +395,7 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
|||||||
\"CREATED\":\"$(date +%Y-%m-%dT%T)\",
|
\"CREATED\":\"$(date +%Y-%m-%dT%T)\",
|
||||||
\"HASH\":\"$(compute_hash)\"
|
\"HASH\":\"$(compute_hash)\"
|
||||||
},
|
},
|
||||||
\"TARIFF\": {
|
\"TARIFF\" : {
|
||||||
$(<$TC_PSA_TC_FILE)
|
$(<$TC_PSA_TC_FILE)
|
||||||
},
|
},
|
||||||
\"HARDWARE\" : {
|
\"HARDWARE\" : {
|
||||||
|
Loading…
Reference in New Issue
Block a user