Skip to content

Conversation

@sunsw1994
Copy link
Contributor

@sunsw1994 sunsw1994 commented Jul 14, 2020

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
    • adding/removing APIs.
    • adding/removing properties.
    • adding/removing API-version.
    • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@sunsw1994 sunsw1994 added Do Not Generate SDK DoNotMerge <valid label in PR review process> use to hold merge after approval labels Jul 14, 2020
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 14, 2020

[Staging] Swagger Validation Report

️✔️BreakingChange [Detail]
 There are no breaking changes. 
️✔️LintDiff [Detail]
 Validation passes for LintDiff. 
️✔️Avocado [Detail]
 Validation passes for Avocado. 
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 14, 2020

azure-sdk-for-python - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 46877dc with merge commit 9fea3de. SDK Automation 13.0.17.20200619.4
    [azure-hdinsight-job][ChangeLog] WARNING: Failed to generate ChangeLog.
  • ⚠️azure-hdinsight-job [View full logs]  [Release SDK Changes]
    [build_conf] INFO:packaging_tools:Building template azure-hdinsight-job
    [build_conf] INFO:packaging_tools.conf:Build default conf for azure-hdinsight-job
    [build_conf] INFO:packaging_tools:Template done azure-hdinsight-job
    [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)
    [build_package] /z/venv/lib/python3.6/site-packages/setuptools/dist.py:406: UserWarning: The version specified ('2018-11-01-preview') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
    [build_package]   "details." % self.metadata.version
    [build_package] warning: no files found matching '*.py' under directory 'tests'
    [build_package] warning: no files found matching '*.yaml' under directory 'tests'
    [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)
    [build_package] /z/venv/lib/python3.6/site-packages/setuptools/dist.py:406: UserWarning: The version specified ('2018-11-01-preview') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
    [build_package]   "details." % self.metadata.version
    [build_package] warning: no files found matching '*.py' under directory 'tests'
    [build_package] warning: no files found matching '*.yaml' under directory 'tests'
    [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
    Not exact 2 reports found:
    Not generating changelog.
    [ChangeLog] WARNING: Failed to generate ChangeLog.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 14, 2020

azure-sdk-for-js - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 46877dc with merge commit 9fea3de. SDK Automation 13.0.17.20200619.4
    Failed to find any diff after autorest so no changed packages was found.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 14, 2020

Azure CLI Extension Generation

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 14, 2020

azure-sdk-for-java - Release

🔄 inProgress [Logs] [Expand Details]
  • 🔄 Generate from 46877dc with merge commit 9fea3de. SDK Automation 13.0.17.20200619.4

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 14, 2020

azure-sdk-for-net - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 14, 2020

Trenton Generation - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 14, 2020

azure-sdk-for-go - Release

🔄 inProgress [Logs] [Expand Details]
  • 🔄 Generate from 46877dc with merge commit 9fea3de. SDK Automation 13.0.17.20200619.4

@sunsw1994 sunsw1994 removed Do Not Generate SDK DoNotMerge <valid label in PR review process> use to hold merge after approval labels Jul 16, 2020
"type": "object",
"properties": {
"from": {
"description": "The start index to fetch sessions.",
Copy link
Member

@aim-for-better aim-for-better Jul 16, 2020

Choose a reason for hiding this comment

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

sessions [](start = 51, length = 8)

spark batch Job? #Closed

Copy link
Contributor Author

@sunsw1994 sunsw1994 Jul 16, 2020

Choose a reason for hiding this comment

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

I add description following livy documatation(search GET /batches in page)

Is it ok for different from this doc? #Closed

Copy link
Member

Choose a reason for hiding this comment

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

I think that the minor change is acceptable and necessary to fit in our sdk. Although the class name is SparkBatchJobCollection.


In reply to: 455539008 [](ancestors = 455539008)

"type": "integer"
},
"sessions": {
"description": "Batch list.",
Copy link
Member

@aim-for-better aim-for-better Jul 16, 2020

Choose a reason for hiding this comment

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

Batch list [](start = 26, length = 10)

The Spark Batch job list. #Closed

Copy link
Contributor Author

@sunsw1994 sunsw1994 Jul 16, 2020

Choose a reason for hiding this comment

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

Thanks for your reminder. I will scan all description again to enhance the completeness. #Closed

"type": "object",
"properties": {
"id": {
"description": "The session id.",
Copy link
Member

@aim-for-better aim-for-better Jul 16, 2020

Choose a reason for hiding this comment

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

session [](start = 30, length = 7)

The spark job's livy id.

Copy link
Member

Choose a reason for hiding this comment

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

I think livy is necessary to make it clear.
Do you think "The livy id of the spark batch job." will be better?


In reply to: 455536463 [](ancestors = 455536463)

"type": "integer"
},
"appId": {
"description": "The application id of this session.",
Copy link
Member

@aim-for-better aim-for-better Jul 16, 2020

Choose a reason for hiding this comment

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

session [](start = 53, length = 7)

spark job #Closed

},
"state": {
"type": "string"
"description": "The batch state.",
Copy link
Member

@aim-for-better aim-for-better Jul 16, 2020

Choose a reason for hiding this comment

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

The batch state [](start = 26, length = 15)

The spark batch job state. #Closed

"state": {
"type": "string"
"description": "The batch state.",
"$ref": "#/definitions/SessionState"
Copy link
Member

Choose a reason for hiding this comment

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

SessionState [](start = 33, length = 12)

I noticed that spark batch job and spark session job share the same SessionState. Could you please double check this?
If they don't have the totally same state please split it.

}
},
"files": {
"description": "Files to be used in this session.",
Copy link
Member

@aim-for-better aim-for-better Jul 16, 2020

Choose a reason for hiding this comment

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

session [](start = 51, length = 7)

I know that the description in livy doc used the word "session". But this property is one of SparkBatchJobRequest. So I think that we need to mitigate "session" to "spark batch job". How do you like? #Closed

"sparkr",
"sql"
]
"description": "Session kind.",
Copy link
Member

@aim-for-better aim-for-better Jul 16, 2020

Choose a reason for hiding this comment

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

Session [](start = 26, length = 7)

Spark Session kind? #Closed

"type": "object",
"properties": {
"id": {
"description": "Session id.",
Copy link
Member

@aim-for-better aim-for-better Jul 16, 2020

Choose a reason for hiding this comment

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

Session [](start = 26, length = 7)

The "Session" is so common. I think that we had better to add prefix for example Spark Batch, Spark Session, Spark Statement etc.
Could you please check all the "session" word to make it clear enough? #Closed

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 16, 2020

azure-sdk-for-python-track2 - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

"type": "integer"
},
"sessions": {
"description": "The Spark Batch job list.",
Copy link
Member

Choose a reason for hiding this comment

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

job [](start = 42, length = 3)

jobs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@aim-for-better
Copy link
Member

Hi @anuchandy Could you please review the PR?

@aim-for-better aim-for-better self-requested a review August 5, 2020 02:41
Copy link
Member

@aim-for-better aim-for-better left a comment

Choose a reason for hiding this comment

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

LGTM

@majastrz majastrz added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Aug 5, 2020
Copy link
Member

@majastrz majastrz left a comment

Choose a reason for hiding this comment

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

Changes is just backfilling missing swagger (changing strings to enums to match real API). Signed off from ARM side.

@anuchandy anuchandy merged commit 9fea3de into Azure:master Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants