Skip to content

Conversation

@fangjian0423
Copy link
Contributor

  1. change leveltype from string to enum
  2. rename logLevelSettings to loggerSettings

For 2:

Below is a configuration file for logback logging framework:

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

  <jmxConfigurator />

  <appender name="consoleAppender"
            class="ch.qos.logback.core.ConsoleAppender">
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36}:%L- !!! %msg%n</pattern>
      <charset class="java.nio.charset.Charset">UTF-8</charset>
    </encoder>
  </appender>

  <logger name="chapters.configuration" level="DEBUG" additivity="false">
    <appender-ref ref="STDOUT" />
  </logger>

  <root level="info">
    <appender-ref ref="consoleAppender" />
  </root>

</configuration>

To describe the configurations, the payload could looks like:

{
    "enabled": true,
    "loggerSettings": [
        {
           "logger": "chapters.configuration",
           "level": "debug",
           "additivity":  false,
        }
    ],
    "appenderSettings": [
         // appender list
     ],
     "globalSettings": {
         // jmx
     }
}

Currently, we only support level settings for loggers.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Apr 3, 2024

PR validation pipeline restarted successfully. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Apr 3, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 9 Errors, 9 Warnings failed [Detail]
Compared specs (v0.10.7) new version base version
ContainerApps.json 2024-02-02-preview(13c4192) 2023-05-01(main)
ContainerApps.json 2024-02-02-preview(13c4192) 2023-11-02-preview(main)

The following breaking changes are detected by comparison with the latest stable version:

Rule Message
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L204:9
Old: common-types/resource-management/v3/types.json#L204:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L210:9
Old: common-types/resource-management/v3/types.json#L209:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9


The following breaking changes are detected by comparison with the latest preview version:

Rule Message
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L204:9
Old: common-types/resource-management/v3/types.json#L204:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L210:9
Old: common-types/resource-management/v3/types.json#L209:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one 'AutoRest.Swagger.Model.Schema'.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
️⚠️LintDiff: 1 Warnings warning [Detail]
Compared specs (v2.2.0) new version base version
package-preview-2024-02 package-preview-2024-02(13c4192) package-preview-2024-02(release-app-Microsoft.App-2024-02-02-preview)

[must fix]The following errors/warnings are introduced by current PR:

Rule Message Related RPC [For API reviewers]
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L923


The following errors/warnings exist before current PR submission:

Only 30 items are listed, please refer to log for more details.

