summaryrefslogtreecommitdiffstats
path: root/postman-collections/README.md
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2024-02-15 11:34:36 +0000
committerJeff van Dam <jeff.van.dam@est.tech>2024-02-23 13:04:49 +0000
commit1cbfc28c8a32938228cab4f9f172e2804308b3ec (patch)
treefd3dcb2802d8e5498ef2c4293a574e963cd3e239 /postman-collections/README.md
parentd8580ac133935b6a8ac38bbed2452072510a0b67 (diff)
Create shared postman collections
Issue-ID: CPS-2054 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I0a7e941bc4accfe00edaf7157df5a8ebabadb187
Diffstat (limited to 'postman-collections/README.md')
-rw-r--r--postman-collections/README.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/postman-collections/README.md b/postman-collections/README.md
new file mode 100644
index 000000000..004ef5b74
--- /dev/null
+++ b/postman-collections/README.md
@@ -0,0 +1,34 @@
+<!--
+ ============LICENSE_START=======================================================
+ Copyright (C) 2024 Nordix Foundation.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ SPDX-License-Identifier: Apache-2.0
+ ============LICENSE_END=========================================================
+-->
+
+# Importing and running the CPS postman collections
+## Importing the CPS collections
+To import the CPS collections and environment:
+1. Create a "Workspace" (or if you have one already you can use that)
+2. Click "Import" (or click "File" then "Import")
+3. Drag and drop the "postman-collection" folder into the import pop-up
+4. The collections and environment should now be imported
+5. Set the current environment to "CPS Environment" (usually at the top right. Default is "No Environment") This will provide the necessary variables such as "CPS_HOST" and "CPS_PORT" to allow the requests to be run
+
+## Running the collections
+To run the requests in the collections simply select the request and click send. "Create Schema Set" in "CPS-CORE" requires a file to send the request. Example files are provided: "bookstore.yang" and "bookstore-types.yang" (these files must be zipped before adding them to the request)
+
+## Notes
+When exporting postman collections tabs are used for spacing, so replacing all the tabs is necessary