@itentialopensource/adapter-servicenow 2.4.4 → 2.5.0
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/AUTH.md +11 -14
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +23 -18
- package/SYSTEMINFO.md +9 -6
- package/adapter.js +161 -333
- package/adapterBase.js +465 -898
- package/changelogs/changelog.md +175 -0
- package/metadata.json +106 -33
- package/package.json +24 -24
- package/pronghorn.json +934 -595
- package/propertiesSchema.json +358 -31
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691172645870.json +120 -0
- package/sampleProperties.json +51 -2
- package/test/integration/adapterTestBasicGet.js +2 -4
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +130 -2
- package/test/unit/adapterBaseTestUnit.js +388 -313
- package/test/unit/adapterTestUnit.js +342 -122
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +2 -2
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/pre-commit.sh +2 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +89 -34
- package/utils/tbUtils.js +41 -21
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +9 -6
- package/workflows/README.md +0 -3
- package/workflows/ServiceNow - get change, get attachment, create change.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"ServiceNow - get change, get attachment, create change","tasks":{"8267":{"name":"getAttachmentsMetadata","summary":"This method gets the metadata for multiple attachments.","description":"This method gets the metadata for multiple attachments.","location":"Adapter","locationType":"Servicenow","app":"Servicenow","displayName":"Servicenow","type":"automatic","variables":{"incoming":{"sysparmQuery":"$var.c14c.combinedStrings","adapter_id":"servicenow"},"outgoing":{"result":null},"error":""},"deprecated":false,"matched":[{"key":"name","highlightString":"<span class='highlight-string'>getAttac</span>hmentsMetadata"}],"groups":[],"actor":"Pronghorn","x":0.508695652173913,"y":0.45952677459526775,"scheduled":false},"workflow_start":{"name":"workflow_start","groups":[],"x":0.0007246376811594203,"y":0.35367372353673726},"workflow_end":{"name":"workflow_end","groups":[],"x":1,"y":0.5},"e6b2":{"name":"getChangeRequests","summary":"Returns the changes from the provided ServiceNow instance.","description":"The function will return all changes that are found unless you provide either the number or the id. In those cases it will return the change(s) that match the specified criteria. If an id is provided, it will be the only criteria utilized.","location":"Adapter","locationType":"Servicenow","app":"Servicenow","displayName":"Servicenow","type":"automatic","variables":{"incoming":{"sysparmQuery":"number=CHG0040007","adapter_id":"servicenow"},"outgoing":{"result":null},"error":""},"deprecated":false,"matched":[{"key":"name","highlightString":"<span class='highlight-string'>getChange</span>Requests"}],"groups":[],"actor":"Pronghorn","x":0.24130434782608695,"y":0.3424657534246575,"scheduled":false},"bbda":{"name":"query","summary":"sysid","description":"Query data using a dot/bracket notation string and a matching key/value pair.","location":"Application","locationType":null,"app":"WorkFlowEngine","displayName":"WorkFlowEngine","type":"operation","variables":{"incoming":{"pass_on_null":true,"query":"response.result[0].sys_id","obj":"$var.e6b2.result"},"outgoing":{"return_data":null},"error":""},"deprecated":false,"matched":[{"key":"name","highlightString":"<span class='highlight-string'>query</span>"},{"key":"summary","highlightString":"<span class='highlight-string'>Query</span> Data Using 'json-query' Format"},{"key":"description","highlightString":"<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."}],"groups":[],"x":0.32681159420289857,"y":0.5454545454545454,"scheduled":false},"60f9":{"name":"getAttachmentBinaryBySysId","summary":"This method gets the binary file attachment with a specific sys_id value.","description":"This method gets the binary file attachment with a specific sys_id value.","location":"Adapter","locationType":"Servicenow","app":"Servicenow","displayName":"Servicenow","type":"automatic","variables":{"incoming":{"sysId":"$var.82b8.return_data","adapter_id":"servicenow"},"outgoing":{"result":null},"error":""},"deprecated":false,"matched":[{"key":"name","highlightString":"<span class='highlight-string'>getAttac</span>hmentBinaryBySysId"}],"groups":[],"actor":"Pronghorn","x":0.717391304347826,"y":0.2403486924034869,"scheduled":false},"82b8":{"name":"query","summary":"Query Data Using 'json-query' Format","description":"Query data using a dot/bracket notation string and a matching key/value pair.","location":"Application","locationType":null,"app":"WorkFlowEngine","displayName":"WorkFlowEngine","type":"operation","variables":{"incoming":{"pass_on_null":true,"query":"response.result[0].sys_id","obj":"$var.8267.result"},"outgoing":{"return_data":null},"error":""},"deprecated":false,"matched":[{"key":"name","highlightString":"<span class='highlight-string'>query</span>"},{"key":"summary","highlightString":"<span class='highlight-string'>Query</span> Data Using 'json-query' Format"},{"key":"description","highlightString":"<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."}],"groups":[],"x":0.6898550724637681,"y":0.5541718555417185,"scheduled":false},"c14c":{"name":"concat","summary":"Concatenates strings together.","description":"Concatenates a string with a second string(s). The second parameter can be a string or array.","location":"Application","locationType":null,"app":"StringMethods","displayName":"String","type":"automatic","variables":{"incoming":{"str":"table_sys_id=","stringN":"$var.bbda.return_data"},"outgoing":{"combinedStrings":null},"error":""},"deprecated":false,"matched":[],"groups":[],"actor":"Pronghorn","x":0.30144927536231886,"y":0.75093399750934,"scheduled":false},"32b6":{"name":"createChangeRequest","summary":"Creates a change in the provided ServiceNow instance.","description":"The function will create the change with the information provided and return the change number for future reference.","location":"Adapter","locationType":"Servicenow","app":"Servicenow","displayName":"Servicenow","type":"automatic","variables":{"incoming":{"body":"{'short_description':'Unable to connect to office wifi','assignment_group':'287ebd7da9fe198100f92cc8d1d2154e','urgency':'2','impact':'2'}","adapter_id":"servicenow"},"outgoing":{"result":null},"error":""},"deprecated":false,"matched":[{"key":"name","highlightString":"<span class='highlight-string'>createChange</span>Request"}],"groups":[],"actor":"Pronghorn","x":0.3884057971014493,"y":0.0161892901618929,"scheduled":false}},"transitions":{"8267":{"82b8":{"type":"standard","state":"success"}},"workflow_start":{"e6b2":{"type":"standard","state":"success"},"32b6":{"type":"standard","state":"success"}},"workflow_end":{},"e6b2":{"bbda":{"type":"standard","state":"success"}},"bbda":{"c14c":{"type":"standard","state":"success"}},"60f9":{"workflow_end":{"type":"standard","state":"success"}},"82b8":{"60f9":{"type":"standard","state":"success"}},"c14c":{"8267":{"type":"standard","state":"success"}},"32b6":{"workflow_end":{"type":"standard","state":"success"}}},"font_size":12,"created":"2019-09-05T12:40:34.303Z","created_by":{"provenance":"Local AAA","username":"admin@pronghorn","firstname":"admin","inactive":false,"email":""},"groups":[],"last_updated":"2019-09-05T12:40:34.303Z","last_updated_by":{"provenance":"Local AAA","username":"admin@pronghorn","firstname":"admin","inactive":false,"email":""},"type":"automation","description":null}
|