-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzenwave-scripts.zdl
64 lines (50 loc) · 1.92 KB
/
zenwave-scripts.zdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
config {
title "ZenWave SDK - Mongodb BaseLine"
basePackage "io.zenwave360.example"
persistence mongodb
specFile "zenwave-model.zdl"
zdlFile "zenwave-model.zdl"
// these should match the values of openapi-generator-maven-plugin
// used by the OpenAPIControllersPlugin and SpringWebTestClientPlugin
openApiApiPackage "{{basePackage}}.adapters.web"
openApiModelPackage "{{basePackage}}.adapters.web.model"
openApiModelNameSuffix DTO
plugins {
ZDLToOpenAPIPlugin {
idType string
targetFile "src/main/resources/public/apis/openapi.yml"
}
ZDLToAsyncAPIPlugin {
asyncapiVersion v3
idType string
targetFile "src/main/resources/public/apis/asyncapi.yml"
// includeKafkaCommonHeaders true
}
BackendApplicationDefaultPlugin {
useLombok true
includeEmitEventsImplementation true
// --force // overwite all files
}
OpenAPIControllersPlugin {
openapiFile "src/main/resources/public/apis/openapi.yml"
}
SpringWebTestClientPlugin {
openapiFile "src/main/resources/public/apis/openapi.yml"
}
SpringWebTestClientPlugin {
openapiFile "src/main/resources/public/apis/openapi.yml"
groupBy businessFlow
businessFlowTestName CreateUpdateDeleteCustomerIntegrationTest
operationIds createCustomer,updateCustomer,deleteCustomer,getCustomer
}
OpenAPIKaratePlugin {
openapiFile "src/main/resources/public/apis/openapi.yml"
}
OpenAPIKaratePlugin {
openapiFile "src/main/resources/public/apis/openapi.yml"
groupBy businessFlow
businessFlowTestName CreateUpdateDeleteCustomerKarateTest
operationIds createCustomer,updateCustomer,deleteCustomer,getCustomer
}
}
}