You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ At a minimum, the `ip`, `username`, and `password` options must be modified.
79
79
### [Validator]
80
80
81
81
| Variable | CLI Argument | Type | Definition |
82
-
| :--- | :--- |:---| :--- |
82
+
| :--- | :--- |:--------| :--- |
83
83
|`payload`|`--payload`| string | The mode to validate payloads ('Tree', 'Single', 'SingleFile', or 'TreeFile') followed by resource/filepath; see below. |
84
84
|`logdir`|`--logdir`| string | The directory for generated report files; default: 'logs'. |
85
85
|`oemcheck`|`--nooemcheck`| boolean | Whether to check OEM items on service; 'True' or 'False'. |
@@ -88,6 +88,8 @@ At a minimum, the `ip`, `username`, and `password` options must be modified.
88
88
|`schema_directory`|`--schema_directory`| string | Directory for local schema files. |
89
89
|`mockup`|`--mockup`| string | Directory tree for local mockup files. This option enables insertion of local mockup resources to replace missing, incomplete, or incorrect implementations retrieved from the service that may hinder full validation coverage. |
90
90
|`collectionlimit`|`--collectionlimit`| string | Sets a limit to links gathered from collections by type (schema name).<br/>Example 1: `ComputerSystem 20` limits ComputerSystemCollection to 20 links.<br/>Example 2: `ComputerSystem 20 LogEntry 10` limits ComputerSystemCollection to 20 links and LogEntryCollection to 10 links. |
91
+
|`requesttimeout`|`--requesttimeout`| integer | Timeout in seconds for HTTP request waiting for response. |
92
+
|`requestattempts`|`--requestattempts`| integer | Number of attempts after failed HTTP requests. |
argget.add_argument('--schema_directory', type=str, default='./SchemaFiles/metadata', help='Directory for local schema files')
81
81
argget.add_argument('--mockup', type=str, default='', help='Enables insertion of local mockup resources to replace missing, incomplete, or incorrect implementations retrieved from the service that may hinder full validation coverage')
82
82
argget.add_argument('--collectionlimit', type=str, default=['LogEntry', '20'], help='apply a limit to collections (format: RESOURCE1 COUNT1 RESOURCE2 COUNT2...)', nargs='+')
83
+
argget.add_argument('--requesttimeout', type=int, default=10, help='Timeout in seconds for HTTP requests waiting for response')
84
+
argget.add_argument('--requestattempts', type=int, default=10, help='Number of attempts after failed HTTP requests')
0 commit comments