Skip to content
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

[Enhancement] Allow notebooks to be run multiple times #5

Open
1 of 2 tasks
planetf1 opened this issue May 26, 2022 · 1 comment
Open
1 of 2 tasks

[Enhancement] Allow notebooks to be run multiple times #5

planetf1 opened this issue May 26, 2022 · 1 comment
Labels
enhancement New feature or request notebooks

Comments

@planetf1
Copy link
Member

planetf1 commented May 26, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Please describe the new behavior that that will improve Egeria

Some of our coco pharma notebooks cannot be run multiple times, for example errors such as

OMAG-COMMON-409-001 Method createGovernanceService of service Governance Engine OMAS is not able to create an instance of type GovernanceActionService because parameter name qualifiedName is defined as a unique property and value provision-weekly-measurements-governance-action-service is not available for use
 * The system is unable to process the request because the unique property for this new entity is not permitted either because it is a reserved value, or it is already in use.
 * Retry the request with a different unique parameter name.

are typical -- ie an entity already exists with the same name

This can be confusing to someone running the notebooks and wanting to carefully walk through and understand Egeria's behaviour.

Alternatives

Possible fixes

  • Handle purely through documentation. Explain how to reset the environment, both in egeria-docs web text as well as notebooks themselves
  • ensure each notebook has a section to 'undo' what it's done
  • using generated names to add uniqueness (may not work in all cases ie servers - awkward)

Any Further Information?

By default Egeria uses the 'inmemory' repository. In this mode, restarting the egeria platforms will effectively reset the repository. The charts also support the graph repository (and we've discussed xtdb) in which case this will not reset them

Would you be prepared to be assigned this issue to work on?

  • I can work on this
@planetf1 planetf1 added the enhancement New feature or request label May 26, 2022
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions.

@planetf1 planetf1 transferred this issue from odpi/egeria Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request notebooks
Projects
None yet
Development

No branches or pull requests

1 participant