featurebase/qa/scripts/auth-smoke/tests
souhailanoor 3986e202bf
FB-1378: Use IP whitelisting for ingest authentication and authorization (#2070)
* Use IP whitelisting for ingest
For ingest, use configured IPs to authenticate the requests.
Auth-token will no longer be used for requests from ingest consumers.
If IP in request is in configured IPs, authenticate and authorize as an admin.
If IP in request is not in configured IPs, proceed with the standard authentication/authorization using ADD.

* need to remove port from client IP

* addressed review comments
2022-05-20 14:57:05 -05:00
..
README setup auth cluster infra 2022-04-14 09:37:52 -05:00
run-all.sh setup auth cluster infra 2022-04-14 09:37:52 -05:00
sup218-test.sh FB-1378: Use IP whitelisting for ingest authentication and authorization (#2070) 2022-05-20 14:57:05 -05:00
sup218_datagen.yaml remove trailing spaces en masse (#2024) 2022-04-18 09:31:35 -05:00

adding a test case to the auth-smoke directory??? no problem!!! its a snap!!!

just make a shell script that does the test you want and name it some thing like:

fb42069-test.sh

this will get picked up by run-all.sh and get run automatically!!!

# THINGS TO NOTE
- the datanode0 ip will be passed to your script in $1 via qa/scripts/bug_repro_tests.sh

# ENTHUSIASM
WOW

shout out to computers for making our lives easier! :) 👍