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

Support parameter descriptions for operations. HWKAGENT-87. #229

Closed
wants to merge 1 commit into from
Closed

Support parameter descriptions for operations. HWKAGENT-87. #229

wants to merge 1 commit into from

Conversation

pilhuhn
Copy link
Member

@pilhuhn pilhuhn commented Jul 12, 2016

This allows to specify parameters for operations, that serve as documentation for the operation. The parameters are then stored in inventory in properties of the operation definition and can be retrieved by clients to e.g. create UIs from it.

@@ -609,7 +609,10 @@
<operation-dmr name="JDR" operation-name="generate-jdr-report" path="/subsystem=jdr" />
<operation-dmr name="Reload" operation-name="reload" />
<operation-dmr name="Resume" operation-name="resume" />
<operation-dmr name="Shutdown" operation-name="shutdown" /> <!-- shutdown and restart -->
<operation-dmr name="Shutdown" operation-name="shutdown" > <!-- shutdown and restart -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pilhuhn should we take the opportunity now and rename "operation-name" to something less confusing like "internal-name" ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On 12 Jul 2016, at 13:45, John Mazzitelli wrote:

@@ -609,7 +609,10 @@


  •    <operation-dmr name="Shutdown" operation-name="shutdown" /> 
    
  •    <operation-dmr name="Shutdown" operation-name="shutdown" > 
    

@pilhuhn should we take the opportunity now and rename
"operation-name" to something less confusing like "internal-name" ?

I would appreciate this. Bonus: it is transparent for users/clients.

@jmazzitelli
Copy link
Contributor

well, I merged this manually, but it looks like github doesn't recognize that I did (I squashed this with another commit, then I added a new commit to rename operation-name to internal-name). I'm closing this, but just note that this is merged into master now.

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.

None yet

2 participants