Skip to content

enahncements to model import/export#47

Merged
privateip merged 1 commit intoitential:develfrom
privateip:enhance-model-import-export
Mar 4, 2025
Merged

enahncements to model import/export#47
privateip merged 1 commit intoitential:develfrom
privateip:enhance-model-import-export

Conversation

@privateip
Copy link
Member

This commit enhances the model import/export commands as well as the delete command.

The import command now supports --expand which will cause the application to not only export the LCM model but also all dependent assets such as workflows and transformations.

The export command will now introspect the exported model json file and properly reconstruct the model with all dependencies imported. Additionally, there is a new command line option for export --skip-checks which will skip checking for action dependencies and simply import the model.

The delete command also has a new command line option --all. When used, ipctl will delete the model and delete all assoicated assets such as workflows and transformations tied to actions.

This commit enhances the model import/export commands as well as the
delete command.

The import command now supports `--expand` which will cause the
application to not only export the LCM model but also all dependent
assets such as workflows and transformations.

The export command will now introspect the exported model json file and
properly reconstruct the model with all dependencies imported.
Additionally, there is a new command line option for export
`--skip-checks` which will skip checking for action dependencies and
simply import the model.

The delete command also has a new command line option `--all`.  When
used, ipctl will delete the model and delete all assoicated assets such
as workflows and transformations tied to actions.
@privateip privateip merged commit 474f092 into itential:devel Mar 4, 2025
1 check passed
@privateip privateip deleted the enhance-model-import-export branch March 4, 2025 22:02
@davhparry
Copy link

davhparry commented Mar 5, 2025

Thanks for adding support for this feature. It'll make managing LCM Model much, much easier. However, I think maybe you mean 'The export command now supports --expand...', rather than import? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants