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 use a challenge element if there is only one challenge in a track #352

Closed
danielmitterdorfer opened this issue Nov 9, 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

Some tracks only define one challenge:

    {
      "description": "....",
      "indices": [  ],
      "challenges": [
        {
          "name": "index-and-query",
          "description": "...",
          "schedule": [ ]
        }
      ]
    }

To simplify the syntax a bit, we should allow to use the following syntax in this case:

    {
      "description": "....",
      "indices": [  ],
      "challenge": {
          "name": "index-and-query",
          "description": "...",
          "schedule": [ ]
        }
    }

Note how we replaced the challenges array with a single challenge property.

@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 Nov 9, 2017
@danielmitterdorfer danielmitterdorfer added this to the 0.8.0 milestone Nov 9, 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