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

Allow to define operations inline #326

Closed
danielmitterdorfer opened this issue Sep 26, 2017 · 0 comments
Closed

Allow to define operations inline #326

danielmitterdorfer opened this issue Sep 26, 2017 · 0 comments
Labels
enhancement Improves the status quo :Track Management New operations, changes in the track format, track download changes and the like :Usability Makes Rally easier to use
Milestone

Comments

@danielmitterdorfer
Copy link
Member

danielmitterdorfer commented Sep 26, 2017

At the moment, users can specify operations only in a dedicated operations block but for simple tracks it would be more convenient if we could just specify operations "inline" when specifying tasks in the schedule element of a challenge.

We should also simplify the syntax a bit. For operations that do not take any parameters, we could just refer to their name instead of specifying an object, i.e. the following two definitions should be equivalent:

{
  "schedule": [
    {
      "operation": {
        "name": "force-merge",
        "operation-type": "force-merge"
      }
    }
  ]
}
{
  "schedule": [
    {
      "operation": "force-merge"
    }
  ]
}

Note that in these two cases an operation is defined inline with its corresponding task and not just referenced (i.e. there is no corresponding definition in the operations block).

@danielmitterdorfer danielmitterdorfer added :Track Management New operations, changes in the track format, track download changes and the like :Usability Makes Rally easier to use enhancement Improves the status quo labels Sep 26, 2017
@danielmitterdorfer danielmitterdorfer added this to the Pre 1.0 milestone Sep 26, 2017
@danielmitterdorfer danielmitterdorfer added the breaking Non-backwards compatible change label Oct 11, 2017
@danielmitterdorfer danielmitterdorfer modified the milestones: Pre 1.0, 0.8.x Oct 11, 2017
@danielmitterdorfer danielmitterdorfer modified the milestones: 0.8.x, 0.8.0 Nov 8, 2017
danielmitterdorfer added a commit that referenced this issue Nov 9, 2017
@danielmitterdorfer danielmitterdorfer removed the breaking Non-backwards compatible change label Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :Track Management New operations, changes in the track format, track download changes and the like :Usability Makes Rally easier to use
Projects
None yet
Development

No branches or pull requests

1 participant