Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
Peng Jiahui e302bb60ef
generator tool support TypeSpec (#23073)
* generator tool support TypeSpec

* emit option

* release-v2 --tsp-option

* fix

* support automation

* remove autorest.md

* parse template release-date

* use tso-location module-version

* capture tsp-client error

* replace live test module v2+

* old module-version

* use constants.go in moduleVersion

* last run gofmt and go mod titdy

* use replace module

* fix

* revert unuse

* revert scvmm tsp-location

* fix comment

* fix comment

* fix `specific` name

* replace {service-dir} and {package-dir}

* fix

* sync GoEmitterOptions

* exist go emit option

* fix automation-v2 tsp

* update emitter-package.json

* add automation-v2 output typespecProject

* readmeMd omitempty and func GetModuleName add comment

* add  @azure-tools/typespec-azure-rulesets": "0.43.0"

* generator issue support typespec

* generateFromRequest support tsp

* remove typespec-go option

* remove TypeSpec label, use first check tsp after readme

* fix

* dev.7, ignore TempTypeSpecFiles folder

* add emitter-package-lock.json

* add release-v2 tsp-client-option flag

* update changelog.md.tpl template

* typespec requests

* fix

* Licensed

* automation_init add install tsp-client

* fix replace live test module

* fix

* add typespec-go emit option validation

* auto-release add install tsp-client

* remove repo prefix

* fix ReplaceModule func

* upgrade ReplaceModule func

* fix

* fix

* add constants.go

* remove set -x

* sort emmitter-package.json

* fix

* redirect error to stdout

* upgrade emitter-package.json devDependencies

* use typesepc-go@v0.1.0

* fix track2 module-name config issue

* fix

* add tsp compile error check

* remove track1

* abs tsp-config.yaml path

* cleanup Track1

* validation sdk and spec path

* upgrade emitter dep to v0.2.0
2024-07-30 11:58:10 +08:00
Ben Broderick Phillips 4dec079c18
Auto-install and run standalone test proxy server per test package (#21168)
* Auto-install and run standalone test proxy server per test package

* Update recording tests to use standalone proxy

* Simplify proxy binary switch statement

* Add test proxy auto-install docs

* Fix up recording test coverage

* Add StopTestProxy note about go process handling

* Proxy restore/race condition handling. Force ignore PROXY_MANUAL_START in internal tests

* Fix recording readme error handling
2023-07-27 15:58:32 -04:00
Ben Broderick Phillips 2827e1ec64
Add support for making recordings external to the repository (#19322)
* Improve error and pipeline handling in run_tests.ps1

* Add test proxy default assets directory to gitignore

* Support test proxy external asset mode for test recordings

* Handle recording asset sync better for different go test working directories

* Handle relative and absolute paths depending on test proxy working directory

* Use git executable to detect git root in test recording handler

* Improve os-aware path handling in test recording framework asset sync

* Cast git response to string

* Simplify git and parent path checks

* Bump sdk/internal package version
2022-10-20 17:21:36 -04:00
Chenjie Shi db5da1acbc
chore: update git ignore (#18803) 2022-08-08 18:45:08 +08:00
Chenjie Shi 9f4de5e3a2
fix: add azcore and azidentity to the go.mod template (#18472)
* fix: add azcore and azidentity to the go.mod template

* chore: ignore goland ide swap files
2022-06-24 10:48:46 +08:00
Daniel Jurek 6533539c5d
Add spell check warnings (#16656)
* Add spell check warnings

* Basic cspell.json

* Ignore files in .vscode except cspell.json, new line before EOF in cspell.json

* Spell check, ignore thyself
2022-01-03 14:25:05 -08:00
Charles Lowell 697e7478c8
Add .env to .gitignore (#16165) 2021-11-18 13:01:46 -08:00
Rick Winter 565cb088ad
Update codeowners (#15875)
Update codeowners
Add entry to ignore Visual Studio temporary files
2021-10-20 17:04:46 +00:00
Scott Beddall 942d68cb98
Update Track 2 (sdk/...) Build for Crossplat and Composability -- Update Track 1 for Go114 (#7540)
* Updating track2 yml:

1. Stages in preparation for release steps if necessary
2. Updating the build yml to allow for more composable steps and configuration
3. Moving linux-specific analysis to an Analyze Step
4. Enabled Building and Testing on multiple platforms

* remove go 1.12 from the build matrix

* update folder structure for consistency

* add go 1.14 to the management side to see what happens

* add go 1.14 to the build matrix. hoping the tool does the right thing

* move go version after install

* go doesn't already exist so the env variable won't assign

* force the creation. why is sudo required here?

* just use the gotool

* remove Go 1.12 from CI

add missing new-lines

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
2020-03-04 09:09:17 -08:00
Joel Hendrix 7a9d2769e4
v32.0.0 (#5380)
* Generated from 76032c5b6d424dceb3a9b03b7df79e009eb5c183 (#5142)

Change XxxSetting to XxxSettings in private swagger

* [AutoPR netapp/resource-manager] NetApp update swagger for R4.5 (#5123)

* Generated from 3eda898774dd0ae7491c1a38535c18dd42489c18

Changing the protocolTypes example

* Generated from 3774c22dc6a9601494bd6d033406b97cb403a688

Fix params structure

* Generated from fa202ee43cd1263e159ae365977dc2bdb54eb4e3

Fix Swaggers to get the diff working

* Generated from 69314a717548234e92ed30fd6fb6caff58b5855b

Reverting accidental netapp.json changes

* Generated from d85ec8052ee09e19a904c8682ecd71d95a87bfda (#5159)

add netapp 2019-06-01 to Go SDK

* Generated from 4ad4ff02b733691ce683f3c3d2ca93b04aedefc6 (#5080)

typo: batch

Double word "Compute"

* Generated from 3066b3cc9574f2eec4f7b1a379e0875e14a37f51 (#5162)

add authorization 2018-07-01 to Go SDK

* Generated from a19a3cb3fe52a5019182778275744a9c3af43993 (#5163)

add batch 2019-04-01 to Go SDK

* Generated from 3d52a28322664ab7059521562493398366e27ad7 (#5164)

add missing alertsmanagement packages to Go SDK

* Generated from c3eda289dfe2b94eff37c1654a9abadf4ee3c8ad (#5131)

Add enum for tier, osType and filtermode

* Add sdk_generation_pull_request_base and main_branch

Add sdk_generation_pull_request_base and main_branch properties to swagger_to_sdk_config.json file.

* [AutoPR containerregistry/resource-manager] [ACR] Support Overriding Task parameters, support for ContinuationToken [NEW preview API VERSION] (#4995)

* Generated from b1e4095ff8268437a5a59a4138ff38c4e31b68f6

Merge branch 'master' into shahzzam/add-2019-06-01

* Generated from 701efa178e7cc3846724dbdb9c2cdf430c7009ce

address comments

* Generated from f98449d1950d58d1919373e5b5f456b6a3d45e58 (#5177)

introducing the SqlManagement

* [AutoPR healthcareapis/resource-manager] [Hub Generated] Review request for Microsoft.HealthcareApis to add version preview/2018-08-20-preview (#4966)

* Generated from 861e08e366cff1f1318a69d39841f25bee90c963

Merge branch 'master' into dev-healthcareapis-Microsoft.HealthcareApis-2018-08-20-preview

* Generated from 263297a3c3cec666d65515309b679913e4f9559d

Remove uuid format from subscriptionid as no other RP does this and it is causing issues with the .net SDK

* Generated from e8dd45240d9e1b579ccd155e0e6c811c764eb214 (#5079)

typo: botservice

Double word "service"

* [AutoPR migrateprojects/resource-manager] [Do not merge] Swagger closure for Azure Migration Hub (#4889)

* Generated from a43ead519af3db80da7e7705153ce3deb58a47c9

Fixing SDK errors

* Generated from a683481c06274ab035589605b5450232c2adc22f

Changing the resource names to camel case as per ARM review

* [AutoPR iothub/resource-manager] [Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview (#5149)

* Generated from a2660396e04a6551432a9f9e108956db05266023

adding locations property to iothub properties

* Generated from b11a3ac1fafc172c5933d5e07a47a7ea1d4a1c0f

adding locations property

* [AutoPR cognitiveservices/data-plane/LUIS/Runtime] Update LUIS Runtime swagger to an auto generated version (#5023)

* Generated from cf0eaa1559fc91624956e6ef26fd9880e4fa8dac

Update LUIS Runtime swagger to an auto generated version

* Generated from 8fa2dd16733bc2e5ebbd946c3ef36566eaac9173

Fix typo

* Generated from e5018e39145852f56f01cf34ba0b2d123ae43512 (#5192)

fix Go SDK build

* Generated from beed92f79dacff0ce3d1a65d3ecf42449d17a47c (#5154)

Removed extra comma

* [AutoPR alertsmanagement/resource-manager] Adding new resource type for alerts meta data (#5124)

* Generated from 54b18e08cf2128fc4e38e8df9c2265b0258f4c5b

Alerts meta data api

* Generated from 8bea075339dfa1c42ec132437a642cbfe41ba924

Added example for alerts meta data resource type

* Generated from 03b411bfd9480ec2cd1fac4ed6db766fb0fc972f

Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file

* Generated from aae2b1fb9427ff969151bffa915ad649e8c9e1c4

Added one more enum value for identifier enum

* Generated from 2c415502c8ada9766842b9effcfbdc82705b5578

Added remove added extra enum value for identifier enum

* Generated from b687abd9d7d71ca88b49cfe0706eab2b3881efe4

Rename identifier in definitions to metadataIdentifier

* Generated from eef581efa40b065e7425c1f553ff210496728c96

Schematic changes

* Generated from f34e8084ed14abedcbd12b0270676747bdce3ade

Added defination for monitor service

* Generated from 7072efc946c175b68891d574306602640c6f3dcc

Fix error

* Generated from c944c9a2d8a2355147c3d9031b7aeadc4f63e71e (#5201)

Fix typos

* [AutoPR monitor/resource-manager] BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before (#5152)

* Generated from 060221716b94c8dee61681168e1bd0e0b11d6057

Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before

* Generated from 5251be8f170f543e9763efd1618d814e1df19029

Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs

# Conflicts:
#	specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
#	specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json
#	specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json

Signed-off-by: Guillermo Calderón_Meza <gucalder@microsoft.com>

* Generated from dd6210272b93e1b156f4779f9efe24ff3a6d7baa

add postgresql 2017-12-01-preview to Go SDK

* Generated from 54b65d35ddc25f16a24d0d1710773f5bfe9be66f (#5218)

remove PII from examples

* Generated from 631cc8ef9ba25eddb465ba207157ff92ab4fa641 (#5182)

Task 4855805: ARM swagger update from lockedPriceTotal to billingCurrencyTotal & pricingCurrencyTotal.

* [AutoPR datamigration/resource-manager] Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables (#5121)

* Generated from 835bf096bcbb0db18081cb31338036c70108ccd5

Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables.

* Generated from 4f5182d37c4186591e8206f751be4c47bb32b08c

Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables 2

* add documentation for retry policy

* add azure devops pipeline

* Fixes to devops CI (#5239)

* Fixes to devops CI

Add devops badge to README
Fix lint and vet steps

* limit linter to subset of repo

fix golint errors

* more linter fixes

* more linter fixes

* add remaining tests

* include combined output when running git commands

* enable dotglob so hidden dirs are moved

* Generated from ac6f48cce33d61bd4fa062a14e49ca27359e3dc4 (#5215)

update the preview version for dashboards

* Generated from 38bec715e92c9f8bcd1b0e381042194d3261fe58 (#5248)

Add missing displayName and domains properties to response of Tenants_List call

* [AutoPR securityinsights/resource-manager] Adding AWS CloudTrail to swagger (#4879)

* Generated from 2076dae88a963c62b7795a2daf6a27fe8655149e

Adding AWS CloudTrail to swagger

* Generated from e5834cbce170afa6c7105817e11516a9c8a87d87

Code review notes

* Generated from 17fef9afb3f852e4c995221ca5bcc9c7413cf46b

Code review notes

* Generated from 006f63585ada13a78ac3ab4912789ca2df7186f2

Fixes after merge

* Generated from 77190f2dc72106f5ff53ae7617312f90b5b1504b (#5196)

Adding cassandra connector properties for cosmos db C* account -
enableCassandraConnector - This property, if set to true, will trigger the creation of the cassandra connector CCX pipeline which relicates data from native cassandra nodes to cosmos db C* account
connectorOffer - This property specifies the type of connector offer which will vary based on the data size of the native cassandra cluster
Validations -
        Validated cosmos-db.json with autorest from https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager
        Validated using the online schema validator - https://json-schema-validator.herokuapp.com

* Generated from 7c89fec7247a2f82d656c863fb37c1d76a08a797 (#5256)

Merge branch 'network-may-release' into network-merge

# Conflicts:
#	cSpell.json

* Generated from 537e9475d4ec21dcc8ede20cd45ec73f3f20c729 (#5236)

Move changes to 2019-04-15 version.

* update to latest code generator

* [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Updating Authoring for roles (#5052)

* Generated from 1ebbe0756b9d941a2db55b94cef3f9350dcf4ca4

Updating Authoring for roles

* Generated from d9a45d97ef64e72d6e4f2f3230e4f3a8b5a8b300

Editing role description

* [AutoPR storage/resource-manager] [Bug fix] Remove read-only constraint for management policy (#5198)

* Generated from 00d9e1b50ab5daed68696f0b0c612e912acde7db

[Bug fix] Remove read-only constraint for management policy

* Generated from 0e6f149f5338b7fe8256adb51584a22aaecdb407

change type to number

* Generated from 870609e2d01b2e64b589a0eb07e938f19282f4f0

Modify description, remove integer

* [AutoPR cosmos-db/resource-manager] Fixing incorrectly formatted Cosmos DB list keys response (#5220)

* Generated from f8bd523610424b4f132e310df45ccbec4e828e0c

fixing Cosmos account keys response

* Generated from f8bd523610424b4f132e310df45ccbec4e828e0c

fixing Cosmos account keys response

* update from latest swaggers and generator (#5280)

* update from latest swaggers and generator

specs commit 6bb3ebb7d2a71c4be4ded428f5cce6cdba9d1e4b
generator version 2.1.134

* update minimum version of go-autorest to 12.3.0

* Generated from 46c41c8144620cf4589763fc14b57b3eef555edf (#5282)

Make hyperVGeneration field same as DiskRPs

* Generated from 05289ebc4b2be9d8be80218d6bfab65a9848e77a (#5285)

remove doller sign from the custome parameter

* Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288)

Fix mistake

* Generated from b1b2d42672f41da7deb0eda1938e589a9149dc2e (#5307)

add winiotsvcs stable api

* Generated from c2786532a6bf80ceb9cddda5e2c8b8abc09d6b30 (#5305)

Update specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json

Co-Authored-By: Nick Schonning <nschonni@gmail.com>

* Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297)

add network package-2019-06 to Go SDK

* Generated from 2f94b8cf4da36f6fe98397e664c08e3ba33bbc69 (#5299)

fix: cognitive services create example

Empty schema/body for create action

* Generated from 5a1381b69f4475b40194c268dc0757b16afe14d9

fix some readme.go.md files

* Generated from a23d0bdd515690bb563e778441c8428272e222df

fix some readme.go.md files

* [AutoPR datafactory/resource-manager] [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitions and Several Relational sets (#5302)

* Generated from 286bc89ff8d226f2a683dcb48a896b8ffb3f348e

remove SapBwCube and Sybase for investigation

* Generated from 75bd5a9689dac5c2bb8f5828cfcb24e1a28a5950

will postpone SapBwSource in another coming PR.

* Generated from 7f632e8ccaca0bd5ab8a44832710d1a3cc19e39f

refine case of Oracle in description

* Merge pull request #5332 from Azure/restapi_auto_compute/resource-manager

[AutoPR] compute/resource-manager

* Generated from e960466f597159f6f1068890076fd7af6ebe5276 (#5323)

Fix readmes for new api version

* Generated from 4d76d19845c0c731f32ca830f3ae85d19aa9b90d (#5322)

remove id validation

* Update swagger_to_sdk_config.json and ignore *.zip files (#5334)

* Enable SDK Automation pull requests (#5342)

* Generated from e6f95be592d25370ff8f65f315ea6d4a0bdecc7d (#5327)

Fixed casing

* Generated from b038fea5b8d2c6dd81eed2ac64771d22084389e6 (#5347)

Add new property for CORS settings

* Generated from 0e0525cb28b7c796be9aa0958d430bc764a78ed4 (#5293)

Merge branch 'master' into michal-dev-security-Microsoft.Security-2017-08-01-preview

* Generated from 6a6baebbeba91869b69cd39c167816f33025698a

try to fix errors

* Generated from 94da1e5d069d8e2fe506b842f76ff2bce4eb76a3

more fixes

* Generated from 5bb5f32cc3be82f2a180a13dc383bfe609479bc1

merged action rule and ManagedResource to avoid error

* Generated from a1396af0177b2d22771ad22650089929bee4e43a

undo ManagedResource change, but removed required

* Generated from a8f22b87d6a3b06a6d970731514830431986bffa

revert some changes that are not essential to fix linter

* SDK v32.0.0 (#5361)

* v32.0.0
2019-07-29 19:56:09 -07:00
Joel Hendrix 9d50cf0ae8 Update profile builder to understand modules (#4959)
* Update profile builder to understand modules

Added 'modules' flag to profileBuilder to run in module-aware mode.  For
the latest/preview profiles this means that it will include module major
versions in its comparison algorithm.
For static profiles (i.e. 2017-03-09 etc) a new major version of an
included module will result in a new major version for that profile.
Moved some code into central packages (modinfo) to be shared across
tools.
Added additional tests to various functions.
Cleaned up white-space in profile definitions.

* Added some missing comments.

* Small refactoring.
2019-06-10 12:31:10 -07:00
Joel Hendrix 013c00e928 Remove committed vendored dependencies
Unfortunately this broke the `go get` consumers so backing it out.
Enable travis caching of the dep cache to help CI instability.
2019-03-12 15:47:27 -07:00
Joel Hendrix b99be020a2 Check in vendored dependencies
Running `dep ensure` in CI has been a point of failure causing CI builds
to be unreliable.  Enable pruning of dependencies and check them in.
Removed all dep-related commands from travis.
Removed the vendor directory from .gitignore so changes are visible.
2019-03-11 14:17:16 -07:00
Martin Strobel 0960cecac9
Fixing #849 (#850) 2017-11-07 10:46:47 -08:00
Cole Mickens da7814d00c [glide] glide init 2016-01-28 00:15:53 -08:00
Ahmet Alp Balkan 44031a487c Add gitignore
Added github's standard Go gitignore file + some rules for ignoring
swap files from common editors.
2015-05-18 14:54:23 -07:00