Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updated helm charts for e-release
[it/dep.git]
/
nonrtric
/
data
/
run_in_k8s
/
populate_information_data.sh
diff --git
a/nonrtric/data/run_in_k8s/populate_enrichment_data.sh
b/nonrtric/data/run_in_k8s/populate_information_data.sh
similarity index 66%
rename from
nonrtric/data/run_in_k8s/populate_enrichment_data.sh
rename to
nonrtric/data/run_in_k8s/populate_information_data.sh
index
14edb81
..
71bd916
100755
(executable)
--- a/
nonrtric/data/run_in_k8s/populate_enrichment_data.sh
+++ b/
nonrtric/data/run_in_k8s/populate_information_data.sh
@@
-17,66
+17,66
@@
# ============LICENSE_END=================================================
#
# ============LICENSE_END=================================================
#
-# This script will generate some dummy
enrichment
data in the running system.
+# This script will generate some dummy
information
data in the running system.
# It will create:
# It will create:
-# one EiProducer in
E
CS
-# one EiType in
E
CS
-# one EiJob in
E
CS
+# one EiProducer in
I
CS
+# one EiType in
I
CS
+# one EiJob in
I
CS
-
ecs_host="enrichment
service"
-
e
cs_port="9082"
+
ics_host="information
service"
+
i
cs_port="9082"
httpx=http
httpx=http
-echo "
E
CS status:"
-curl -skw " %{http_code}" $httpx://$
ecs_host:$e
cs_port/status
+echo "
I
CS status:"
+curl -skw " %{http_code}" $httpx://$
ics_host:$i
cs_port/status
echo -e "\n"
# Create EiType
echo "Create EiType:"
echo -e "\n"
# Create EiType
echo "Create EiType:"
-curl -X PUT -skw %{http_code} $httpx://$
ecs_host:$ecs_port/data-producer/v1/info-types/type1 -H accept:application/json -H Content-Type:application/json --data-binary @testdata/E
CS/EiType.json
+curl -X PUT -skw %{http_code} $httpx://$
ics_host:$ics_port/data-producer/v1/info-types/type1 -H accept:application/json -H Content-Type:application/json --data-binary @testdata/I
CS/EiType.json
echo -e "\n"
# Get EiTypes
echo "Get EiTypes:"
echo -e "\n"
# Get EiTypes
echo "Get EiTypes:"
-curl -X GET -skw %{http_code} $httpx://$
ecs_host:$e
cs_port/data-producer/v1/info-types -H Content-Type:application/json
+curl -X GET -skw %{http_code} $httpx://$
ics_host:$i
cs_port/data-producer/v1/info-types -H Content-Type:application/json
echo -e "\n"
# Get Individual EiType
echo "Get Individual EiType:"
echo -e "\n"
# Get Individual EiType
echo "Get Individual EiType:"
-curl -X GET -skw %{http_code} $httpx://$
ecs_host:$e
cs_port/data-producer/v1/info-types/type1 -H Content-Type:application/json
+curl -X GET -skw %{http_code} $httpx://$
ics_host:$i
cs_port/data-producer/v1/info-types/type1 -H Content-Type:application/json
echo -e "\n"
# Create EiProducer
echo "Create EiProducer:"
echo -e "\n"
# Create EiProducer
echo "Create EiProducer:"
-curl -X PUT -skw %{http_code} $httpx://$
ecs_host:$ecs_port/data-producer/v1/info-producers/1 -H Content-Type:application/json --data-binary @testdata/E
CS/EiProducer.json
+curl -X PUT -skw %{http_code} $httpx://$
ics_host:$ics_port/data-producer/v1/info-producers/1 -H Content-Type:application/json --data-binary @testdata/I
CS/EiProducer.json
echo -e "\n"
# Get EiProducers
echo "Get EiProducers:"
echo -e "\n"
# Get EiProducers
echo "Get EiProducers:"
-curl -X GET -skw %{http_code} $httpx://$
ecs_host:$e
cs_port/data-producer/v1/info-producers -H Content-Type:application/json
+curl -X GET -skw %{http_code} $httpx://$
ics_host:$i
cs_port/data-producer/v1/info-producers -H Content-Type:application/json
echo -e "\n"
# Get Individual EiProducer
echo "Get Individual EiProducer:"
echo -e "\n"
# Get Individual EiProducer
echo "Get Individual EiProducer:"
-curl -X GET -skw %{http_code} $httpx://$
ecs_host:$e
cs_port/data-producer/v1/info-producers/1 -H Content-Type:application/json
+curl -X GET -skw %{http_code} $httpx://$
ics_host:$i
cs_port/data-producer/v1/info-producers/1 -H Content-Type:application/json
echo -e "\n"
# Get Individual EiProducer Status
echo "Get Individual EiProducer:"
echo -e "\n"
# Get Individual EiProducer Status
echo "Get Individual EiProducer:"
-curl -X GET -skw %{http_code} $httpx://$
ecs_host:$e
cs_port/data-producer/v1/info-producers/1/status -H Content-Type:application/json
+curl -X GET -skw %{http_code} $httpx://$
ics_host:$i
cs_port/data-producer/v1/info-producers/1/status -H Content-Type:application/json
echo -e "\n"
# Create EiJob
echo "Create EiJob Of A Certain Type type1:"
echo -e "\n"
# Create EiJob
echo "Create EiJob Of A Certain Type type1:"
-curl -X PUT -skw %{http_code} $httpx://$
ecs_host:$ecs_port/data-consumer/v1/info-jobs/job1 -H Content-Type:application/json --data-binary @testdata/E
CS/EiJob.json
+curl -X PUT -skw %{http_code} $httpx://$
ics_host:$ics_port/data-consumer/v1/info-jobs/job1 -H Content-Type:application/json --data-binary @testdata/I
CS/EiJob.json
echo -e "\n"
# Get EiJobs
echo "Get EiJobs:"
echo -e "\n"
# Get EiJobs
echo "Get EiJobs:"
-curl -X GET -skw %{http_code} $httpx://$
ecs_host:$e
cs_port/data-consumer/v1/info-jobs -H Content-Type:application/json
+curl -X GET -skw %{http_code} $httpx://$
ics_host:$i
cs_port/data-consumer/v1/info-jobs -H Content-Type:application/json
echo -e "\n"
# Get Individual EiJob:
echo "Get Individual EiJob:"
echo -e "\n"
# Get Individual EiJob:
echo "Get Individual EiJob:"
-curl -X GET -skw %{http_code} $httpx://$
ecs_host:$e
cs_port/data-consumer/v1/info-jobs/job1 -H Content-Type:application/json
+curl -X GET -skw %{http_code} $httpx://$
ics_host:$i
cs_port/data-consumer/v1/info-jobs/job1 -H Content-Type:application/json
echo -e "\n"
\ No newline at end of file
echo -e "\n"
\ No newline at end of file