Skip to content

Update readme.java.md with new tag#8086

Closed
ChenTanyi wants to merge 1 commit intomasterfrom
recoveryservicesbackup_java
Closed

Update readme.java.md with new tag#8086
ChenTanyi wants to merge 1 commit intomasterfrom
recoveryservicesbackup_java

Conversation

@ChenTanyi
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.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 8, 2020

azure-sdk-for-go

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 8, 2020

azure-sdk-for-net

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 8, 2020

azure-sdk-for-js

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 30d00e9 with merge commit 56ac84917ef112bf1eb7b562686d0b80994714e2. SDK Automation 13.0.17.20191226.1
    Failed to find any diff after autorest so no changed packages was found.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 8, 2020

azure-sdk-for-java

failed [Logs] [Expand Details]
  • Generate from 30d00e9 with merge commit 56ac84917ef112bf1eb7b562686d0b80994714e2. SDK Automation 13.0.17.20191226.1
    [AutoRest] FATAL: System.ArgumentException: An item with the same key has already been added. Key: operations
    [AutoRest]    at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object key)
    [AutoRest]    at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
    [AutoRest]    at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
    [AutoRest]    at AutoRest.Java.Azure.Fluent.Model.SegmentFluentMethodGroups.Add(SegmentFluentMethodGroupList list) in /home/vsts/work/1/s/src/azurefluent/Model/FluentCommon/FluentMethodGroup/SegmentFluentMethodGroup/SegmentFluentMethodGroups.cs:line 66
    [AutoRest]    at AutoRest.Java.Azure.Fluent.Model.SegmentFluentMethodGroups.InnerMethodGroupToSegmentFluentMethodGroups(CodeModelJvaf codeModel) in /home/vsts/work/1/s/src/azurefluent/Model/FluentCommon/FluentMethodGroup/SegmentFluentMethodGroup/SegmentFluentMethodGroups.cs:line 79
    [AutoRest]    at AutoRest.Java.Azure.Fluent.CodeGeneratorJvaf.d__6.MoveNext() in /home/vsts/work/1/s/src/azurefluent/CodeGeneratorJvaf.cs:line 55
    [AutoRest] --- End of stack trace from previous location where exception was thrown ---
    [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [AutoRest]    at AutoRest.Java.Program.d__3.MoveNext() in /home/vsts/work/1/s/src/Program.cs:line 114
    [AutoRest] --- End of stack trace from previous location where exception was thrown ---
    [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    [AutoRest]    at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Plugins/NewPlugin.cs:line 163
    [AutoRest] FATAL: java/generate - FAILED
    [AutoRest] FATAL: Error: Plugin java reported failure.
    [AutoRest] Failure during batch task - {"tag":"package-2019-06"} -- Error: Plugin java reported failure..
    [AutoRest]   Error: Plugin java reported failure.
    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/recoveryservicesbackup/resource-manager/readme.md FATAL: System.ArgumentException: An item with the same key has already been added. Key: operations
       at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object key)
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
       at AutoRest.Java.Azure.Fluent.Model.SegmentFluentMethodGroups.Add(SegmentFluentMethodGroupList list) in /home/vsts/work/1/s/src/azurefluent/Model/FluentCommon/FluentMethodGroup/SegmentFluentMethodGroup/SegmentFluentMethodGroups.cs:line 66
       at AutoRest.Java.Azure.Fluent.Model.SegmentFluentMethodGroups.InnerMethodGroupToSegmentFluentMethodGroups(CodeModelJvaf codeModel) in /home/vsts/work/1/s/src/azurefluent/Model/FluentCommon/FluentMethodGroup/SegmentFluentMethodGroup/SegmentFluentMethodGroups.cs:line 79
       at AutoRest.Java.Azure.Fluent.CodeGeneratorJvaf.d__6.MoveNext() in /home/vsts/work/1/s/src/azurefluent/CodeGeneratorJvaf.cs:line 55
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at AutoRest.Java.Program.d__3.MoveNext() in /home/vsts/work/1/s/src/Program.cs:line 114
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Plugins/NewPlugin.cs:line 163
    FATAL: java/generate - FAILED
    FATAL: Error: Plugin java reported failure.
    Failure during batch task - {"tag":"package-2019-06"} -- Error: Plugin java reported failure..
      Error: Plugin java reported failure.
    , {} 

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 8, 2020

azure-sdk-for-python

️✔️ succeeded [Logs] [Expand Details]

@akning-ms
Copy link
Contributor

@ChenTanyi Can I know what is the reason to have this change? Looks the Java SDK auto gen is fail and the change you did is for Java

@ChenTanyi
Copy link
Contributor Author

@akning-ms The java generation error is due to the swagger doesn't fit with java sdk generation in #7699. The service team doesn't add java generation in that PR, so I update the java generation here.
I have asked the service team to fix the generation error. @pratimaupadhyay02 Could you update the swagger here in order to fix the java generation error, like we talked in email?

@PhoenixHe-NV
Copy link

/openapi sdkautomation

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@ChenTanyi ChenTanyi closed this Jan 15, 2020
@ChenTanyi ChenTanyi deleted the recoveryservicesbackup_java branch January 15, 2020 09:58
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