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

chore: jsonfmt eventhub #6063

Merged
merged 3 commits into from
Jun 14, 2019
Merged

Conversation

nschonni
Copy link
Contributor

Ran jsonfmt -w "specification/eventhub/**/*.json"

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@AutorestCI
Copy link

AutorestCI commented May 22, 2019

Automation for azure-sdk-for-ruby

Nothing to generate for azure-sdk-for-ruby

@AutorestCI
Copy link

AutorestCI commented May 22, 2019

Automation for azure-sdk-for-python

Nothing to generate for azure-sdk-for-python

@AutorestCI
Copy link

AutorestCI commented May 22, 2019

Automation for azure-sdk-for-js

Nothing to generate for azure-sdk-for-js

@AutorestCI
Copy link

AutorestCI commented May 22, 2019

Automation for azure-sdk-for-go

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-go#5019

@AutorestCI
Copy link

AutorestCI commented May 22, 2019

Automation for azure-sdk-for-java

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

Command: ['/usr/local/bin/autorest', '/tmp/tmpvl0dii_6/rest/specification/eventhub/resource-manager/readme.md', '--perform-load=false', '--swagger-to-sdk', '--output-artifact=configuration.json', '--input-file=foo', '--output-folder=/tmp/tmp6nhxnm80']
Finished with return code 7
and output:

