1 |
sekhri |
1.1 |
echo "set the debug mode to false in DBSContants for this script to work properly"
|
2 |
|
|
echo "Fetching dataset contents .. "
|
3 |
sekhri |
1.2 |
#out=`./cli.sh api=listDatasetContents path=/aThis_is_a_test_prim/aThis_is_a_test_tier/aCHILD_This_is_a_test_processed block_name="/test/abcest#92357b24-c458-4649-b61e-655939533659"`
|
4 |
sekhri |
1.3 |
rand="2060889a-91bc-4cdc-b3bb-d8ff6f85c49b"
|
5 |
|
|
out=`./cli.sh api=listDatasetContents path=/This_is_a_test_primary_$rand/This_is_a_test_tier_SIM_$rand/CHILD_This_is_a_test_processed_$rand "block_name=/test/test#$rand"`
|
6 |
sekhri |
1.1 |
echo "$out"
|
7 |
|
|
echo "Inserting dataset contents .."
|
8 |
|
|
./cli.sh api=insertDatasetContents "xmlinput=$out"
|