Skip to content

Commit

Permalink
Add go batches (Azure#2273)
Browse files Browse the repository at this point in the history
* First swath of changes.

* Second swath of work.

* Third swath of work.

* Fourth swath of work.

* Adding missing repo links for Swagger -> SDK bot.

* Addressing feedback.

* Fixing malformed go tags.

* Fix go condition
  • Loading branch information
marstr authored and lmazuel committed Jan 25, 2018
1 parent 0e08062 commit 635c479
Show file tree
Hide file tree
Showing 101 changed files with 1,320 additions and 21 deletions.
10 changes: 10 additions & 0 deletions specification/advisor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -112,6 +113,15 @@ go:
clear-output-folder: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2017-04
- tag: package-2017-03
- tag: package-2016-07-preview
```

### Tag: package-2017-04 and go

These settings apply only when `--tag=package-2017-04 --go` is specified on the command line.
Expand Down
22 changes: 22 additions & 0 deletions specification/analysisservices/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ input-file:
---
# Code Generation


## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-go
```


## C#

These settings apply only when `--csharp` is specified on the command line.
Expand All @@ -95,6 +107,16 @@ go:
clear-output-folder: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2017-08
- tag: package-2017-08-beta
- tag: package-2017-07
- tag: package-2016-05
```

### Tag: package-2017-08 and go

These settings apply only when `--tag=package-2017-08 --go` is specifined on the command line.
Expand Down
20 changes: 20 additions & 0 deletions specification/apimanagement/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,17 @@ input-file:
# Code Generation


## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-go
```


## C#

These settings apply only when `--csharp` is specified on the command line.
Expand All @@ -128,6 +139,15 @@ go:
clear-output-folder: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2017-03
- tag: package-2016-10
- tag: package-2016-07
```

### Tag: package-2017-03 and go

These settings apply only when `--tag=package-2017-03 --go` is specified on the command line.
Expand Down
8 changes: 8 additions & 0 deletions specification/applicationinsights/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```
Expand Down Expand Up @@ -231,6 +232,13 @@ go:
clear-output-folder: true
```

### Go mult-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2015-05
```

### Tag: package-2015-05 and go

These settings apply only when `--tag=package-2015-05 --go` is specified on he command line.
Expand Down
9 changes: 9 additions & 0 deletions specification/authorization/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -126,6 +127,14 @@ go:
clear-output-folder: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2015-07
- tag: package-2017-10-01-preview
```

### Tag: package-2015-07 and go

These settings apply only when `--tag=package-2015-07 --go` is specified on he command line.
Expand Down
9 changes: 9 additions & 0 deletions specification/automation/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -159,6 +160,14 @@ go:
clear-output-folder: true
```

### Go multi-api

``` yaml $(go)
batch:
- tag: package-2015-10
- tag: package-2017-05-preview
```

### Tag: package-2015-10 and go

These settings apply only when `--tag=package-2015-10 --go` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ input-file:
---
# Code Generation


## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-go
```

## C#

These settings apply only when `--csharp` is specified on the command line.
Expand Down
12 changes: 12 additions & 0 deletions specification/azsadmin/resource-manager/commerce/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ input-file:
---
# Code Generation


## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```

## C#

``` yaml $(csharp)
Expand Down
11 changes: 11 additions & 0 deletions specification/azsadmin/resource-manager/fabric/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ input-file:
---
# Code Generation


## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-go
```

## C#

These settings apply only when `--csharp` is specified on the command line.
Expand Down
18 changes: 18 additions & 0 deletions specification/batch/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,17 @@ input-file:
---
# Code Generation


## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-go
```

## C#

These settings apply only when `--csharp` is specified on the command line.
Expand Down Expand Up @@ -256,6 +267,13 @@ go:
namespace: batch
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2017-05.5.0
```

### Tag: package-2017-05.5.0 and go

These settings apply only when `--tag=package-2017-05.5.0 --go` is specified on the command line.
Expand Down
10 changes: 10 additions & 0 deletions specification/batch/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -148,6 +149,15 @@ go:
clear-output-folder: true
```

### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2017-09
- tag: package-2017-05
- tag: package-2017-01
- tag: package-2015-12
```

### Tag: package-2017-09 and go

These settings apply only when `--tag=package-2017-09 --go` is specified on the command line.
Expand Down
8 changes: 8 additions & 0 deletions specification/batchai/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -105,6 +106,13 @@ go:
namespace: batchai
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2017-09-preview
```

### Tag: package-2017-09-preview and go

These settings apply only when `--tag=package-2017-09-preview --go` is specified on the command line.
Expand Down
8 changes: 8 additions & 0 deletions specification/billing/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -116,6 +117,13 @@ go:
clear-output-folder: true
```

### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2017-04-preview
- tag: package-2017-02-preview
```

### Tag: package-2017-04-preview and go

These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line.
Expand Down
12 changes: 12 additions & 0 deletions specification/cdn/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -144,6 +145,17 @@ go:
clear-output-folder: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2017-10
- tag: package-2017-04
- tag: package-2016-10
- tag: package-2016-04
- tag: package-2015-06
```

### Tag: package-2017-10 and go

These settings apply only when `--tag=package-2017-10 --go` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -82,6 +83,13 @@ go:
clear-output-folder: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: release_1_0
```

### Tag: release_1_0 and go

These settings apply only when `--tag=release_1_0 --go` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```


Expand Down Expand Up @@ -91,6 +92,13 @@ go:
clear-output-folder: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: release_1_0
```

### Tag: release_1_0 and go

These settings apply only when `--tag=release_1_0 --go` is specified on the command line.
Expand Down
Loading

0 comments on commit 635c479

Please sign in to comment.