|
1 | 1 | ## Java |
2 | 2 |
|
3 | 3 | These settings apply only when `--java` is specified on the command line. |
4 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`. |
5 | 4 |
|
6 | 5 | ``` yaml $(java) |
7 | | -azure-arm: true |
8 | | -fluent: true |
9 | | -namespace: com.microsoft.azure.management.datafactory |
10 | | -license-header: MICROSOFT_MIT_NO_CODEGEN |
11 | | -payload-flattening-threshold: 1 |
12 | | -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datafactory |
| 6 | +directive: |
| 7 | +- from: datafactory.json |
| 8 | + where: $.definitions.LinkedServiceReference.properties.type["x-ms-enum"] |
| 9 | + transform: $["modelAsString"] = false |
13 | 10 | ``` |
14 | | -
|
15 | | -# Validation |
16 | | -
|
17 | | -
|
18 | | -### Java multi-api |
19 | | -
|
20 | | -``` yaml $(java) && $(multiapi) |
21 | | -batch: |
22 | | - - tag: package-2017-09-preview |
23 | | - - tag: package-2018-06 |
24 | | -``` |
25 | | -
|
26 | | -### Tag: package-2017-09-preview and java |
27 | | -
|
28 | | -These settings apply only when `--tag=package-2017-09-preview --java` is specified on the command line. |
29 | | -Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`. |
30 | | - |
31 | | -``` yaml $(tag) == 'package-2017-09-preview' && $(java) && $(multiapi) |
32 | | -java: |
33 | | - namespace: com.microsoft.azure.management.datafactory.v2017_09_01_preview |
34 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/datafactory/mgmt-v2017_09_01_preview |
35 | | -regenerate-manager: true |
36 | | -generate-interface: true |
37 | | -``` |
38 | | - |
39 | | -### Tag: package-2018-06 and java |
40 | | - |
41 | | -These settings apply only when `--tag=package-2018-06 --java` is specified on the command line. |
42 | | -Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`. |
43 | | - |
44 | | -``` yaml $(tag) == 'package-2018-06' && $(java) && $(multiapi) |
45 | | -java: |
46 | | - namespace: com.microsoft.azure.management.datafactory.v2018_06_01 |
47 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/datafactory/mgmt-v2018_06_01 |
48 | | -regenerate-manager: true |
49 | | -generate-interface: true |
50 | | -``` |
0 commit comments