From e91c827fc747ce8dd1149cbe22b4b3f386093e27 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 27 Nov 2020 13:56:16 +0800 Subject: [PATCH] upgrade autorest.java to v4.0.5 (#17848) --- eng/mgmt/automation/parameters.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eng/mgmt/automation/parameters.py b/eng/mgmt/automation/parameters.py index a5e2623b23dc8..346ef41ceb128 100644 --- a/eng/mgmt/automation/parameters.py +++ b/eng/mgmt/automation/parameters.py @@ -1,15 +1,15 @@ #!/usr/bin/env python3 SDK_ROOT = '../../../' # related to file dir -AUTOREST_CORE_VERSION = '3.0.6326' -AUTOREST_JAVA = '@autorest/java@4.0.4' +AUTOREST_CORE_VERSION = '3.0.6327' +AUTOREST_JAVA = '@autorest/java@4.0.5' DEFAULT_VERSION = '1.0.0-beta.1' -SUFFIX = 'generated' +SUFFIX = None # 'generated' GROUP_ID = 'com.azure.resourcemanager' API_SPECS_FILE = 'api-specs.yaml' -NAMESPACE_SUFFIX = '.{0}'.format(SUFFIX) -ARTIFACT_SUFFIX = '-{0}'.format(SUFFIX) +NAMESPACE_SUFFIX = '.{0}'.format(SUFFIX) if SUFFIX else '' +ARTIFACT_SUFFIX = '-{0}'.format(SUFFIX) if SUFFIX else '' NAMESPACE_FORMAT = 'com.azure.resourcemanager.{{0}}{0}'.format(NAMESPACE_SUFFIX) ARTIFACT_FORMAT = 'azure-resourcemanager-{{0}}{0}'.format(ARTIFACT_SUFFIX) OUTPUT_FOLDER_FORMAT = 'sdk/{{0}}/{0}'.format(ARTIFACT_FORMAT) @@ -18,7 +18,7 @@ README_FORMAT = 'specification/{0}/resource-manager/readme.md' MODELERFOUR_ARGUMENTS = '--pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --pipeline.modelerfour.flatten-payloads=false' -FLUENTLITE_ARGUMENTS = '--java {0} --azure-arm --payload-flattening-threshold=0 --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL'.format( +FLUENTLITE_ARGUMENTS = '--java {0} --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL'.format( MODELERFOUR_ARGUMENTS) CI_HEADER = '''\