Skip to content

Conversation

@suxi-ms
Copy link
Contributor

@suxi-ms suxi-ms commented Dec 1, 2021

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • 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 any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

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

@suxi-ms suxi-ms requested a review from yangyuan as a code owner December 1, 2021 05:24
@openapi-workflow-bot
Copy link

Hi, @suxi-ms Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Dec 1, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️LintDiff: 8 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ R2064 - LROStatusCodesReturnTypeSchema 200/201 Responses of long running operations must have a schema definition for return type. OperationId: 'UploadMultiDimRCAData', Response code: '201'
    Location: AnomalyDetector/preview/v2.0-preview/MultidimensionalRootCauseAnalysis.json#L219
    ⚠️ R3017 - GuidUsage Guid used in model definition 'MultiDimRCADataSetDetail' for property 'dataSetId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultidimensionalRootCauseAnalysis.json#L1001
    ⚠️ R3017 - GuidUsage Guid used in model definition 'MultiDimRCATargetMeasure' for property 'dataSetId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultidimensionalRootCauseAnalysis.json#L1494
    ⚠️ R3017 - GuidUsage Guid used in model definition 'MultiDimRCADataScope' for property 'dataSetId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultidimensionalRootCauseAnalysis.json#L1512
    ⚠️ R3017 - GuidUsage Guid used in model definition 'MultiDimRCAInstanceResponse' for property 'instanceId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultidimensionalRootCauseAnalysis.json#L1575
    ⚠️ R3017 - GuidUsage Guid used in model definition 'MultiDimRCATrainingResponse' for property 'taskId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultidimensionalRootCauseAnalysis.json#L1741
    ⚠️ R3017 - GuidUsage Guid used in model definition 'MultiDimRootCauseMeasure' for property 'dataSetId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultidimensionalRootCauseAnalysis.json#L1863
    ⚠️ R3017 - GuidUsage Guid used in model definition 'MultiDimRCAInferenceResponse' for property 'inferenceId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultidimensionalRootCauseAnalysis.json#L1947


    The following errors/warnings exist before current PR submission:

    Rule Message
    ⚠️ R3017 - GuidUsage Guid used in model definition 'Model' for property 'modelId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultivariateAnomalyDetector.json#L353
    ⚠️ R3017 - GuidUsage Guid used in model definition 'ModelSnapshot' for property 'modelId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultivariateAnomalyDetector.json#L724
    ⚠️ R3017 - GuidUsage Guid used in model definition 'DetectionResult' for property 'resultId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: AnomalyDetector/preview/v2.0-preview/MultivariateAnomalyDetector.json#L826
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.

    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation

    ️❌PrettierCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    HowToFix Code style issues found
    path: AnomalyDetector/preview/v2.0-preview/MultidimensionalRootCauseAnalysis.json
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Dec 1, 2021

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go - cognitiveservices/v1.0/anomalydetector - v60.1.0
    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs] Generate from b2749ce29af3e653f077ae58ec3f55e1205c7e57. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] azure-mgmt-core 1.3.0 requires azure-core<2.0.0,>=1.15.0, but you have azure-core 1.6.0 which is incompatible.
      cmderr	[automation_init.sh] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] opencensus-ext-azure 1.1.0 requires azure-core<2.0.0,>=1.12.0, but you have azure-core 1.6.0 which is incompatible.
      cmderr	[automation_init.sh] azure-mgmt-core 1.3.0 requires azure-core<2.0.0,>=1.15.0, but you have azure-core 1.6.0 which is incompatible.
      cmderr	[automation_init.sh] azure-identity 1.7.1 requires azure-core<2.0.0,>=1.11.0, but you have azure-core 1.6.0 which is incompatible.
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]
      cmderr	[automation_generate.sh] notice New minor version of npm available! 8.1.2 -> 8.3.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.3.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️azure-ai-anomalydetector [View full logs]  [Preview SDK Changes]
      info	[Changelog] data-plan skip changelog generation temporarily
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs] Generate from b2749ce29af3e653f077ae58ec3f55e1205c7e57. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      warn	File azure-sdk-for-net_tmp/initOutput.json not found to read
      command	pwsh ./eng/scripts/Automation-Sdk-Generate.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      cmderr	[Automation-Sdk-Generate.ps1] Could not execute because the application was not found or a compatible .NET SDK is not installed.
      cmderr	[Automation-Sdk-Generate.ps1] Possible reasons for this include:
      cmderr	[Automation-Sdk-Generate.ps1]   * You intended to execute a .NET program:
      cmderr	[Automation-Sdk-Generate.ps1]       The application 'msbuild' does not exist.
      cmderr	[Automation-Sdk-Generate.ps1]   * You intended to execute a .NET SDK command:
      cmderr	[Automation-Sdk-Generate.ps1]       A compatible installed .NET SDK for global.json version [6.0.100] from [/home/vsts/work/1/s/azure-sdk-for-net/global.json] was not found.
      cmderr	[Automation-Sdk-Generate.ps1]       Install the [6.0.100] .NET SDK or update [/home/vsts/work/1/s/azure-sdk-for-net/global.json] with an installed .NET SDK:
      cmderr	[Automation-Sdk-Generate.ps1] �[91mWrite-Error: �[91mError occurred while generating code for Azure.AI.AnomalyDetector
      cmderr	[Automation-Sdk-Generate.ps1] �[0m
    • Azure.AI.AnomalyDetector [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs] Generate from b2749ce29af3e653f077ae58ec3f55e1205c7e57. SDK Automation 14.0.0
      Only show 40 items here, please refer to log for details.
      cmderr	[generate.py] 2021-12-14 02:35:47 INFO mvn --no-transfer-progress clean install -f /home/vsts/work/1/s/azure-sdk-for-java/pom.xml -pl com.azure:sdk-build-tools
      cmderr	[generate.py] 2021-12-14 02:35:58 INFO mvn --no-transfer-progress clean verify package -f /home/vsts/work/1/s/azure-sdk-for-java/sdk/cognitiveservices/azure-cognitiveservices-MultidimensionalRootCauseAnalysis/pom.xml
      cmderr	[generate.py] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      cmderr	[generate.py] SLF4J: Defaulting to no-operation (NOP) logger implementation
      cmderr	[generate.py] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      cmderr	[generate.py] 2021-12-14 02:36:21 ERROR [COMPILE] Maven build fail
      cmderr	[generate.py] 2021-12-14 02:36:21 INFO autorest --version=3.6.6 --use=@autorest/[email protected] --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/cognitiveservices/azure-cognitiveservices-MultivariateAnomalyDetector --java.namespace=com.azure.cognitiveservices.MultivariateAnomalyDetector --java --low-level-client --sdk-integration --generate-samples --input-file=../azure-rest-api-specs/specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/MultivariateAnomalyDetector.json --java.credential-types=tokencredential --java.credential-scopes=https://cognitiveservices.azure.com/.default
      cmderr	[generate.py] 2021-12-14 02:36:33 INFO mvn --no-transfer-progress clean install -f /home/vsts/work/1/s/azure-sdk-for-java/pom.xml -pl com.azure:sdk-build-tools
      cmderr	[generate.py] 2021-12-14 02:36:44 INFO mvn --no-transfer-progress clean verify package -f /home/vsts/work/1/s/azure-sdk-for-java/sdk/cognitiveservices/azure-cognitiveservices-MultivariateAnomalyDetector/pom.xml
      cmderr	[generate.py] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      cmderr	[generate.py] SLF4J: Defaulting to no-operation (NOP) logger implementation
      cmderr	[generate.py] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/ChangePointDetect.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/CreateMultiDimRCADataSet.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/CreateMultiDimRCAInferenceTask.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/CreateMultiDimRCAInstance.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/CreateMultiDimRCATrainingTask.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/DeleteModel.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/DeleteMultiDimRCAData.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/DeleteMultiDimRCADataSet.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/DeleteMultiDimRCAInstance.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/DeleteMultiDimRCAModel.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/DetectAnomaly.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/EntireDetect.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/ExportModel.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/GetModel.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/GetMultiDimRCADataSet.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/GetMultiDimRCAInferenceState.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/GetMultiDimRCAInstance.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/GetMultiDimRCATrainingState.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/GetResult.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/LastDetect.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/ListModel.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/ListMultiDimRCAData.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/ListMultiDimRCADataSet.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/ListMultiDimRCAInstance.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/ListMultiDimRCATrainingStates.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/TrainModel.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/preview/v2.0-preview/examples/UploadMultiDimRCAData.json
      cmderr	[generate.py] 2021-12-14 02:37:18 INFO [Skip] changed file specification/cognitiveservices/data-plane/AnomalyDetector/readme.md
    • ️✔️azure-cognitiveservices-AnomalyDetector [View full logs]  [Preview SDK Changes]
      cmderr	[Inst] 2021-12-14 02:37:24 DEBUG Got artifact_id: azure-cognitiveservices-AnomalyDetector
      cmderr	[Inst] 2021-12-14 02:37:24 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-12-14 02:37:24 DEBUG Got artifact: azure-cognitiveservices-anomalydetector-1.0.0-beta.1.jar
      cmderr	[Inst] 2021-12-14 02:37:24 DEBUG Got artifact: azure-cognitiveservices-anomalydetector-1.0.0-beta.1-javadoc.jar
      cmderr	[Inst] 2021-12-14 02:37:24 DEBUG Got artifact: azure-cognitiveservices-anomalydetector-1.0.0-beta.1-sources.jar
      cmderr	[Inst] 2021-12-14 02:37:24 ERROR Unmatch any jar in artifacts
    • ️✔️azure-cognitiveservices-MultidimensionalRootCauseAnalysis [View full logs]  [Preview SDK Changes]
      cmderr	[Inst] 2021-12-14 02:37:30 DEBUG Got artifact_id: azure-cognitiveservices-MultidimensionalRootCauseAnalysis
      cmderr	[Inst] 2021-12-14 02:37:30 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-12-14 02:37:30 DEBUG Got artifact: azure-cognitiveservices-multidimensionalrootcauseanalysis-1.0.0-beta.1-javadoc.jar
      cmderr	[Inst] 2021-12-14 02:37:30 DEBUG Got artifact: azure-cognitiveservices-multidimensionalrootcauseanalysis-1.0.0-beta.1-sources.jar
      cmderr	[Inst] 2021-12-14 02:37:30 DEBUG Got artifact: azure-cognitiveservices-multidimensionalrootcauseanalysis-1.0.0-beta.1.jar
      cmderr	[Inst] 2021-12-14 02:37:30 ERROR Unmatch any jar in artifacts
    • ️✔️azure-cognitiveservices-MultivariateAnomalyDetector [View full logs]  [Preview SDK Changes]
      cmderr	[Inst] 2021-12-14 02:37:36 DEBUG Got artifact_id: azure-cognitiveservices-MultivariateAnomalyDetector
      cmderr	[Inst] 2021-12-14 02:37:36 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-12-14 02:37:36 DEBUG Got artifact: azure-cognitiveservices-multivariateanomalydetector-1.0.0-beta.1-javadoc.jar
      cmderr	[Inst] 2021-12-14 02:37:36 DEBUG Got artifact: azure-cognitiveservices-multivariateanomalydetector-1.0.0-beta.1-sources.jar
      cmderr	[Inst] 2021-12-14 02:37:36 DEBUG Got artifact: azure-cognitiveservices-multivariateanomalydetector-1.0.0-beta.1.jar
      cmderr	[Inst] 2021-12-14 02:37:36 ERROR Unmatch any jar in artifacts
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from b2749ce29af3e653f077ae58ec3f55e1205c7e57. SDK Automation 14.0.0
      command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️cognitiveservices/v1.0/anomalydetector [View full logs]  [Preview SDK Changes]
      info	[Changelog] This is a new package
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs] Generate from b2749ce29af3e653f077ae58ec3f55e1205c7e57. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      cmderr	[automation_init.sh] npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh] deprecated @opentelemetry/[email protected]: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh] notice created a lockfile as package-lock.json. You should commit this file.
      cmderr	[automation_init.sh] npm WARN @octokit/[email protected] requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/cognitiveservices-anomalydetector [View full logs]  [Preview SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @suxi-ms, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @jhendrixMSFT
    Copy link
    Member

    Have these APIs been reviewed by the API review board?

    @suxi-ms
    Copy link
    Contributor Author

    suxi-ms commented Dec 13, 2021

    Have these APIs been reviewed by the API review board?

    Not yet. We are scheduling the review time with review board.

    Copy link
    Member

    @mikekistler mikekistler left a comment

    Choose a reason for hiding this comment

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

    I made a quick pass and found a few issues.

    "type": "string"
    }
    }
    },
    Copy link
    Member

    Choose a reason for hiding this comment

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

    All success responses except 202 & 204 should define a response body.

    "@nextLink": {
    "description": "Link of next page, only provided when there are next pages",
    "type": "string",
    "readOnly": true
    Copy link
    Member

    Choose a reason for hiding this comment

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

    There is no need to define nextLink as readOnly: true as this schema is only used in a response.

    },
    {
    "in": "query",
    "name": "$skip",
    Copy link
    Member

    Choose a reason for hiding this comment

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

    DO NOT use the "$" prefix on OData query parameter names -- the Azure standard is to drop the "$".

    },
    {
    "in": "query",
    "name": "$maxpagesize",
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Don't use "$" in query parameter names.

    ],
    "type": "object",
    "properties": {
    "@nextLink": {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Don't use the "@" in the name of the nextLink property of pageable responses.

    "description": "create a multidimensional root cause analysis data set request",
    "schema": {
    "$ref": "#/definitions/CreateMultiDimRCADatasetRequest"
    }
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Should this body parameter be marked as required? The body schema has required fields so it seems unlikely that the entire body is optional.

    "description": "Data to be uploaded to perform multidimensional root cause analysis",
    "schema": {
    "$ref": "#/definitions/MultiDimRCAUploadDataRequest"
    }
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Should body parameter be required?

    "description": "Create a multidimensional RCA instance request",
    "schema": {
    "$ref": "#/definitions/MultiDimRCAInstanceRequest"
    }
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Should body parameter be required?

    "schema": {
    "$ref": "#/definitions/MultiDimRCATrainingRequest"
    }
    }
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Should body parameter be required?

    "description": "Inference request of multidimensional RCA",
    "schema": {
    "$ref": "#/definitions/MultiDimRCAInferenceRequest"
    }
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Should body parameter be required?

    @ghost
    Copy link

    ghost commented Jan 2, 2022

    Hi, @suxi-ms. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    @ghost ghost added the no-recent-activity label Jan 2, 2022
    @mikekistler mikekistler requested a review from bexxx January 13, 2022 17:56
    @ghost ghost removed the no-recent-activity label Jan 13, 2022
    @ghost
    Copy link

    ghost commented Jan 30, 2022

    Hi, @suxi-ms. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    @ghost ghost added the no-recent-activity label Jan 30, 2022
    @ghost ghost closed this Feb 15, 2022
    @ghost
    Copy link

    ghost commented Feb 15, 2022

    Hi, @suxi-ms. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.

    This pull request was closed.
    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.

    [Cognitive Services - Anomaly Detector] Multidimensional Root Cause Analysis

    3 participants