X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fdata%2Fprepare_data.sh;h=0181f6d5e434581f6182ba88dfd655823e0e48a1;hb=326fd8c271cde82ade05d81b77859a002eecd33b;hp=d605efb703a692121256aa6aa6697025232c0600;hpb=979de8747c7fb63438a350fb5631494bc87b485b;p=it%2Fdep.git diff --git a/nonrtric/data/prepare_data.sh b/nonrtric/data/prepare_data.sh index d605efb7..0181f6d5 100755 --- a/nonrtric/data/prepare_data.sh +++ b/nonrtric/data/prepare_data.sh @@ -19,16 +19,16 @@ # This script is populating some data into nonrtric for demo/test purpose. # First this script copies data/ folder into one of the rics, in below case a1-sim-osc-0. -# Then from the ric, run populate_policy_data.sh and populate_enrichment_data.sh. +# Then from the ric, run populate_policy_data.sh and populate_information_data.sh. # populate_policy_data.sh creates policy-types, service, and policies. -# populate_enrichment_data.sh creates EiProducer, EiType, and EiJob. +# populate_information_data.sh creates EiProducer, EiType, and EiJob. # # Why we run the scripts in the ric, not from the host? # Because a1-simulators(ric) are deployed in statefulset, # they are not exposed to outside the k8s cluster. # And we must create policy type into the ric first. -# Similarly, the enrichmentservice is not exposed outside the k8s cluster, -# hence the commands for populating enrichment data need to be run from within the cluster. +# Similarly, the informationservice is not exposed outside the k8s cluster, +# hence the commands for populating information data need to be run from within the cluster. kubectl -n nonrtric cp run_in_k8s a1-sim-osc-0:/usr/src/app/ -kubectl -n nonrtric exec -it a1-sim-osc-0 -- bash -c 'cd run_in_k8s/ && ./populate_policy_data.sh && ./populate_enrichment_data.sh' \ No newline at end of file +kubectl -n nonrtric exec -it a1-sim-osc-0 -- bash -c 'cd run_in_k8s/ && ./populate_policy_data.sh && ./populate_information_data.sh' \ No newline at end of file