Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch] Make the example API keys more clearly examples to avoid fals… #64

Merged
merged 1 commit into from
Jun 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions svt_tools/scripts/python/list1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ c:\workspaces\MessageSight\svt_tools\scripts\python>REM first we set up the envi

c:\workspaces\MessageSight\svt_tools\scripts\python>REM Expected environment variables & example values:

c:\workspaces\MessageSight\svt_tools\scripts\python>SET ORG_OWNER=imaperf@us.ibm.com
c:\workspaces\MessageSight\svt_tools\scripts\python>SET ORG_OWNER=someone@example.com

c:\workspaces\MessageSight\svt_tools\scripts\python>SET ORG_NAME=shvknh
c:\workspaces\MessageSight\svt_tools\scripts\python>SET ORG_NAME=org123

c:\workspaces\MessageSight\svt_tools\scripts\python>SET API_KEY="a-shvknh-crkijrrazg"
c:\workspaces\MessageSight\svt_tools\scripts\python>SET API_KEY=a-org123-example123

c:\workspaces\MessageSight\svt_tools\scripts\python>SET API_TOKEN="8utxEmuh14UtV*3dkB"
c:\workspaces\MessageSight\svt_tools\scripts\python>SET API_TOKEN=exampleExample123

c:\workspaces\MessageSight\svt_tools\scripts\python>REM SET REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
c:\workspaces\MessageSight\svt_tools\scripts\python>REM SET REST_URL=test.iot.example.com/api/v0001

c:\workspaces\MessageSight\svt_tools\scripts\python>SET REST_URL=lon02-1.test.internetofthings.ibmcloud.com/api/v0001
c:\workspaces\MessageSight\svt_tools\scripts\python>SET REST_URL=test.iot.example.com/api/v0001

c:\workspaces\MessageSight\svt_tools\scripts\python>SET DEVICE_TYPE=

Expand Down
12 changes: 6 additions & 6 deletions svt_tools/scripts/python/svt_iotf_bulk_cleanup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ REM BAT file to run svt-register-iotf to register all of the necessary organizat
REM first we set up the environment variables we need
REM Expected environment variables & example values:

SET ORG_OWNER=imaperf@us.ibm.com
SET ORG_OWNER=someone@example.com


SET ORG_NAME=tqkcwr
set API_KEY="a-tqkcwr-mrwzj2dwrl"
SET API_TOKEN="3XxELERMapEjwu(3l+"
SET ORG_NAME=org123
set API_KEY=a-org123-example123
SET API_TOKEN=exampleExample123

REM SET REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
SET REST_URL="lon02-1.test.internetofthings.ibmcloud.com/api/v0001"
REM SET REST_URL=test.iot.example.com/api/v0001
SET REST_URL=test.iot.example.com/api/v0001
SET NUM_THREADS=1
REM SET CSV_DEVICE_FILE=next20kdevices.csv
SET CSV_DEVICE_FILE=100kcar.csv
Expand Down
12 changes: 6 additions & 6 deletions svt_tools/scripts/python/svt_iotf_bulk_register.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ REM BAT file to run svt-register-iotf to register all of the necessary organizat
REM first we set up the environment variables we need
REM Expected environment variables & example values:

SET ORG_OWNER=imaperf@us.ibm.com
SET ORG_OWNER=someone@example.com

SET ORG_NAME=w7vwxv
set API_KEY="a-w7vwxv-dixplhfggn"
SET API_TOKEN="bUjVV5D9hQG9dzoH-d"
SET ORG_NAME=org123
set API_KEY=a-org123-example123
SET API_TOKEN=exampleExample123

SET FIRST_DEVICE_ID=0
SET LAST_DEVICE_ID=0

REM SET REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
SET REST_URL="lon02-1.test.internetofthings.ibmcloud.com/api/v0001"
REM SET REST_URL=test.iot.example.com/api/v0001
SET REST_URL=test.iot.example.com/api/v0001
SET NUM_THREADS=1
REM SET CSV_DEVICE_FILE=next20kdevices.csv
SET CSV_DEVICE_FILE=missingCars.csv
Expand Down
24 changes: 12 additions & 12 deletions svt_tools/scripts/python/svt_iotf_bulk_register_2.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@ REM BAT file to run svt-register-iotf to register all of the necessary organizat
REM first we set up the environment variables we need
REM Expected environment variables & example values:

SET ORG_OWNER=imaperf@us.ibm.com
SET ORG_OWNER=someone@example.com

REM STAGING ORGANIZATIONS AND KEYS
REM SET ORG_NAME=dxdwqs
REM SET API_KEY=a-dxdwqs-6xzmkugb93
REM SET API_TOKEN=wSON-Grf16*kNSasC5
REM SET ORG_NAME=org123
REM SET API_KEY=a-org123-example123
REM SET API_TOKEN=exampleExample123

REM SET ORG_NAME=nwxtmk
REM SET API_KEY=a-nwxtmk-s1bmnuh5ho
REM SET API_TOKEN=Ot89XoKfqrrnlN3bR4
REM SET ORG_NAME=org123
REM SET API_KEY=a-org123-example123
REM SET API_TOKEN=exampleExample123

