aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/robotframework/tests
diff options
context:
space:
mode:
authorSirisha_Manchikanti <sirisha.manchikanti@est.tech>2021-05-07 15:17:52 +0100
committerSirisha_Manchikanti <sirisha.manchikanti@est.tech>2021-05-13 09:00:52 +0100
commitf83411a86e2277adae69e780e8511913d61a0f17 (patch)
treed75f197e703270cda608c9bd0d236f7ce8c12e13 /src/test/resources/robotframework/tests
parentcac5cc982413ab9593186d308eda8936e9603ad9 (diff)
Modular structure of clamp including controlloop
This commit is the first commit that puts in multi module structure while changing the existing CLAMP code as little as possible. It adds a structure where common, models, participant and runtime are direct children under clamp, and current clamp code is moved under runtime. This runtime directory will host controlloop runtime code in later commits. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'src/test/resources/robotframework/tests')
-rw-r--r--src/test/resources/robotframework/tests/01_healthcheck.robot19
-rw-r--r--src/test/resources/robotframework/tests/02_policy_queries.robot21
2 files changed, 0 insertions, 40 deletions
diff --git a/src/test/resources/robotframework/tests/01_healthcheck.robot b/src/test/resources/robotframework/tests/01_healthcheck.robot
deleted file mode 100644
index f19266781..000000000
--- a/src/test/resources/robotframework/tests/01_healthcheck.robot
+++ /dev/null
@@ -1,19 +0,0 @@
-*** Settings ***
-Library Collections
-Library RequestsLibrary
-Library OperatingSystem
-Library json
-Library OperatingSystem
-*** Variables ***
-${login} admin
-${passw} password
-*** Keywords ***
-Create the sessions
-*** Test Cases ***
-Get Requests health check ok
- ${port} = Get Environment Variable CLAMP_PORT
- ${auth}= Create List ${login} ${passw}
- Create Session clamp http://localhost:${port} auth=${auth} disable_warnings=1
- Set Global Variable ${clamp_session} clamp
- ${resp}= Get Request ${clamp_session} /restservices/clds/v1/healthcheck
- Should Be Equal As Strings ${resp.status_code} 200 \ No newline at end of file
diff --git a/src/test/resources/robotframework/tests/02_policy_queries.robot b/src/test/resources/robotframework/tests/02_policy_queries.robot
deleted file mode 100644
index 713a39f52..000000000
--- a/src/test/resources/robotframework/tests/02_policy_queries.robot
+++ /dev/null
@@ -1,21 +0,0 @@
-*** Settings ***
-Library Collections
-Library RequestsLibrary
-Library OperatingSystem
-Library json
-Library OperatingSystem
-*** Variables ***
-${login} admin
-${passw} password
-${reponse_pdp_group} pdpGroupInfo
-*** Keywords ***
-Create the sessions
-*** Test Cases ***
-Get Requests policies list ok
- ${port} = Get Environment Variable CLAMP_PORT
- ${auth} = Create List ${login} ${passw}
- Create Session clamp http://localhost:${port} auth=${auth} disable_warnings=1
- Set Global Variable ${clamp_session} clamp
- ${response_query}= Get Request ${clamp_session} /restservices/clds/v2/policies
- Should Be Equal As Strings ${response_query.status_code} 200
- Should Contain ${response_query.text} ${reponse_pdp_group} \ No newline at end of file