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

Committing changes to remove verbs from Swagger descriptions #7788

Merged

Conversation

v-shhatt
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.

@msftclas
Copy link

msftclas commented Nov 15, 2019

CLA assistant check
All CLA requirements met.

@AutorestCI
Copy link

AutorestCI commented Nov 15, 2019

Automation for azure-sdk-for-python

Encountered a Subprocess error: (azure-sdk-for-python)

Command: ['/usr/local/bin/autorest', '/tmp/tmpn1c9tlqt/rest/specification/network/resource-manager/readme.md', '--keep-version-file', '--multiapi', '--no-async', '--python', '--python-mode=update', '--python-sdks-folder=/tmp/tmpn1c9tlqt/sdk/sdk', '[email protected]/[email protected]', '--version=preview']
Finished with return code -6
and output:

AutoRest code generation utility [version: 2.0.4283; node: v10.15.3]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest

There is a new version of AutoRest available (2.0.4407).
 > You can install the newer version with with npm install -g autorest@latest

   Loading AutoRest core      '/root/.autorest/@[email protected]/node_modules/@microsoft.azure/autorest-core/dist' (2.0.4407)
   Loading AutoRest extension '@microsoft.azure/autorest.python' (4.0.70->4.0.70)
   Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.44->2.3.44)
Processing batch task - {"tag":"package-2019-09"} .

<--- Last few GCs --->

[21310:0x4062cc0]    75236 ms: Mark-sweep 1371.1 (1435.2) -> 1364.4 (1436.2) MB, 2177.2 / 0.0 ms  (average mu = 0.113, current mu = 0.056) allocation failure scavenge might not succeed
[21310:0x4062cc0]    77246 ms: Mark-sweep 1371.9 (1436.2) -> 1365.3 (1437.2) MB, 1916.9 / 0.0 ms  (average mu = 0.082, current mu = 0.047) allocation failure scavenge might not succeed


<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x251441ddbe1d]
Security context: 0x2d9ecb01e6e9 <JSObject>
    1: Descendants [0x3866e3b90ce1] [/node_modules/@microsoft.azure/datastore/dist/yaml.js:~30] [pc=0x25144216b2f8](this=0x3866e3b968f9 <Object map = 0x2f8473e6a4d9>,/* anonymous */=0x32e729802801 <the_hole>,/* anonymous */=0x32e729802801 <the_hole>,/* anonymous */=0x32e729802801 <the_hole>)
    2: next [0x2d9ecb019de9](this=0x08e568e44931 <JSGenerator>)
   ...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x8dc510 node::Abort() [node]
 2: 0x8dc55c  [node]
 3: 0xad9b5e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xad9d94 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xec7bf2  [node]
 6: 0xec7cf8 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [node]
 7: 0xed3dd2 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
 8: 0xed4704 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 9: 0xed7371 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node]
10: 0xea07f4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
11: 0x114018e v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x251441ddbe1d

@AutorestCI
Copy link

AutorestCI commented Nov 15, 2019

Automation for azure-sdk-for-go

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

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@v-shhatt
Copy link
Contributor Author

Resolved all the comments

@v-shhatt
Copy link
Contributor Author

@zikalino : Please merge the PR

Thank you,
Ranjani

@zikalino zikalino merged commit dd5697e into Azure:network-december-release Nov 21, 2019
lirenhe pushed a commit that referenced this pull request Nov 27, 2019
* IpGroups reference in AzureFirewall

* Fixed examples