REM TEST ORGANIZATION AND KEYS

SET ORG_NAME=5dhmel
SET API_KEY="a-5dhmel-hbrn8kfwr1"
SET API_TOKEN="3XsIR2lqdaM1Z@s0Om"
SET ORG_NAME=org123
SET API_KEY=a-org123-example123
SET API_TOKEN=exampleExample123

SET FIRST_DEVICE_ID=0
SET LAST_DEVICE_ID=0

REM SET REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
SET REST_URL="lon02-1.test.internetofthings.ibmcloud.com/api/v0001"
REM SET REST_URL=test.iot.example.com/api/v0001
SET REST_URL=test.iot.example.com/api/v0001
SET NUM_THREADS=10
REM SET CSV_DEVICE_FILE=next20kdevices.csv
SET CSV_DEVICE_FILE=50kcar.csv
Expand Down
24 changes: 12 additions & 12 deletions svt_tools/scripts/python/svt_iotf_cleanup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ REM BAT file to run svt-register-iotf to register all of the necessary organizat
REM first we set up the environment variables we need
REM Expected environment variables & example values:

SET ORG_OWNER=imaperf@us.ibm.com
SET ORG_OWNER=someone@example.com

REM SET ORG_NAME=dxdwqs
REM SET API_KEY=a-dxdwqs-6xzmkugb93
REM SET API_TOKEN=wSON-Grf16*kNSasC5
REM SET ORG_NAME=org123
REM SET API_KEY=a-org123-example123
REM SET API_TOKEN=exampleExample123

REM SET ORG_NAME=nwxtmk
REM SET API_KEY=a-nwxtmk-s1bmnuh5ho
REM SET API_TOKEN=Ot89XoKfqrrnlN3bR4
REM SET ORG_NAME=org123
REM SET API_KEY=a-org123-example123
REM SET API_TOKEN=exampleExample123

SET DEVICE_TYPE=

REM TEST ORGANIZATION AND KEYS

SET ORG_NAME=tqkcwr
set API_KEY="a-tqkcwr-mrwzj2dwrl"
SET API_TOKEN="3XxELERMapEjwu(3l+"
SET ORG_NAME=org123
set API_KEY=a-org123-example123
SET API_TOKEN=exampleExample123

REM SET REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
REM SET REST_URL=test.iot.example.com/api/v0001

SET REST_URL=lon02-1.test.internetofthings.ibmcloud.com/api/v0001
SET REST_URL=test.iot.example.com/api/v0001

SET NUM_THREADS=255

Expand Down
16 changes: 8 additions & 8 deletions svt_tools/scripts/python/svt_iotf_cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
# first we set up the environment variables we need
# Expected environment variables & example values:

export ORG_OWNER=imaperf@us.ibm.com
export ORG_OWNER=someone@example.com

#export ORG_NAME=dxdwqs
#export API_KEY=a-dxdwqs-6xzmkugb93
#export API_TOKEN=wSON-Grf16*kNSasC5
export ORG_NAME=nwxtmk
export API_KEY=a-nwxtmk-s1bmnuh5ho
export API_TOKEN=Ot89XoKfqrrnlN3bR4
export REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
#export ORG_NAME=org123
#export API_KEY=a-org123-example123
#export API_TOKEN=exampleExample123
export ORG_NAME=org123
export API_KEY=a-org123-example123
export API_TOKEN=exampleExample123
export REST_URL=test.iot.example.com/api/v0001
export NUM_THREADS=255

/usr/local/bin/python3 svt_iotf_cleanup_sample.py
24 changes: 12 additions & 12 deletions svt_tools/scripts/python/svt_iotf_cleanup_2.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@ REM BAT file to run svt-register-iotf to register all of the necessary organizat
REM first we set up the environment variables we need
REM Expected environment variables & example values:

SET ORG_OWNER=imaperf@us.ibm.com
SET ORG_OWNER=someone@example.com

REM SET ORG_NAME=dxdwqs
REM SET API_KEY=a-dxdwqs-6xzmkugb93
REM SET API_TOKEN=wSON-Grf16*kNSasC5
REM SET ORG_NAME=org123
REM SET API_KEY=a-org123-example123
REM SET API_TOKEN=exampleExample123

REM SET ORG_NAME=nwxtmk
REM SET API_KEY=a-nwxtmk-s1bmnuh5ho
REM SET API_TOKEN=Ot89XoKfqrrnlN3bR4
REM SET ORG_NAME=org123
REM SET API_KEY=a-org123-example123
REM SET API_TOKEN=exampleExample123

SET DEVICE_TYPE=

REM TEST ORGANIZATION AND KEYS

SET ORG_NAME=5dhmel
SET API_KEY="a-5dhmel-hbrn8kfwr1"
SET API_TOKEN="3XsIR2lqdaM1Z@s0Om"
SET ORG_NAME=org123
SET API_KEY=a-org123-example123
SET API_TOKEN=exampleExample123