Rule Message
ResourceNameRestriction The resource name parameter 'containerAppName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L99
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L100
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L131
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L198
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L227
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L270
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:type.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L310
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:activeRevisionsMode.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L310
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:transport.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L310
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:allowedOrigins.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L310
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:appProtocol.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L310
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:type.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L310
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:maxReplicas.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L310
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:location.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L310
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L336
ResourceNameRestriction The resource name parameter 'containerAppName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L348
ParametersInPost customHostname is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L355
ResourceNameRestriction The resource name parameter 'containerAppName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L400
ResourceNameRestriction The resource name parameter 'containerAppName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L446
PostResponseCodes Synchronous POST operations must have one of the following combinations of responses - 200 and default ; 204 and default. They also must not have other response codes.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L447
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L478
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L540
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L599
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L799
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L799
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L799
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L799
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L831
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L831
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/preview/2024-02-02-preview/ContainerApps.json#L831
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Apr 3, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning [Logs] Generate from 04c762936dc50a3ab24eb23e70dc97c922a15a58. 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] 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]  notice
    cmderr	[automation_generate.sh] npm notice New minor version of npm available! 10.2.4 -> 10.5.1
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.1>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️azure-mgmt-appcontainers [View full logs]  [Preview SDK Changes]
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning [Logs] Generate from 04c762936dc50a3ab24eb23e70dc97c922a15a58. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-appcontainers [View full logs]  [Preview SDK Changes]
️❌ azure-sdk-for-go failed [Detail]
  • Code Generator Failed [Logs] Generate from 04c762936dc50a3ab24eb23e70dc97c922a15a58. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    cmderr	[generator automation-v2] [ERROR] total 1 error(s):
    cmderr	[generator automation-v2] [ERROR] failed to execute `go generate` '�[33;1mWARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appcontainers/armappcontainers�[0m
    cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/appcontainers/armappcontainers, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appcontainers/armappcontainers
    cmderr	[generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appcontainers/armappcontainers
    cmderr	[generator automation-v2] [ERROR] ##[command]Executing autorest.go in  /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appcontainers/armappcontainers
    cmderr	[generator automation-v2] [ERROR] autorest --use=@autorest/[email protected] --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appcontainers/armappcontainers --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=false ./autorest.md
    cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v18.19.1]
    cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
    cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
    cmderr	[generator automation-v2] [ERROR] There is a new version of AutoRest available (3.7.1).
    cmderr	[generator automation-v2] [ERROR] > You can install the newer version with with npm install -g autorest@latest
    cmderr	[generator automation-v2] [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.10.2)
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.2.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.2.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.3.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.4.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.5.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.6.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.7.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.8.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.9.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.10.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/go' (4.0.0-preview.63 -> 4.0.0-preview.63)
    cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/go' (4.0.0-preview.63->4.0.0-preview.63)
    cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.26.2 -> 4.26.2)
    cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > DaprComponentServiceBinding > properties > metadata)
    cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/CommonDefinitions.json:928:9
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > JavaComponent > properties > properties)
    cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/JavaComponents.json:401:9
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > Resource > properties > systemData)
    cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
    cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'Resource' (3 differences):
    cmderr	[generator automation-v2] [ERROR] - properties.id.$ref: "#/components/schemas/schemas:1161" => "#/components/schemas/schemas:1259"
    cmderr	[generator automation-v2] [ERROR] - properties.id.description: "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"" => "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    cmderr	[generator automation-v2] [ERROR] - properties.systemData.type: <none> => "object"; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
    cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'ProxyResource' (1 differences):
    cmderr	[generator automation-v2] [ERROR] - allOf.0.$ref: "#/components/schemas/schemas:1160" => "#/components/schemas/schemas:1258"; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
    cmderr	[generator automation-v2] [ERROR] fatal   | Error: 2 errors occured -- cannot continue.
    cmderr	[generator automation-v2] [ERROR] fatal   | Process() cancelled due to failure
    cmderr	[generator automation-v2] [ERROR] error   |   Error: Plugin prechecker reported failure.
    cmderr	[generator automation-v2] [ERROR] error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
    cmderr	[generator automation-v2] [ERROR] ##[error]Error running autorest.go
    cmderr	[generator automation-v2] [ERROR] build.go:5: running "pwsh": exit status 1
    cmderr	[generator automation-v2] [ERROR] ': exit status 1
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
    warn	Skip package processing as generation is failed
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 04c762936dc50a3ab24eb23e70dc97c922a15a58. 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
    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/arm-appcontainers [View full logs]  [Preview SDK Changes]
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning [Logs] Generate from 04c762936dc50a3ab24eb23e70dc97c922a15a58. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    cmderr	[initScript.sh]  notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.2.4 -> 10.5.1
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.1>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
️️✔️ azure-powershell succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 04c762936dc50a3ab24eb23e70dc97c922a15a58. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
  • ️✔️Az.app.DefaultTag [View full logs]  [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Apr 3, 2024

@najian
Copy link
Member

najian commented Apr 3, 2024

Detected Breaking change(9) already reviewed in previous PR #28405

@fangjian0423
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@fangjian0423
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@fangjian0423
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@fangjian0423 fangjian0423 marked this pull request as ready for review April 3, 2024 08:03
@AzureRestAPISpecReview AzureRestAPISpecReview added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Apr 3, 2024
@bowen5
Copy link
Contributor

bowen5 commented Apr 3, 2024

@ms-zhenhua would you take another look? This PR contains some updates based on #28192. BTW, although some breaking change detected, this 2024-02-02-preview API version for Microsoft.App hasn't been released yet.

Thanks!

@bowen5 bowen5 requested a review from ms-zhenhua April 3, 2024 09:02
@AzureRestAPISpecReview AzureRestAPISpecReview removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 4, 2024
@openapi-workflow-bot
Copy link

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

@openapi-workflow-bot
Copy link

Hi, @fangjian0423, our workflow has detected that there is no management SDK ever released for your RP, to further process SDK onboard for your RP, you should have the SDK client library name of your RP reviewed and approved.
Action Required:

  • Follow this guidance Naming for new initial management or client libraries (new SDKs) - Overview (azure.com) to create an issue for management client library name arch board review.
  • Paste the issue link that you created in step 1 in this PR

  • Impact: SDK release owner will take the approved management client library name to release SDK. No client library name approval will leads to SDK release delayed.

    @openapi-workflow-bot
    Copy link

    Hi @fangjian0423 This PR was flagged for attempting to introduce a new RP namespace to the main branch without first merging the new RP to the RPSaaSMaster branch. Please add the new RP in a merge to RPSaaSMaster before continuing the merge to main.

    @bowen5 bowen5 self-requested a review April 7, 2024 05:54
    @AzureRestAPISpecReview AzureRestAPISpecReview removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Apr 8, 2024
    …ase-app-Microsoft.App-2024-02-02-preview-java-agent-optimize
    @fangjian0423 fangjian0423 merged commit 46344cf into Azure:release-app-Microsoft.App-2024-02-02-preview Apr 9, 2024
    Juliehzl pushed a commit to Juliehzl/azure-rest-api-specs that referenced this pull request Jun 4, 2024
    * optimize java agent related props
    
    * fix
    
    * adding logging property to include logger settings
    
    ---------
    
    Co-authored-by: Bowen Wan <[email protected]>
    mentat9 pushed a commit that referenced this pull request Jun 17, 2024
    * Adds base for updating Microsoft.App from version preview/2023-11-02-preview to version 2024-02-02-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Functions Extension endpoint for Web RP (#27873)
    
    * Functions extension api-spec commit
    
    * merge with latest
    
    * Functions Extension in 2024-02-02-preview
    
    * correcetd version in readme
    
    * avacado fail fix - version
    
    * pattern addition
    
    * fix for PathForResourceAction
    
    * lint diff and model validation checks
    
    * AutoRest exception fix
    
    * endpoint response as string and not schema
    
    * response schema with string
    
    * example schema
    
    * example within spec
    
    * extension example with data
    
    * extensions example with body
    
    * body as string
    
    * [Microsoft.App] add runtime attribute to app configuration (#27892)
    
    * add configuration.runtime for apps
    
    * Add Nacos For Java Component. (#28045)
    
    * Add Nacos For Java Component.
    
    * fix spell check.
    
    * [Container Apps] Update Runtime to add DotNet support (#28001)
    
    * [Container Apps] Update Runtime to add DotNet support
    
    * Remove default value
    
    * Rename dotNet to dotnet
    
    * [Container Apps] Remove AspireResourceServerApi type for DotNetComponent (#28005)
    
    * [Container Apps] Remove AspireResourceServerApi type for DotNetComponent
    
    * Only keep changes to 2024-02-02-preview
    
    * [ContainerApp] Support peer traffic encryption. (#28129)
    
    * Make the JavaComponent definitions polymorphism and expose fqdn for sba and eureka (#28102)
    
    * Make the JavaComponent definitions polymorphism
    
    * fix api version
    
    * revert error response change
    
    * refine examples
    
    * fix default value
    
    * fix
    
    * fix
    
    * try to remove required
    
    * try remove require in patch body
    
    * fix
    
    * try fix lint
    
    * fix
    
    * add suppression for discriminator
    
    * fix
    
    ---------
    
    Co-authored-by: Xuyang Cao <[email protected]>
    
    * ContainerAppsBuild and ContainerAppsPatch API (#27982)
    
    * Added CloudBuild and CloudPatch
    
    * Fixed pipeline errors
    
    * Added ContainerApp example
    
    * Fixed typo in example
    
    * Fixed linting error
    
    * Fixed spacing
    
    * Addressed comments
    
    * Addressed comments and modified sample
    
    * Fixed linting error
    
    * Addressed comments
    
    * Linting
    
    * Fixed typo
    
    * Fixed Typo
    
    * Resolving model validation error
    
    * [Microsoft.App] add java agent related properties (#28192)
    
    * add java agent related properties
    
    * fix build error
    
    * fix format
    
    * re-run pipeline
    
    * update enum list and fix typo
    
    * revert cspell config
    
    * update level field type from enum to string
    
    * add identifiers for array prop
    
    * Fix error response for aca (#28425)
    
    * fix
    
    * fix
    
    * Adding identity for scale rules (#28283)
    
    * Adding identity for scale rules
    
    * fix scale example
    
    * Fix schema issue for Microsoft.App in 2024-02-02-preview (#28454)
    
    * fix
    
    * fix
    
    * fix
    
    * fix
    
    * fix
    
    * fix
    
    * Update Container Apps Swagger Schema to include kind property  (#28405)
    
    * Added support for KIND property to container apps schema
    
    * added reference to example request schema
    
    * prettier check
    
    * changes to example conforming to swagger
    
    * used enum for app kind
    
    * minor fixes
    
    * merged main
    
    * Revert "merged main"
    
    This reverts commit 2437d60.
    
    * fixed checks
    
    * Add detailed job execution to api (#27977)
    
    * Add detailed job execution to api
    
    * Add fields
    
    * address comment
    
    * add x-ms-identifiers
    
    * prettier
    
    * address comments
    
    * Address comments
    
    * Address comments
    
    * update example
    
    * Fix property name
    
    * Fix example
    
    * [Microsoft.App] optimize java agent related properties (#28573)
    
    * optimize java agent related props
    
    * fix
    
    * adding logging property to include logger settings
    
    ---------
    
    Co-authored-by: Bowen Wan <[email protected]>
    
    * Add accountName for queueScaler (#28672)
    
    * add accountName for queueScaler
    
    * updated example
    
    * updated
    
    * updated
    
    * updated
    
    * Adding identity settings (#28117)
    
    * Adding identity settings
    
    * fix casing in examples
    
    * Switch to array since ARM doesn't allow dictionaries.
    
    * identity property should be required.
    
    * prettier
    
    * Updating description
    
    * Adding Jobs spec
    
    * Update specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/Jobs.json
    
    Co-authored-by: Jitin John <[email protected]>
    
    * Move IdentitySettings to CommonDefinitions
    
    ---------
    
    Co-authored-by: Jitin John <[email protected]>
    
    * Add SessionPools and Sessions (#28047)
    
    * Add SessionPools.json and Sessions.json
    
    * Add private endpoint connections for managed environment (#28775)
    
    * add pe
    
    * fix
    
    * fix
    
    * fix
    
    * fix
    
    * fix
    
    * fix
    
    * use v5
    
    * fix
    
    * fix
    
    * Add support for SMB storage in connectedEnvironment (#29158)
    
    * Add support for SMB storage in connectedEnvironment
    
    * move smb properties to common
    
    * fix reference
    
    ---------
    
    Co-authored-by: [email protected] <[email protected]>
    
    * API spec for LogicApps extension on Microsoft.App (#29083)
    
    * API spec for LogicApps extension on Microsoft.App
    
    * format
    
    * fix typos
    
    * fix issues
    
    * fix example references
    
    * fix more issues
    
    * fix issues
    
    * fix more model validation
    
    * fix
    
    * fix model
    
    * fix format
    
    * fix lintdiff
    
    * fix example
    
    * fix headers
    
    * add delete
    
    * add missing file
    
    ---------
    
    Co-authored-by: Anand G Menon <[email protected]>
    
    * Add publicNetworkAccess in managed environment (#29092)
    
    * fix
    
    * fix
    
    * fix example
    
    * fix lint
    
    * revert previous change for patch
    
    * fix go sdk duplicate schema
    
    * fix go sdk duplicate schema
    
    * fix billing meter
    
    * fix billing meter
    
    ---------
    
    Co-authored-by: Jitin John <[email protected]>
    Co-authored-by: SushmithaVReddy <[email protected]>
    Co-authored-by: sonwan2020 <[email protected]>
    Co-authored-by: Xiangyang Yu <[email protected]>
    Co-authored-by: daniv-msft <[email protected]>
    Co-authored-by: Xuyang Cao <[email protected]>
    Co-authored-by: Xuyang Cao <[email protected]>
    Co-authored-by: Harry Li <[email protected]>
    Co-authored-by: Jimmy Fang <[email protected]>
    Co-authored-by: Vaclav Turecek <[email protected]>
    Co-authored-by: Shubham Sachdeva <[email protected]>
    Co-authored-by: lihaMSFT <[email protected]>
    Co-authored-by: Bowen Wan <[email protected]>
    Co-authored-by: njucz <[email protected]>
    Co-authored-by: yitaopan <[email protected]>
    Co-authored-by: anandgmenon <[email protected]>
    Co-authored-by: [email protected] <[email protected]>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    5 participants