X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2FREADME.md;h=dd64c429c735cb7fdb4463e162a7547c4dc9a5c6;hb=refs%2Fchanges%2F19%2F6019%2F1;hp=99ee01588c98dba62bdb0028a365bf7f53ad8969;hpb=7682abb5a05160aeb83004a4e56c36e302eded1e;p=nonrtric.git diff --git a/test/common/README.md b/test/common/README.md index 99ee0158..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 +] [--image-repo [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,8 +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 image repo. Only required in when running in multi-node kube cluster, otherwise optional. All used images will be re-tagged and pushed to this repo - +| `--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 @@ -1004,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 | @@ -1369,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 | @@ -1377,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.