AutoRest code generation utility [version: 2.0.4283; node: v8.12.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
Failure:
Error: Unable to start AutoRest Core from /root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core
Error: Unable to start AutoRest Core from /root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core
    at main (/opt/node_modules/autorest/dist/app.js:232:19)
    at <anonymous>

/root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core/dist/app.js:33
    autorest_core_1.Shutdown();
    ^
ReferenceError: autorest_core_1 is not defined
    at process.on (/root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core/dist/app.js:33:5)
    at emitOne (events.js:121:20)
    at process.emit (events.js:211:7)
    at process.emit (/node_modules/source-map-support/source-map-support.js:439:21)
fs.js:612
  return binding.close(fd);
                 ^

Error: EBADF: bad file descriptor, close
    at Object.fs.closeSync (fs.js:612:18)
    at StaticVolumeFile.shutdown (/opt/node_modules/autorest/dist/static-loader.js:352:10)
    at StaticFilesystem.shutdown (/opt/node_modules/autorest/dist/static-loader.js:406:17)
    at process.exit.n [as exit] (/opt/node_modules/autorest/dist/static-loader.js:169:11)
    at printErrorAndExit (/node_modules/source-map-support/source-map-support.js:423:11)
    at process.emit (/node_modules/source-map-support/source-map-support.js:435:16)
    at process._fatalException (bootstrap_node.js:391:26)

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jun 5, 2019

SDK Automation [Logs] (Generated from b5f49b1)

Pending Python: Azure/azure-sdk-for-python
  • Package generation pending.
Pending Java: Azure/azure-sdk-for-java
  • Package generation pending.
Pending Go: Azure/azure-sdk-for-go
  • Package generation pending.
Pending JavaScript: Azure/azure-sdk-for-js
  • Package generation pending.
Pending Ruby: Azure/azure-sdk-for-ruby
  • Package generation pending.

@nschonni
Copy link
Contributor Author

nschonni commented Jun 6, 2019

@v-Ajnava fixed model validation issues in separate commits, but I can pull them out if you prefer

@amarzavery amarzavery merged commit 8b5cb0f into Azure:master Jun 14, 2019
@nschonni nschonni deleted the chore--jsonfmt-eventhub branch June 14, 2019 19:28
mccleanp pushed a commit that referenced this pull request Mar 23, 2022
* Initial commit of microsoft.syntex to RPSaaSMaster branch
- Dev syntex microsoft.syntex 2021 10 20 preview (#5281)
- Aligned resource type names with the guidelines (plural, camelCase)
- Updated provider name in URIs to lower case and provider type to plural camelCase
- Updated examples to match specification
- Updated DocumentProperties with new required fields, added processDocuments request (#5971)
- Changed suffix from -preview to -privatepreview (#6047)
- Corrected description field (#6059)
- Reverted back to -preview from -privatepreview (#6061)

* Added Syntex to custom-words.txt

* Fixed 'Missing required property: meterId'

* Fixed "the 'openapi-subtype' is unset" error

* Fixing Lint(RPaaS) errors:
- x-ms-long-running-operation
- provisioningState

* More Lint(RPaaS) errors:
- x-ms-long-running-operation-options
- provisioningState directly in the properties bag

* ModelValidation: fixed position of provisioningState

* Fixed OneUnderscoreInOperationId LintDiff errors

* Fixing "Resource provider naming must follow the pascal case" errors.

* Fixing systemData error

* Fixed location of the types.json, which is in common-types

* Fixed location of systemData in the DocumentProcessorResource

* Another re-positioning of systemData

* Started referencing the Resource from common-types

* Changed base resource of DocumentProcessorResource from Resource to TrackedResource

* Corrected update example by adding location property

* correctly placed location property in the update request

* Fixed update LintDiff error

* Fixed Delete 204 LintDiff error

* Fixed XmsIdentifierValidation errors

* Fixed operation response

* Fixed errors related to x-ms-pageable

* Fixed duplicate example Operation IDs

* Fixed x-ms-long-running-operation - related error

* Added description field to ResponseStatus

* Fixed a spelling error

* Fixed azure-asyncoperation - related error

* fixed prettier errors

* Addressed feedback from ARM review board meeting (#6107)

* Removed processDocument operation

* Removed DocumentProcessorProperties and ProvisioningState

* Fixed examples after removing DocumentProperties and ProvisioningState

* Removed x-ms-long-running-operation and 201/202 return codes

* Revert "Removed DocumentProcessorProperties and ProvisioningState"

This reverts commit 2e621471a91c6453a2e9a154604a608dbe059ee4.

* Removed processorName property after reverting DocumentProperties back

* Simplified ProvisioningState to have only 2 states to reflect non-async resource creation status

* Removed depricated status codes from the examples

* Made sure that only tags property of the DocumentProcessorResource can be patched.

* Added "Canceled" terminal state per Sanjai's feedback.
yurych added a commit to yurych/azure-rest-api-specs that referenced this pull request Sep 30, 2022
* Initial commit of microsoft.syntex to RPSaaSMaster branch
- Dev syntex microsoft.syntex 2021 10 20 preview (Azure#5281)
- Aligned resource type names with the guidelines (plural, camelCase)
- Updated provider name in URIs to lower case and provider type to plural camelCase
- Updated examples to match specification
- Updated DocumentProperties with new required fields, added processDocuments request (Azure#5971)
- Changed suffix from -preview to -privatepreview (Azure#6047)
- Corrected description field (Azure#6059)
- Reverted back to -preview from -privatepreview (Azure#6061)

* Added Syntex to custom-words.txt

* Fixed 'Missing required property: meterId'

* Fixed "the 'openapi-subtype' is unset" error

* Fixing Lint(RPaaS) errors:
- x-ms-long-running-operation
- provisioningState

* More Lint(RPaaS) errors:
- x-ms-long-running-operation-options
- provisioningState directly in the properties bag

* ModelValidation: fixed position of provisioningState

* Fixed OneUnderscoreInOperationId LintDiff errors

* Fixing "Resource provider naming must follow the pascal case" errors.

* Fixing systemData error

* Fixed location of the types.json, which is in common-types

* Fixed location of systemData in the DocumentProcessorResource

* Another re-positioning of systemData

* Started referencing the Resource from common-types

* Changed base resource of DocumentProcessorResource from Resource to TrackedResource

* Corrected update example by adding location property

* correctly placed location property in the update request

* Fixed update LintDiff error

* Fixed Delete 204 LintDiff error

* Fixed XmsIdentifierValidation errors

* Fixed operation response

* Fixed errors related to x-ms-pageable

* Fixed duplicate example Operation IDs

* Fixed x-ms-long-running-operation - related error

* Added description field to ResponseStatus

* Fixed a spelling error

* Fixed azure-asyncoperation - related error

* fixed prettier errors

* Addressed feedback from ARM review board meeting (Azure#6107)

* Removed processDocument operation

* Removed DocumentProcessorProperties and ProvisioningState

* Fixed examples after removing DocumentProperties and ProvisioningState

* Removed x-ms-long-running-operation and 201/202 return codes

* Revert "Removed DocumentProcessorProperties and ProvisioningState"

This reverts commit 2e621471a91c6453a2e9a154604a608dbe059ee4.

* Removed processorName property after reverting DocumentProperties back

* Simplified ProvisioningState to have only 2 states to reflect non-async resource creation status

* Removed depricated status codes from the examples

* Made sure that only tags property of the DocumentProcessorResource can be patched.

* Added "Canceled" terminal state per Sanjai's feedback.
ruowan pushed a commit that referenced this pull request Oct 7, 2022
…r/RPSaaSMaster to azure-rest-api-specs/main (#20959)

* Initial commit of microsoft.syntex to RPSaaSMaster branch (#6063)

* Initial commit of microsoft.syntex to RPSaaSMaster branch
- Dev syntex microsoft.syntex 2021 10 20 preview (#5281)
- Aligned resource type names with the guidelines (plural, camelCase)
- Updated provider name in URIs to lower case and provider type to plural camelCase
- Updated examples to match specification
- Updated DocumentProperties with new required fields, added processDocuments request (#5971)
- Changed suffix from -preview to -privatepreview (#6047)
- Corrected description field (#6059)
- Reverted back to -preview from -privatepreview (#6061)

* Added Syntex to custom-words.txt

* Fixed 'Missing required property: meterId'

* Fixed "the 'openapi-subtype' is unset" error

* Fixing Lint(RPaaS) errors:
- x-ms-long-running-operation
- provisioningState

* More Lint(RPaaS) errors:
- x-ms-long-running-operation-options
- provisioningState directly in the properties bag

* ModelValidation: fixed position of provisioningState

* Fixed OneUnderscoreInOperationId LintDiff errors

* Fixing "Resource provider naming must follow the pascal case" errors.

* Fixing systemData error

* Fixed location of the types.json, which is in common-types

* Fixed location of systemData in the DocumentProcessorResource

* Another re-positioning of systemData

* Started referencing the Resource from common-types

* Changed base resource of DocumentProcessorResource from Resource to TrackedResource

* Corrected update example by adding location property

* correctly placed location property in the update request

* Fixed update LintDiff error

* Fixed Delete 204 LintDiff error

* Fixed XmsIdentifierValidation errors

* Fixed operation response

* Fixed errors related to x-ms-pageable

* Fixed duplicate example Operation IDs

* Fixed x-ms-long-running-operation - related error

* Added description field to ResponseStatus

* Fixed a spelling error

* Fixed azure-asyncoperation - related error

* fixed prettier errors

* Addressed feedback from ARM review board meeting (#6107)

* Removed processDocument operation

* Removed DocumentProcessorProperties and ProvisioningState

* Fixed examples after removing DocumentProperties and ProvisioningState

* Removed x-ms-long-running-operation and 201/202 return codes

* Revert "Removed DocumentProcessorProperties and ProvisioningState"

This reverts commit 2e621471a91c6453a2e9a154604a608dbe059ee4.

* Removed processorName property after reverting DocumentProperties back

* Simplified ProvisioningState to have only 2 states to reflect non-async resource creation status

* Removed depricated status codes from the examples

* Made sure that only tags property of the DocumentProcessorResource can be patched.

* Added "Canceled" terminal state per Sanjai's feedback.

* Added a new API version to accommodate a new spoTenantAdminUrl property (#7579)

* copied 2021-10-20 to 2022-06-15

* - Added spoTenantAdminUrl property
- Updated examples and the spec to make sure spoAdminTenantUrl is patchable.
- Fixed prettier errors
- copied 2021-10-20 to 2022-06-15
- corrected API version in 2022-06-15 folder
- Restored 2021-10-20 version to its original state
- made the latest API version a default tag in readme.md
- made spoTenantAdminUrl required in the new API (#7586)
- Fixed required property for spoTenantAdminUrl (#7588)

* Corrected PATCH schema and example (#7601)

* New API version: 2022-09-15-preview (#8815)

* initial copy of 2022-06-15-preview API

* changed API version

* Updated readme.md to incorporate a new version

* Updated resource schema

* removed processDocuments operation, associated types and examples

* Updated examples to match new schema

* Fixed prettier errors

* Removed API versions that we don't want to move from azure-rest-api-specs-pr/RPSaaSMaster to azure-rest-api-specs/main:
- 2021-10-20-preview
- 2022-06-15-preview
Left only 2022-09-15-preview version.

* Added  "x-ms-parameter-location": "method" to fix XmsParameterLocation LintDiff error.

* Tim's feedback:
- Expanded SPO achronym in comments
- Started referencing common-types v3 instead of v2
- Started referencing OperationListResult from common-types v3, removed local OperationsListResult
- Removed systemData from DocumentProcessorResource
- Added provisioningState to Create, Get, and List responses
- Changed capitalization: microsoft.syntex -> Microsoft.Syntex
- Added operation list to the Operations_list.json example

* Fixed prettier errors

* Tim's feedback:
- Added 201 response code for PUT request
- Added an example for 201 PUT response

* Tim's feedback:
- Changed Id -> ID

* Tim's feedback:
- Started using SubscriptionId, ResourceGroupName and ApiVersion parameters from common-types v3

* Tim's feedback
- Fixed casing in resource IDs

* Tim's feedback:
- correciton: patched -> updated

* Tim's feedback:
- Started referencing ErrorResponse from common-types v3

* Tim's feedback:
- Removed namd from x-ms-identifiers
anandanthony pushed a commit to anandMicro/azure-rest-api-specs that referenced this pull request Dec 16, 2022
…r/RPSaaSMaster to azure-rest-api-specs/main (Azure#20959)

* Initial commit of microsoft.syntex to RPSaaSMaster branch (Azure#6063)

* Initial commit of microsoft.syntex to RPSaaSMaster branch
- Dev syntex microsoft.syntex 2021 10 20 preview (Azure#5281)
- Aligned resource type names with the guidelines (plural, camelCase)
- Updated provider name in URIs to lower case and provider type to plural camelCase
- Updated examples to match specification
- Updated DocumentProperties with new required fields, added processDocuments request (Azure#5971)
- Changed suffix from -preview to -privatepreview (Azure#6047)
- Corrected description field (Azure#6059)
- Reverted back to -preview from -privatepreview (Azure#6061)

* Added Syntex to custom-words.txt

* Fixed 'Missing required property: meterId'

* Fixed "the 'openapi-subtype' is unset" error

* Fixing Lint(RPaaS) errors:
- x-ms-long-running-operation
- provisioningState

* More Lint(RPaaS) errors:
- x-ms-long-running-operation-options
- provisioningState directly in the properties bag

* ModelValidation: fixed position of provisioningState

* Fixed OneUnderscoreInOperationId LintDiff errors

* Fixing "Resource provider naming must follow the pascal case" errors.

* Fixing systemData error

* Fixed location of the types.json, which is in common-types

* Fixed location of systemData in the DocumentProcessorResource

* Another re-positioning of systemData

* Started referencing the Resource from common-types

* Changed base resource of DocumentProcessorResource from Resource to TrackedResource

* Corrected update example by adding location property

* correctly placed location property in the update request

* Fixed update LintDiff error

* Fixed Delete 204 LintDiff error

* Fixed XmsIdentifierValidation errors

* Fixed operation response

* Fixed errors related to x-ms-pageable

* Fixed duplicate example Operation IDs

* Fixed x-ms-long-running-operation - related error

* Added description field to ResponseStatus

* Fixed a spelling error

* Fixed azure-asyncoperation - related error

* fixed prettier errors

* Addressed feedback from ARM review board meeting (Azure#6107)

* Removed processDocument operation

* Removed DocumentProcessorProperties and ProvisioningState

* Fixed examples after removing DocumentProperties and ProvisioningState

* Removed x-ms-long-running-operation and 201/202 return codes

* Revert "Removed DocumentProcessorProperties and ProvisioningState"

This reverts commit 2e621471a91c6453a2e9a154604a608dbe059ee4.

* Removed processorName property after reverting DocumentProperties back

* Simplified ProvisioningState to have only 2 states to reflect non-async resource creation status

* Removed depricated status codes from the examples

* Made sure that only tags property of the DocumentProcessorResource can be patched.

* Added "Canceled" terminal state per Sanjai's feedback.

* Added a new API version to accommodate a new spoTenantAdminUrl property (Azure#7579)

* copied 2021-10-20 to 2022-06-15

* - Added spoTenantAdminUrl property
- Updated examples and the spec to make sure spoAdminTenantUrl is patchable.
- Fixed prettier errors
- copied 2021-10-20 to 2022-06-15
- corrected API version in 2022-06-15 folder
- Restored 2021-10-20 version to its original state
- made the latest API version a default tag in readme.md
- made spoTenantAdminUrl required in the new API (Azure#7586)
- Fixed required property for spoTenantAdminUrl (Azure#7588)

* Corrected PATCH schema and example (Azure#7601)

* New API version: 2022-09-15-preview (Azure#8815)

* initial copy of 2022-06-15-preview API

* changed API version

* Updated readme.md to incorporate a new version

* Updated resource schema

* removed processDocuments operation, associated types and examples

* Updated examples to match new schema

* Fixed prettier errors

* Removed API versions that we don't want to move from azure-rest-api-specs-pr/RPSaaSMaster to azure-rest-api-specs/main:
- 2021-10-20-preview
- 2022-06-15-preview
Left only 2022-09-15-preview version.

* Added  "x-ms-parameter-location": "method" to fix XmsParameterLocation LintDiff error.

* Tim's feedback:
- Expanded SPO achronym in comments
- Started referencing common-types v3 instead of v2
- Started referencing OperationListResult from common-types v3, removed local OperationsListResult
- Removed systemData from DocumentProcessorResource
- Added provisioningState to Create, Get, and List responses
- Changed capitalization: microsoft.syntex -> Microsoft.Syntex
- Added operation list to the Operations_list.json example

* Fixed prettier errors

* Tim's feedback:
- Added 201 response code for PUT request
- Added an example for 201 PUT response

* Tim's feedback:
- Changed Id -> ID

* Tim's feedback:
- Started using SubscriptionId, ResourceGroupName and ApiVersion parameters from common-types v3

* Tim's feedback
- Fixed casing in resource IDs

* Tim's feedback:
- correciton: patched -> updated

* Tim's feedback:
- Started referencing ErrorResponse from common-types v3

* Tim's feedback:
- Removed namd from x-ms-identifiers
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.

4 participants