* Committing changes to remove verbs from Swagger descriptions (#7788)

* Committing changes to remove verbs from Swagger descriptions

* upgrade rest-api-specs-scripts version (#7712)

* bump avocado version to support $(this-folder) (#7743)

* regenerate package-lock.json (#7756)

* Committing changes as per review comments

* committing changes to fix java sdk timeout issue (#7802)

* IpGroups reference in AzureFirewall

* Fixed examples

* prettier fix

* prettier  --write
akning-ms pushed a commit that referenced this pull request Jan 15, 2020
* Adds base for updating Microsoft.Network from version stable/2019-09-01 to version 2019-11-01

* Updates readme

* Updates API version in new specs and examples

* Add missing spec reference in readme.md (#7726)

* added username (#7779)

* adding alisas to code owners file (#7786)

* Committing changes to Fix Swagger descriptions to use "Reference to" … (#7787)

* Committing changes to Fix Swagger descriptions to use "Reference to" instead of "Reference of"

* upgrade rest-api-specs-scripts version (#7712)

* bump avocado version to support $(this-folder) (#7743)

* regenerate package-lock.json (#7756)

* Committing changes with formatted descriptions

* Committing changes to remove verbs from Swagger descriptions (#7788)

* Committing changes to remove verbs from Swagger descriptions

* upgrade rest-api-specs-scripts version (#7712)

* bump avocado version to support $(this-folder) (#7743)

* regenerate package-lock.json (#7756)

* Committing changes as per review comments

* committing changes to fix java sdk timeout issue (#7802)

* IpGroups reference in AzureFirewall (#7807)

* IpGroups reference in AzureFirewall

* Fixed examples

* Committing changes to remove verbs from Swagger descriptions (#7788)

* Committing changes to remove verbs from Swagger descriptions

* upgrade rest-api-specs-scripts version (#7712)

* bump avocado version to support $(this-folder) (#7743)

* regenerate package-lock.json (#7756)

* Committing changes as per review comments

* committing changes to fix java sdk timeout issue (#7802)

* IpGroups reference in AzureFirewall

* Fixed examples

* prettier fix

* prettier  --write

* virtual wan/gateway disconnect vpn connections (#7747)

* virtual wan/gateway disconnect vpn connections

* fix the PR comments

* fix the PR

* upgrade rest-api-specs-scripts version (#7712)

* bump avocado version to support $(this-folder) (#7743)

* regenerate package-lock.json (#7756)

* fix build error

* match class name with p2svpnconnectionrequest in nrp

* address the PR comments

* address the PR comments

* Prettify Network examples

* fix format of json

* Adding management IP configuration for Azure Firewall (#7851)

* Adding management IP configuration to firewall

* Changing description wording back

* Adding type property to AzureFirewallIpConfiguration

* Bumping API version in example files

* Fixing style issues

* Missed period at end of description

* Added connection monitor to networkWatcher swagger (#7881)

* Added connection monitor to networkWatcher swagger

* Added tests for connection monitor

* Added NetworkWatcherConnectionMonitorUpdateTags test

* Removed reference on connectionMOnitorV1 in readme.md

* Suppressed DefinitionsPropertiesNamesCamelCase error

* Fixed warnings and added example cor connectionMonitorV2 creation

* Fixed formatting in NetworkWatcherConnectionMonitorV2Create test

* Added connectionMonitorType property to connectionMonitorResult

* Fixed networkWatcher swagger based on CR. Run prettier check

* Minor changes

* Run prettier check for networkWatcher

* Adding note about API (#8104)

being in Preview

* Reverted express route changes brought in by a44f306#diff-2f0aa6e57d2b97956e1fb54558cf4cdeR1714

* Reverted changes made by commit a44f306#diff-2f0aa6e57d2b97956e1fb54558cf4cdeR1714

* Adding the structure of urlConfiguration in rewriteRuleActionSet (#7905)

* Url Configuration swagger changes for Url Rewrite feature of Application Gateway

* prettier fix

* DDOS protected IP flag for public IP (#8042)

* DDOS protected IP flag for public IP

* Protected IP property in ddos setting

* fixing build errors

* Retriggering the build

* Added flowLog to NetworkWatcher swagger + examples (#8025)

* Added flowLog ro NetworkWatcher swagger + examples

* Cleaned up required properties for trafficAnalytics flow log

* Fixes based on CR

Co-authored-by: solhaile <[email protected]>
Co-authored-by: Ranjani Hatti <[email protected]>
Co-authored-by: ssripadham <[email protected]>
Co-authored-by: Ning Wei <[email protected]>
Co-authored-by: iatodoro <[email protected]>
Co-authored-by: irrogozh <[email protected]>
Co-authored-by: Dalan Mendonca <[email protected]>
Co-authored-by: amwate <[email protected]>
Co-authored-by: Abhinav Jain <[email protected]>
Co-authored-by: manchit <[email protected]>
@v-shhatt v-shhatt deleted the remove-verb-swaggerdesc branch January 20, 2020 09:52
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.

8 participants