Giter Site home page Giter Site logo

Comments (9)

 avatar commented on May 25, 2024

@mkanoor @tinaafitz What do you think about this ? The idea comes from my implementation on V2V state machines, where the state machine class is just a scaffold. So, I had to set a max_retries for all states as I don't know in advance what it will be used for.

Regarding the impact of such change, I expect it to be minimal as the existing classes and instances wouldn't have to be modified. This adds a new opportunity on top of the existing logic.

from manageiq-automation_engine.

mkanoor avatar mkanoor commented on May 25, 2024

@fdupont-redhat @tinaafitz @gmcculloug
The max_retries can be set at the instance level, the UI currently doesn't support it, we can expose it in the UI.

from manageiq-automation_engine.

 avatar commented on May 25, 2024

Awesome, I didn't expect less from you 👍
Sould I open an RFE in manageiq-ui-classic repo ?

from manageiq-automation_engine.

mkanoor avatar mkanoor commented on May 25, 2024

Yes, lets open an issue in the UI repo, the MiqAeValue table allows for setting of the max_retries. If they can make these fields show up only for state machines it would be good. e.g. on_entry/on_exit/on_error/max_retries/max_time should only be visible if the field is a state. For relationships and attributes it doesn't make sense.

The Automate Engine might work I am not sure but once the MiqAeValue has the max_retries/max_time we can fix the engine if it doesn't take care of it already.

from manageiq-automation_engine.

 avatar commented on May 25, 2024

@mkanoor RFE opened: ManageIQ/manageiq-ui-classic/issues/3560.
Do you know who could look at it ?

from manageiq-automation_engine.

gmcculloug avatar gmcculloug commented on May 25, 2024

I added an assignee to the ui-classic issue.

from manageiq-automation_engine.

tinaafitz avatar tinaafitz commented on May 25, 2024

I manually changed a state machine instance max_retries value and verified the instance value is used in resolution.

from manageiq-automation_engine.

gmcculloug avatar gmcculloug commented on May 25, 2024

@fdupont-redhat With PR ManageIQ/manageiq-ui-classic#3562 merged can this issue and ManageIQ/manageiq-ui-classic#3560 be closed now?

from manageiq-automation_engine.

 avatar commented on May 25, 2024

@gmcculloug Yes, we can.

from manageiq-automation_engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.