REM SET REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
REM SET REST_URL=test.iot.example.com/api/v0001

SET REST_URL=lon02-1.test.internetofthings.ibmcloud.com/api/v0001
SET REST_URL=test.iot.example.com/api/v0001

SET NUM_THREADS=255

Expand Down
12 changes: 6 additions & 6 deletions svt_tools/scripts/python/svt_iotf_list.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ REM BAT file to run svt-register-iotf to register all of the necessary organizat
REM first we set up the environment variables we need
REM Expected environment variables & example values:

SET ORG_OWNER=imaperf@us.ibm.com
SET ORG_OWNER=someone@example.com


SET ORG_NAME=shvknh
SET API_KEY="a-shvknh-crkijrrazg"
SET ORG_NAME=org123
SET API_KEY=a-org123-example123

SET API_TOKEN="8utxEmuh14UtV*3dkB"
SET API_TOKEN=exampleExample123

REM SET REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
SET REST_URL=lon02-1.test.internetofthings.ibmcloud.com/api/v0001
REM SET REST_URL=test.iot.example.com/api/v0001
SET REST_URL=test.iot.example.com/api/v0001
SET DEVICE_TYPE=
SET NUM_THREADS=1

Expand Down
16 changes: 8 additions & 8 deletions svt_tools/scripts/python/svt_iotf_list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
#first we set up the environment variables we need
#Expected environment variables & example values:

export ORG_OWNER=imaperf@us.ibm.com
export ORG_OWNER=someone@example.com


export ORG_NAME=dxdwqs
export API_KEY=a-dxdwqs-6xzmkugb93
export API_TOKEN=wSON-Grf16*kNSasC5
export ORG_NAME=org123
export API_KEY=a-org123-example123
export API_TOKEN=exampleExample123

#export ORG_NAME=nwxtmk
#export API_KEY=a-nwxtmk-s1bmnuh5ho
#export API_TOKEN=Ot89XoKfqrrnlN3bR4
#export ORG_NAME=org123
#export API_KEY=a-org123-example123
#export API_TOKEN=exampleExample123

export REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
export REST_URL=test.iot.example.com/api/v0001
export NUM_THREADS=1

/usr/local/bin/python3 svt_iotf_list_sample.py
24 changes: 12 additions & 12 deletions svt_tools/scripts/python/svt_iotf_register.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ REM BAT file to run svt-register-iotf to register all of the necessary organizat
REM first we set up the environment variables we need
REM Expected environment variables & example values:

SET ORG_OWNER=imaperf@us.ibm.com
SET ORG_OWNER=someone@example.com

REM SET ORG_NAME=dxdwqs
REM SET API_KEY=a-dxdwqs-6xzmkugb93
REM SET API_TOKEN=wSON-Grf16*kNSasC5
REM SET ORG_NAME=org123
REM SET API_KEY=a-org123-example123
REM SET API_TOKEN=exampleExample123

REM SET ORG_NAME=nwxtmk
REM SET API_KEY=a-nwxtmk-s1bmnuh5ho
REM SET API_TOKEN=Ot89XoKfqrrnlN3bR4
REM SET ORG_NAME=org123
REM SET API_KEY=a-org123-example123
REM SET API_TOKEN=exampleExample123

REM TEST ORGANIZATION AND KEYS
SET ORG_NAME=nnvgkj
SET API_KEY="a-nnvgkj-cnqtzpikn8"
SET API_TOKEN="vDgHTD_jUj3ahpOpCH"
SET ORG_NAME=org123
SET API_KEY=a-org123-example123
SET API_TOKEN=exampleExample123


REM SET REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
SET REST_URL="lon02-1.test.internetofthings.ibmcloud.com/api/v0001"
REM SET REST_URL=test.iot.example.com/api/v0001
SET REST_URL=test.iot.example.com/api/v0001

SET NUM_THREADS=255

Expand Down
16 changes: 8 additions & 8 deletions svt_tools/scripts/python/svt_iotf_register.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
#first we set up the environment variables we need
#Expected environment variables & example values:

export ORG_OWNER=imaperf@us.ibm.com
export ORG_OWNER=someone@example.com


export ORG_NAME=dxdwqs
export API_KEY=a-dxdwqs-6xzmkugb93
export API_TOKEN=wSON-Grf16*kNSasC5
export ORG_NAME=org123
export API_KEY=a-org123-example123
export API_TOKEN=exampleExample123

#export ORG_NAME=nwxtmk
#export API_KEY=a-nwxtmk-s1bmnuh5ho
#export API_TOKEN=Ot89XoKfqrrnlN3bR4
#export ORG_NAME=org123
#export API_KEY=a-org123-example123
#export API_TOKEN=exampleExample123

export REST_URL=staging.internetofthings.ibmcloud.com/api/v0001
export REST_URL=test.iot.example.com/api/v0001
export NUM_THREADS=255

/usr/local/bin/python3 svt_iotf_register_sample.py