Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[App Insights/Operational Insights] Update config for Java, typescript, nodejs #3619

Merged
merged 1 commit into from
Aug 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions specification/applicationinsights/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,36 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
``` yaml $(tag) == 'v1' && $(go)
output-folder: $(go-sdk-folder)/services/appinsights/v1/insights
```

``` yaml $(typescript)
typescript:
package-name: azure-applicationinsights-query
package-version: 1.0.0-Preview-1
output-folder: $(node-sdks-folder)/lib/services/applicationinsightsQuery/lib
generate-metadata: true
azure-arm: true
add-credentials: true
directive:
- from: swagger-document
where: $.definitions.table.properties.rows.items.items
transform: $.type = "object"
```

## Java

These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(java)
java:
azure-arm: true
fluent: false
namespace: com.microsoft.azure.applicationinsights.query
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/applicationinsights/data-plane
directive:
- from: swagger-document
where: $.definitions.table.properties.rows.items.items.type
transform: $ = "object"
```
17 changes: 17 additions & 0 deletions specification/applicationinsights/data-plane/readme.nodejs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

## NodeJS
These settings apply only when `--nodejs` is specified on the command line.
Please also specify `--node-sdks-folder=<path to the root directory of your azure-sdk-for-node clone>`.

``` yaml $(nodejs)
nodejs:
package-name: azure-applicationinsights-query
package-version: 1.0.0-Preview-1
output-folder: $(node-sdks-folder)/lib/services/applicationinsights-query
generate-license-txt: true
generate-package-json: true
generate-readme-md: true
directive:
- reason: Remove Events_GetOdataMetadata from Node SDK due to XML issues.
remove-operation: Events_GetOdataMetadata
```
4 changes: 4 additions & 0 deletions specification/operationalinsights/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,8 @@ java:
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/loganalytics/data-plane
directive:
- from: swagger-document
where: $.definitions.table.properties.rows.items.items.type
transform: $ = "object"
```