diff options
author | 2021-11-24 12:00:45 +0100 | |
---|---|---|
committer | 2021-12-13 17:01:24 +0000 | |
commit | bae8d839893d1ce5c1e9dfa670fbe536520093a0 (patch) | |
tree | 02feb907365859d03498ee9db10cf517a05804d1 /robot/assets/helm/pm-https-server/README.md | |
parent | 2a2c4c30c423a528e1969eaa8fb1176ba3250689 (diff) |
[ROBOT] ADD HTTPS based BULKPM test cases that use helm based componentsrefactoring
Add https server based test cases
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Issue-ID: INT-1895
Change-Id: I74f7102398a08e1629b50f510ef179d35c8761bd
Diffstat (limited to 'robot/assets/helm/pm-https-server/README.md')
-rw-r--r-- | robot/assets/helm/pm-https-server/README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/robot/assets/helm/pm-https-server/README.md b/robot/assets/helm/pm-https-server/README.md new file mode 100644 index 00000000..f7d80ee8 --- /dev/null +++ b/robot/assets/helm/pm-https-server/README.md @@ -0,0 +1,34 @@ +# PM HTTPS Server + +# How to deploy on lab + +1. Copy files from helm/pm-https-server to lab + + `scp -i <path to key file .pem> -r <path to>/pm-https-server ubuntu@<RKE_NODE_IP>:<remote path to>/pm-https-server ` +2. Log into the RKE + +3. Install chart on your lab + + `helm install pm-https-server ./pm-https-server` + +# Checking if everything is working properly + +1. Find service on which your application runs + + `kubectl get service | grep pm-https-server` + +2. If service is running try to connect to server + + `curl -u demo:demo123456! <http://WORKER_IP:PM_HTTPS_SERVER_PORT>` + + if everything is working properly you should get response like below + + `<html><body><h1>It works!</h1></body></html>` + +3. If step 2 ends with success try to upload file + + `curl -F "uploaded_file=@./resources/E_VES_bulkPM_IF_3GPP_3_example_1.xml.gz" -u demo:demo123456! http://WORKER_IP:PM_HTTPS_SERVER_PORT/upload.php` + + When file will be successfully uploaded you should see information like this: + + `The file E_VES_bulkPM_IF_3GPP_3_example_1.xml.gz has been uploaded`
\ No newline at end of file |