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 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arazzo-runner",
3
- "version": "0.0.3",
3
+ "version": "0.0.6",
4
4
  "description": "A runner to run through Arazzo Document workflows",
5
5
  "main": "index.js",
6
6
  "scripts": {