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

updating Form Recognizer V2.0 to stable #10367

Merged
merged 2 commits into from
Aug 6, 2020

Conversation

kristapratico
Copy link
Member

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

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable version with Breaking Change Validation errors
  • Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 6, 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).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 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 Aug 6, 2020

azure-sdk-for-js - 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 Aug 6, 2020

Azure CLI Extension 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 Aug 6, 2020

azure-sdk-for-python - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from 89b1940 with merge commit adda038. SDK Automation 13.0.17.20200619.4
  • ️✔️azure-cognitiveservices-formrecognizer [View full logs]  [Release SDK Changes]
    [build_conf] INFO:packaging_tools:Building template azure-cognitiveservices-formrecognizer
    [build_conf] INFO:packaging_tools.conf:Skipping default conf since the file exists
    [build_conf] INFO:packaging_tools:Skipping CHANGELOG.md template, since a previous one was found
    [build_conf] INFO:packaging_tools:Template done azure-cognitiveservices-formrecognizer
    [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] 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] 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
    [ChangeLog] Traceback (most recent call last):
    [ChangeLog]   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    [ChangeLog]     "__main__", mod_spec)
    [ChangeLog]   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    [ChangeLog]     exec(code, run_globals)
    [ChangeLog]   File "/z/work/azure-sdk-for-python/tools/azure-sdk-tools/packaging_tools/change_log.py", line 200, in 
    [ChangeLog]     change_log = build_change_log(old_report, new_report)
    [ChangeLog]   File "/z/work/azure-sdk-for-python/tools/azure-sdk-tools/packaging_tools/change_log.py", line 147, in build_change_log
    [ChangeLog]     change_log.operation(diff_line)
    [ChangeLog]   File "/z/work/azure-sdk-for-python/tools/azure-sdk-tools/packaging_tools/change_log.py", line 38, in operation
    [ChangeLog]     _, operation_name, *remaining_path = path
    [ChangeLog] ValueError: not enough values to unpack (expected at least 2, got 1)
    [ChangeLog] Size of delta 99.536% size of original (original: 15955 chars, delta: 15881 chars)

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 2020

azure-sdk-for-java - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 89b1940 with merge commit adda038. SDK Automation 13.0.17.20200619.4
    Failed to find any changed packages. Please check the changed file list.
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/FormRecognizerClient.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/implementation/FormRecognizerClientImpl.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/implementation/package-info.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/AnalyzeLayoutAsyncHeaders.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/AnalyzeOperationResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/AnalyzeReceiptAsyncHeaders.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/AnalyzeResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/AnalyzeWithCustomModelHeaders.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/CopyAuthorizationResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/CopyCustomModelHeaders.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/CopyOperationResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/CopyRequest.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/CopyResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/DataTable.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/DataTableCell.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/DocumentResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/ErrorInformation.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/ErrorResponse.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/ErrorResponseException.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/FieldValue.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/FieldValueType.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/FormFieldsReport.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/GenerateModelCopyAuthorizationHeaders.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/KeyValueElement.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/KeyValuePair.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/KeysResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/Language.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/LengthUnit.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/Model.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/ModelInfo.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/ModelStatus.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/ModelsModel.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/ModelsSummary.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/OperationStatus.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/PageImpl.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/PageResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/ReadResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/SourcePath.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/TextLine.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/TextWord.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/TrainCustomModelAsyncHeaders.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/TrainRequest.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/TrainResult.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/TrainSourceFilter.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/TrainStatus.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/TrainingDocumentInfo.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/models/package-info.java
    /z/work/azure-sdk-for-java/cognitiveservices/data-plane/vision/formrecognizer/src/main/java/com/microsoft/azure/cognitiveservices/formrecognizer/package-info.java

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 2020

azure-sdk-for-go - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 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

@@ -15,6 +15,13 @@ openapi-type: data-plane

``` yaml

tag: release_2_0_preview
Copy link
Member

@samvaity samvaity Aug 6, 2020

Choose a reason for hiding this comment

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

does this need to be release_2_0_GA and also other references below?

Copy link
Member

Choose a reason for hiding this comment

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

It seems this entire new block is not necessary (line 18 to 24)

Copy link
Member Author

@kristapratico kristapratico Aug 6, 2020

Choose a reason for hiding this comment

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

Take a look at the collapsed tag above, that one targets GA and is just release_2_0 (sorry the diff is confusing)

Copy link
Member Author

Choose a reason for hiding this comment

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

Following Text Analytics format where preview releases have preview tagged on it and GA releases do not: https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cognitiveservices/data-plane/TextAnalytics#releases

Copy link
Member Author

@kristapratico kristapratico Aug 6, 2020

Choose a reason for hiding this comment

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

Sorry, didn't see your comment @lmazuel - do we not want to allow generation of the 2.0-preview as an option?

Copy link
Contributor

@ramparab ramparab left a comment

Choose a reason for hiding this comment

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

Looks good.

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 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

@lmazuel lmazuel merged commit adda038 into Azure:master Aug 6, 2020
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.

6 participants