Skip to content

Update latest encoding and ContentKeyPolicies json for Nov Stable rel…#7857

Closed
giakas wants to merge 11 commits intoAzure:masterfrom
giakas:master
Closed

Update latest encoding and ContentKeyPolicies json for Nov Stable rel…#7857
giakas wants to merge 11 commits intoAzure:masterfrom
giakas:master

Conversation

@giakas
Copy link
Contributor

@giakas giakas commented Nov 27, 2019

…ease

This release includes Fairplay Offline rental feature and Content aware encoding.

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.

@AutorestCI
Copy link

AutorestCI commented Nov 27, 2019

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#9040

@AutorestCI
Copy link

AutorestCI commented Nov 27, 2019

Automation for azure-sdk-for-go

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

@anuchandy anuchandy removed their assignment Dec 1, 2019
@anuchandy
Copy link
Member

ARM spec, requesting reassign.

@azuresdkci azuresdkci requested a review from yaohaizh December 1, 2019 21:49
@yaohaizh yaohaizh added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Dec 2, 2019
Copy link
Contributor

@KrisBash KrisBash left a comment

Choose a reason for hiding this comment

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

One comment regarding spelling

@KrisBash KrisBash added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Dec 3, 2019
@yaohaizh
Copy link
Contributor

yaohaizh commented Dec 5, 2019

@giakas please address the review feedback and fix CI errors. Thanks.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Dec 6, 2019

azure-sdk-for-js

failed [Logs] [Expand Details]
  • Generate from 9354da3 with merge commit 879317762bed5fb44f7a59a88b79603d594d32be. SDK Automation 13.0.17.20191213.4
    [AutoRest] ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
    [AutoRest]     - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    [AutoRest] FATAL: swagger-document/loader - FAILED
    [AutoRest] FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    [AutoRest] Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    Failed to run autorest.
    Error: /z/node_modules/.bin/autorest --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.2.2 --typescript-sdks-folder=/z/work/azure-sdk-for-js --version=2.0.4407 /z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/readme.md ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
        - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    FATAL: swagger-document/loader - FAILED
    FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    , {} 

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Dec 6, 2019

azure-sdk-for-python

failed [Logs] [Expand Details]
  • Generate from 9354da3 with merge commit 879317762bed5fb44f7a59a88b79603d594d32be. SDK Automation 13.0.17.20191213.4
    [AutoRest] ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
    [AutoRest]     - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    [AutoRest] FATAL: swagger-document/loader - FAILED
    [AutoRest] FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    [AutoRest] Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    Failed to run autorest.
    Error: /z/node_modules/.bin/autorest --version=2.0.4407 --use=@microsoft.azure/autorest.python@~4.0.71 --python --python-mode=update --multiapi --keep-version-file --no-async --python-sdks-folder=/z/work/azure-sdk-for-python/sdk /z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/readme.md ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
        - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    FATAL: swagger-document/loader - FAILED
    FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    , {} 

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Dec 6, 2019

azure-sdk-for-java

failed [Logs] [Expand Details]
  • Generate from 9354da3 with merge commit 879317762bed5fb44f7a59a88b79603d594d32be. SDK Automation 13.0.17.20191213.4
    [AutoRest] ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
    [AutoRest]     - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    [AutoRest] FATAL: swagger-document/loader - FAILED
    [AutoRest] FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    [AutoRest] Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    [AutoRest] Failure during batch task - {"tag":"package-2018-07"} -- false.
    Failed to run autorest.
    Error: /z/node_modules/.bin/autorest --java --verbose --multiapi --use=@microsoft.azure/autorest.java@2.1.95 --azure-libraries-for-java-folder=/z/work/azure-sdk-for-java --version=2.0.4407 /z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/readme.md ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
        - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    FATAL: swagger-document/loader - FAILED
    FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    Failure during batch task - {"tag":"package-2018-07"} -- false.
    , {} 

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Dec 6, 2019

azure-sdk-for-net

failed [Logs] [Expand Details]
  • Generate from 9354da3 with merge commit 879317762bed5fb44f7a59a88b79603d594d32be. SDK Automation 13.0.17.20191213.4
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
    [AutoRest]     - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    [AutoRest] FATAL: swagger-document/loader - FAILED
    [AutoRest] FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    [AutoRest] Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    Failed to run autorest.
    Error: /z/node_modules/.bin/autorest --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/z/work/azure-sdk-for-net/sdk --version=2.0.4407 /z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/readme.md realpath(): Permission denied
    realpath(): Permission denied
    realpath(): Permission denied
    realpath(): Permission denied
    realpath(): Permission denied
    realpath(): Permission denied
    ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
        - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    FATAL: swagger-document/loader - FAILED
    FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    , {} 

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Dec 6, 2019

azure-sdk-for-go

failed [Logs] [Expand Details]
  • Generate from 9354da3 with merge commit 879317762bed5fb44f7a59a88b79603d594d32be. SDK Automation 13.0.17.20191213.4
    [AutoRest] ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
    [AutoRest]     - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    [AutoRest] FATAL: swagger-document/loader - FAILED
    [AutoRest] FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    [AutoRest] Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    [AutoRest] Failure during batch task - {"tag":"package-2018-07"} -- false.
    Failed to run autorest.
    Error: /z/node_modules/.bin/autorest --use=@microsoft.azure/autorest.go@~2.1.138 --go --verbose --multiapi --use-onever --preview-chk --go-sdk-folder=/z/work/src/github.com/Azure/azure-sdk-for-go --version=2.0.4407 /z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/readme.md ERROR: Referenced file 'file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets-not-found.json' not found
        - file:///z/work/azure-rest-api-specs/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json:1163:12 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets"].post["x-ms-examples"]["Get an nonexistent Content Key Policy with secrets"]["$ref"])
    FATAL: swagger-document/loader - FAILED
    FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
    Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
    Failure during batch task - {"tag":"package-2018-07"} -- false.
    , {} 

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@yaohaizh
Copy link
Contributor

@giakas please fix model validation errors. Thanks.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@giakas giakas closed this Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants