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

[DO NOT MERGE] httpCorrelationProtocol property was added to diagnostic entity #6487

Closed

Conversation

promoisha
Copy link
Contributor

Latest improvements:

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

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

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.

@promoisha promoisha requested a review from solankisamir as a code owner June 27, 2019 19:39
@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jun 27, 2019

SDK Automation [Logs] (Generated from 59b685d)

In-Progress Go: Azure/azure-sdk-for-go [Logs]
  • Package generation in progress.
Succeeded Python: Azure/azure-sdk-for-python [Logs] [Diff]
Succeeded JavaScript: Azure/azure-sdk-for-js [Logs] [Diff]
Succeeded Ruby: Azure/azure-sdk-for-ruby [Logs] [Diff]

@AutorestCI
Copy link

AutorestCI commented Jun 27, 2019

Automation for azure-sdk-for-python

Encountered an unknown error: (azure-sdk-for-python)

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 170, in rest_handle_action
    return rest_pull_close(body, restapi_repo, sdk_pr_target_repo, sdkbase, sdk_tag)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 185, in rest_pull_close
    rest_pr_management(rest_pr, sdk_pr_target_repo, sdk_tag, sdk_default_base)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github_handler.py", line 151, in rest_pr_management
    sdk_tag=sdk_tag
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/SwaggerToSdkNewCLI.py", line 254, in generate_sdk_from_git_object
    with manage_git_folder(gh_token, Path(temp_dir) / Path("rest"), branched_rest_api_id, pr_number=pr_number) as restapi_git_folder, \
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 272, in manage_git_folder
    clone_to_path(gh_token, temp_dir, split_git_id[0], branch_or_commit=branch, pr_number=pr_number)
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 212, in clone_to_path
    repo.git.checkout(branch_or_commit)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 825, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git checkout b485e0b081f190c501ab8d86a9d116a36bbfbd00
  stderr: 'fatal: reference is not a tree: b485e0b081f190c501ab8d86a9d116a36bbfbd00'

@AutorestCI
Copy link

AutorestCI commented Jun 27, 2019

Automation for azure-sdk-for-ruby

Nothing to generate for azure-sdk-for-ruby

@AutorestCI
Copy link

AutorestCI commented Jun 27, 2019

Automation for azure-sdk-for-go

Encountered an unknown error: (azure-sdk-for-go)

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 170, in rest_handle_action
    return rest_pull_close(body, restapi_repo, sdk_pr_target_repo, sdkbase, sdk_tag)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 185, in rest_pull_close
    rest_pr_management(rest_pr, sdk_pr_target_repo, sdk_tag, sdk_default_base)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github_handler.py", line 151, in rest_pr_management
    sdk_tag=sdk_tag
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/SwaggerToSdkNewCLI.py", line 254, in generate_sdk_from_git_object
    with manage_git_folder(gh_token, Path(temp_dir) / Path("rest"), branched_rest_api_id, pr_number=pr_number) as restapi_git_folder, \
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 272, in manage_git_folder
    clone_to_path(gh_token, temp_dir, split_git_id[0], branch_or_commit=branch, pr_number=pr_number)
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 212, in clone_to_path
    repo.git.checkout(branch_or_commit)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 825, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git checkout b485e0b081f190c501ab8d86a9d116a36bbfbd00
  stderr: 'fatal: reference is not a tree: b485e0b081f190c501ab8d86a9d116a36bbfbd00'

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@AutorestCI
Copy link

AutorestCI commented Jun 27, 2019

Automation for azure-sdk-for-java

Nothing to generate for azure-sdk-for-java

@mmyyrroonn mmyyrroonn added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jun 28, 2019
@mmyyrroonn
Copy link
Contributor

@promoisha Hi. This PR add new property into a stable version. Besides, the field is required. So we should firstly wait for ARM feedback.

"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "./definitions.json#/definitions/DiagnosticContract"

@solankisamir
Copy link
Member

@promoisha Hi. This PR add new property into a stable version. Besides, the field is required. So we should firstly wait for ARM feedback.

"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "./definitions.json#/definitions/DiagnosticContract"

@myronfanqiu I don't see this property as being required in the Diagnostic entity contract. The only required property is loggerid

@mmyyrroonn
Copy link
Contributor

@promoisha Hi. This PR add new property into a stable version. Besides, the field is required. So we should firstly wait for ARM feedback.

"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "./definitions.json#/definitions/DiagnosticContract"

@myronfanqiu I don't see this property as being required in the Diagnostic entity contract. The only required property is loggerid

@solankisamir Hello. My mistake. What I want to say is that the property DiagnosticContract is required. This PR add a new property into a required field in a stable version. I understand httpCorrelationProtocol is optional. This PR looks good to me. However, recently we are under transition process, any property or API change in the stable version should involve arm for review.

@promoisha
Copy link
Contributor Author

@myronfanqiu who should I ping to expedite approval?

@mmyyrroonn
Copy link
Contributor

@promoisha Let me try. 😃 @sanjaiganesh Hello, could you please review this PR?

@jhendrixMSFT
Copy link
Member

@AutorestCI regenerate azure-sdk-for-go

@promoisha
Copy link
Contributor Author

@Azure/arm-api-review-board could someone take a look at the PR? Thanks!

Copy link
Contributor

@ryansbenson ryansbenson left a comment

Choose a reason for hiding this comment

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

This constitutes a breaking change and requires a new api version.

Take a look at the section for 'New property added to response'
https://microsoft.sharepoint.com/:w:/t/azureresourcemanagerteam/EWXsAQ1yx25KkyYCeeWGUgwBSBxEdUDEbHi6FZ__U8EOQw?rtime=FuqbLiIH10g

@KrisBash KrisBash added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jul 16, 2019
@mmyyrroonn
Copy link
Contributor

@promoisha Hi. Are you creating a new api-version? How to deal with this PR?

@mmyyrroonn
Copy link
Contributor

@promoisha Hello. Any update for this PR?

@mmyyrroonn mmyyrroonn removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Aug 8, 2019
@yungezz
Copy link
Member

yungezz commented Aug 28, 2019

hi @promoisha are you still on this PR? Is it ok to close the PR since no update over month? Pls create new PR or reopen when you're ready for reviewing and merging

@mmyyrroonn
Copy link
Contributor

@promoisha Hello. Since this PR has not been updated for more than one month. I will close this PR first. If you need this PR in the future, please feel free to reopen it and ping me.

@mmyyrroonn mmyyrroonn closed this Sep 2, 2019
leni-msft pushed a commit to leni-msft/azure-rest-api-specs that referenced this pull request May 13, 2022
* Evolved Microsoft.Pki/pkis/certificateAuthorities.

* Evolved Microsoft.Pki/pkis/certificateAuthorities.

* Fixed PrettierCheck failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants