Skip to content

Commit edc73e5

Browse files
java adf, avoid unnecessary breaking changes in SDK
1 parent 1b8d88d commit edc73e5

File tree

1 file changed

+4
-44
lines changed

1 file changed

+4
-44
lines changed
Lines changed: 4 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,10 @@
11
## Java
22

33
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>`.
54

65
``` 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
1310
```
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

Comments
 (0)