arazzo-runner 0.0.3 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -4
- package/package.json +1 -1
- package/src/Arazzo.js +148 -213
- package/src/Expression.js +0 -4
- package/src/Logger.js +7 -2
- package/src/Rules.js +123 -16
- package/.nyc_output/500b09aa-3263-4d30-a513-41e991b6d338.json +0 -1
- package/.nyc_output/processinfo/500b09aa-3263-4d30-a513-41e991b6d338.json +0 -1
- package/.nyc_output/processinfo/index.json +0 -1
- package/arazzo.json +0 -1
- package/pets-openAPI.json +0 -1
- package/users-arazzo.json +0 -1
- package/users-openAPI.json +0 -1
- package/usersOpenAPI.json +0 -1
package/README.md
CHANGED
|
@@ -63,6 +63,34 @@ jq --arg password "$secret_password" '.workflowId1.password = $password' input.j
|
|
|
63
63
|
|
|
64
64
|
Obviously, if you have a lot of secret variables that need adding as inputs, then you might need to write a script that can alter the `input.json` file for you within your CI/CD runner.
|
|
65
65
|
|
|
66
|
+
## Logging And Reporting
|
|
67
|
+
|
|
68
|
+
### Logging
|
|
69
|
+
|
|
70
|
+
Logging is currently pretty verbose, with an example Log looking like:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
Running Workflows
|
|
74
|
+
Running Workflow: createUser
|
|
75
|
+
Running Step: createAUser
|
|
76
|
+
Getting Source Description for: users-openAPI
|
|
77
|
+
Making a POST to http://petstore.swagger.io/v2/user
|
|
78
|
+
http://petstore.swagger.io/v2/user responded with a: 200
|
|
79
|
+
==================================================================================
|
|
80
|
+
Checking: $statusCode == 200
|
|
81
|
+
✅ $statusCode == 200 passed
|
|
82
|
+
==================================================================================
|
|
83
|
+
✅ All criteria checks passed
|
|
84
|
+
Running onSuccess Rules
|
|
85
|
+
✅ Step createAUser completed
|
|
86
|
+
✅ Workflow createUser completed
|
|
87
|
+
✅ All Workflows run
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Reporting
|
|
91
|
+
|
|
92
|
+
Work on Reporting still needs completeing.
|
|
93
|
+
|
|
66
94
|
## Still unsupported
|
|
67
95
|
|
|
68
96
|
### OpenAPI Params
|
|
@@ -84,7 +112,3 @@ Responses that do not conform to application/json do not work
|
|
|
84
112
|
### Non application/json Requests
|
|
85
113
|
|
|
86
114
|
Requests that do not conform to application/json do not work
|
|
87
|
-
|
|
88
|
-
#### Reporting && Logging
|
|
89
|
-
|
|
90
|
-
A better reporter/logger than console.log still needs to be implemented.
|