X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2FREADME.md;h=dd64c429c735cb7fdb4463e162a7547c4dc9a5c6;hb=d2c7d37bcf7e9193e2fafdff06802d233294a711;hp=a6c09e23eb1cf7e1feca6d111113ddf80dde87f3;hpb=520b912bce8eebb3e272c9ccfa3378b01dfd200b;p=nonrtric.git diff --git a/test/common/README.md b/test/common/README.md index a6c09e23..dd64c429 100644 --- a/test/common/README.md +++ b/test/common/README.md @@ -129,7 +129,7 @@ The script can be started with these arguments | arg list | |--| -| `remote|remote-remove docker|kube --env-file [release] [auto-clean] [--stop-at-error] [--ricsim-prefix ] [--use-local-image +] [--use-snapshot-image +] [--use-staging-image +] [--use-release-image +]` | +| `remote|remote-remove docker|kube --env-file [release] [auto-clean] [--stop-at-error] [--ricsim-prefix ] [--use-local-image +] [--use-snapshot-image +] [--use-staging-image +] [--use-release-image +] [--image-repo ]` | | parameter | description | |-|-| @@ -146,6 +146,9 @@ The script can be started with these arguments | `--use-snapshot-image` | The script will use images from the nexus snapshot repo for the supplied apps, space separated list of app short names | | `--use-staging-image` | The script will use images from the nexus staging repo for the supplied apps, space separated list of app short names | | `--use-release-image` | The script will use images from the nexus release repo for the supplied apps, space separated list of app short names | +| `--image-repo` | Url to optional image repo. Only locally built images will be re-tagged and pushed to this repo | +| `-repo-policy ` | Policy controlling which images to re-tag and push to image repo in param --image-repo. Can be set to 'local' (push on locally built images) or 'remote' (push locally built images and images from nexus repo). Default is 'local' | +| `--cluster-timeout` | Optional timeout for cluster where it takes time to obtain external ip/host-name. Timeout in seconds | | `help` | Print this info along with the test script description and the list of app short names supported | ## Function: setup_testenvironment @@ -1002,8 +1005,14 @@ Start the ECS container in docker or kube depending on running mode. |--| | None | -## Function: restart_ecs ## -Restart the ECS container. +## Function: stop_ecs ## +Stop the ECS container. +| arg list | +|--| +| None | + +## Function: start_stopped_ecs ## +Start a previously stopped ecs. | arg list | |--| | None | @@ -1367,6 +1376,18 @@ Only response code tested - not payload # Description of functions in http_proxy_api_functions.sh # +## Function: use_http_proxy_http ## +Use http for all proxy requests. Note that this only applicable to the actual proxy request, the proxied protocol can still be http and https. +| arg list | +|--| +| None | + +## Function: use_http_proxy_https ## +Use https for all proxy requests. Note that this only applicable to the actual proxy request, the proxied protocol can still be http and https. +| arg list | +|--| +| None | + ## Function: start_http_proxy ## Start the http proxy container in docker or kube depending on running mode. | arg list | @@ -1375,6 +1396,18 @@ Start the http proxy container in docker or kube depending on running mode. # Description of functions in kube_proxy_api_functions.sh # +## Function: use_kube_proxy_http ## +Use http for all proxy requests. Note that this only applicable to the actual proxy request, the proxied protocol can still be http and https. +| arg list | +|--| +| None | + +## Function: use_kube_proxy_https ## +Use https for all proxy requests. Note that this only applicable to the actual proxy request, the proxied protocol can still be http and https. +| arg list | +|--| +| None | + ## Function: start_kube_proxy ## Start the kube proxy container in kube. This proxy enabled the test env to access all services and pods in a kube cluster. No proxy is started if the function is called in docker mode.