-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EMA-4088 & EMA-4345]: Integrate Action Flow Import/Export functionality #190
[EMA-4088 & EMA-4345]: Integrate Action Flow Import/Export functionality #190
Conversation
previously `... import --dryRun true` `... --dryRun false` now `... import --dryRyn` `... import` So in case you specify it, the command will get it as true and in case you do not specify it, the command will get it as false (Same thing is applied to outputToJsonFile input field) [EMA-4088]
somehow adding a zip with entries using the `adm-zip` constructor differs from adding the zip entries using the `addFile` method If I use the constructor to create the zip, and then send that zip to the server I was receiving the error `invalid entry size (expected 2187395080 but got 158 bytes)` [EMA-4088]
[EMA-4088]
currently we were passing dryRun as true even if it was explicitly set as false [EMA-4088]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also include unit tests for the changes? You can follow some examples we have already, and you can reach out to @LaberionAjvazi if you need any further support.
and move `metadata.jon` as a static variable [EMA-4345]
[EMA-4345]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more note: To publish the changes you need to manually bump the version in package.json
. Would suggest bumping only patch version, until we decide to release properly with documentation
[EMA-4088]
…export-analyze-functionality
[EMA-4088]
…export-analyze-functionality
81304e8
Description
This PR integrates the functionality of import/export of action flows
Three new commands introduced
analyze action-flows
- returns the action-flow metadata and its dependencies for a packageexport action-flows
- returns the action-flow configuration and its dependencies for a packageimport action-flows
- imports action-flows on a packageChecklist