Skip to content

Hdinsight spec v4#1126

Closed
pulkittomar wants to merge 9 commits intoAzure:masterfrom
pulkittomar:hdinsight-spec-v4
Closed

Hdinsight spec v4#1126
pulkittomar wants to merge 9 commits intoAzure:masterfrom
pulkittomar:hdinsight-spec-v4

Conversation

@pulkittomar
Copy link

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.

PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
  • If applicable, the PR references the bug/issue that it fixes.
  • Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

pulkittomar added 9 commits March 28, 2017 15:09
Changes do not include:
1. null specification for each data member. Some members may support
nulls, but as per spec we haven't validated those.
2. Data format validation. We have to validate that all date strings
follow the pattern as expected. Current date format patterns fail to
validate dates in hdinsight api response, so we have removed the date
check for now.
3. We have added readonly to most properties, but we need to validate
those properties again.
Completed validation of HDInsight spec
…he property was added to pass a violation but it is not needed anymore.
@msftclas
Copy link

@pulkittomar,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Copy link
Contributor

@sergey-shandar sergey-shandar left a comment

Choose a reason for hiding this comment

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

Breaking changes.

},
"configurations": {
"type": "object",
"additionalProperties": {
Copy link
Contributor

Choose a reason for hiding this comment

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

This's still breaking changes. In .Net, it became a Dictionary instead of an object.

Copy link
Contributor

Choose a reason for hiding this comment

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

For example, this code worked before:

clusterDefinition.configurations = new { A = new { C = "Hello!" } };

but it will be a compilation error now.

@salameer
Copy link
Member

What are the action items here @sergey-shandar if there requested changes please mark it that way :)

@sergey-shandar
Copy link
Contributor

@pulkittomar as discussed in another PR, these changes still contain breaking changes. Please, address the issue or close the PR.

Copy link
Contributor

@sergey-shandar sergey-shandar left a comment

Choose a reason for hiding this comment

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

Please, address the breaking changes issue.

@sergey-shandar
Copy link
Contributor

sergey-shandar commented May 8, 2017

@pulkittomar I'm closing this on. Feel free to reopen it if you are working on new changes or would like to discuss the breaking changes issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments