@prismatic-io/prism 7.5.5 → 7.5.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/lib/index.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -65331,7 +65331,7 @@ You can configure the test instance later by visiting the following URL:
|
|
|
65331
65331
|
${Fe}`);return}}if(X)try{let Q0=await aDn(X);if(Q0.length===0){console.error("No flows were found for the given integration.");return}let{flow:fe}=await Ove.prompt({type:"list",name:"flow",message:"Select the flow to test:",choices:Q0.map((en)=>{return{name:`${en.name} ${en.stableKey?`(${en.stableKey})`:""}`,value:{invokeUrl:en.testUrl}}})});f0=fe.invokeUrl}catch(Q0){GCe({message:"There was an error looking up flows for your integration. Please provide an integration ID or reimport your integration.",throwError:!0})}if(!f0)GCe({message:xnr,throwError:!0});k_0.ux.action.start("Starting execution...");let d0=await Y20.post(f0,V,{headers:{...e?{"prismatic-synchronous":!0}:{},...z?{"prismatic-debug":!0}:{},...p&&V?{"Content-Type":p}:{}}});k_0.ux.action.stop(),this.startTime=Date.now();let D0=`${c?`-p=${c} -c=${p}`:""}${m?"--tail-logs ":""}${T?"--tail-results ":""}${e?"--sync ":""}${P?"--cni-auto-end ":""}${I?`-r=${I} `:""}`;this.quietLog(`
|
|
65332
65332
|
To re-run this flow directly:
|
|
65333
65333
|
prism integrations:flows:test -u=${f0} ${D0}
|
|
65334
|
-
`,H);let N0=d0.headers["prismatic-executionid"];if(!d0
|
|
65334
|
+
`,H);let N0=d0.headers["prismatic-executionid"];if(!d0?.data?.executionId)this.log(`Execution ID: ${N0}
|
|
65335
65335
|
`);if(this.log(`${JSON.stringify(d0.data)}
|
|
65336
65336
|
`),!(m||T))return;this.quietLog("While the timestamps are accurate, logs & step results may not arrive in chronological order.",H,"warn"),this.quietLog(`
|
|
65337
65337
|
Press CMD+C/CTRL+C to stop polling. ${P?"":`This process will timeout after ${L?`${L} seconds`:"20 minutes"}.`}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED