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

added restore deleted apps and get list of deleted apps #3696

Closed
wants to merge 4 commits into from

Conversation

connorlee77
Copy link

@connorlee77 connorlee77 commented Aug 21, 2018

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

@AutorestCI
Copy link

AutorestCI commented Aug 21, 2018

Automation for azure-sdk-for-python

A PR has been created for you based on this PR content.

Once this PR will be merged, content will be added to your service PR:
Azure/azure-sdk-for-python#2032

@AutorestCI
Copy link

AutorestCI commented Aug 21, 2018

Automation for azure-sdk-for-ruby

A PR has been created for you based on this PR content.

Once this PR will be merged, content will be added to your service PR:
Azure/azure-sdk-for-ruby#1584

@AutorestCI
Copy link

AutorestCI commented Aug 21, 2018

Automation for azure-sdk-for-go

A PR has been created for you:
Azure/azure-sdk-for-go#2918

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@AutorestCI
Copy link

AutorestCI commented Aug 21, 2018

Automation for azure-sdk-for-node

A PR has been created for you:
Azure/azure-sdk-for-node#3391

@AutorestCI
Copy link

AutorestCI commented Aug 21, 2018

Automation for azure-sdk-for-java

A PR has been created for you based on this PR content.

Once this PR will be merged, content will be added to your service PR:
Azure/azure-sdk-for-java#2338

@@ -148,6 +148,52 @@
}
}
},
"/{tenantID}/deletedApplications/{objectId}/restore": {
Copy link
Member

Choose a reason for hiding this comment

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

Looks like both of these operations are missing "parameters" definitions and causing semantic failure as seen here: https://travis-ci.org/Azure/azure-rest-api-specs/jobs/418930889#L586

@connorlee77
Copy link
Author

Could @amarzavery @lmazuel @yugangw-msft test it out/fix any errors?

@marstr
Copy link
Member

marstr commented Aug 24, 2018

I'm going to be OOF all next week, so this PR should be reassigned.

@marstr marstr removed their assignment Aug 25, 2018
@lmazuel lmazuel self-assigned this Aug 28, 2018
@lmazuel lmazuel self-requested a review August 28, 2018 18:19
@lmazuel lmazuel removed the Reassign label Aug 28, 2018
"required": true,
"type": "string",
"description": "Application object ID."
},
Copy link
Member

@lmazuel lmazuel Aug 28, 2018

Choose a reason for hiding this comment

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

Missing the api version to get apiversion=1.6

          {
            "$ref": "#/parameters/ApiVersionParameter"
          },

"operationId": "DeletedApplications_Get",
"description": "Gets a list of deleted applications in the directory.",
"parameters": [
{
Copy link
Member

Choose a reason for hiding this comment

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

Missing the api version to get apiversion=1.6

          {
            "$ref": "#/parameters/ApiVersionParameter"
          },

"tags": [
"Application"
],
"operationId": "Applications_HardDelete",
Copy link
Member

Choose a reason for hiding this comment

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

If I understand correctly the purpose of this operation, the idea is to "purge" deletedApplications and remove for real the application without waiting 30 days. This means the app has to have been deleted before.
If that so, then operationId should be DeletedApplications_Delete

@lmazuel
Copy link
Member

lmazuel commented Oct 5, 2018

Left the company.

@lmazuel lmazuel closed this Oct 5, 2018
@AutorestCI
Copy link

AutorestCI commented Oct 5, 2018

Automation for azure-sdk-for-js

Nothing to generate for azure-sdk-for-js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants