-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
142 lines (142 loc) · 6.59 KB
/
package.json
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "@asyncapi/java-spring-cloud-stream-template",
"version": "0.13.0",
"description": "Java Spring Cloud Stream template for AsyncAPI generator.",
"scripts": {
"lint": "eslint --config .eslintrc .",
"lint:fix": "eslint --fix --config .eslintrc .",
"generate:assets": "echo 'No additional assets need to be generated at the moment'",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION",
"test": "jest --maxWorkers=50% --detectOpenHandles",
"test:watch": "npm run test -- --watch",
"test:watchAll": "npm run test -- --watchAll",
"test:coverage": "npm run test -- --coverage",
"test:updateSnapshots": "npm run test -- -u"
},
"keywords": [
"asyncapi",
"cloud",
"generator",
"java",
"spring",
"template"
],
"publishConfig": {
"access": "public"
},
"author": "Michael Davis <michael@damaru.com>",
"license": "Apache-2.0",
"dependencies": {
"@asyncapi/generator-filters": "^2.1.0",
"@types/node": "^16.7.1",
"js-yaml": "^3.13.1",
"lodash": "^4.17.15"
},
"devDependencies": {
"@asyncapi/generator": "^1.9.4",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^24.3.6",
"jest": "^27.0.4"
},
"generator": {
"generator": ">=1.8.6 <=2.3.0",
"parameters": {
"actuator": {
"description": "If present, it adds the dependencies for spring-boot-starter-web, spring-boot-starter-actuator and micrometer-registry-prometheus.",
"required": false,
"default": false
},
"artifactId": {
"description": "The Maven artifact id. Alternatively you can set the specification extension info.x-artifact-id",
"required": false,
"default": "project-name"
},
"artifactType": {
"description": "The type of project to generate, application or library. The default is application. When generating an application, the pom.xml file will contain the complete set of dependencies required to run an app, and it will contain an Application class with a main function. Otherwise the pom file will include only the dependencies required to compile a library.",
"required": false,
"default": "application"
},
"binder": {
"description": "The name of the binder implementation, one of kafka, rabbit or solace. Default: kafka. If you need other binders to be supported, please let us know!",
"required": false,
"default": "kafka"
},
"dynamicType": {
"description": "When using channels with parameters, i.e. dynamic topics where the topic could be different for each message, this determines whether to use the StreamBridge or a message header. StreamBridge can be used with all binders, but some binders such as Solace can use the topic set in a header for better performance. Possible values are streamBridge and header. Default is streamBridge.",
"required": false,
"default": "streamBridge"
},
"groupId": {
"description": "The Maven group id. Alternatively you can set the specification extension info.x-group-id",
"required": false,
"default": "com.company"
},
"host": {
"description": "The host connection property. Currently this only works with the Solace binder. Example: tcp://myhost.com:55555.",
"required": false,
"default": "tcp://localhost:55555"
},
"javaPackage": {
"description": "The Java package of the generated classes. Alternatively you can set the specification extension info.x-java-package",
"required": false
},
"msgVpn": {
"description": "The message vpn connection property. Currently this only works with the Solace binder.",
"required": false,
"default": "default"
},
"parametersToHeaders": {
"description": "If true, this will create headers on the incoming messages for each channel parameter. Currently this only works with messages originating from Solace (using the solace_destination header) and RabbitMQ (using the amqp_receivedRoutingKey header.)",
"required": false,
"default": false
},
"password": {
"description": "The client password connection property. Currently this only works with the Solace binder.",
"required": false,
"default": "default"
},
"reactive": {
"description": "If true, this will generate reactive style functions using the Flux class. Defalt: false.",
"required": false,
"default": false
},
"solaceSpringCloudVersion": {
"description": "The version of the solace-spring-cloud-bom dependency used when generating an application. Alternatively you can set the specification extension info.x-solace-spring-cloud-version.",
"required": false,
"default": "2.1.0"
},
"springBootVersion": {
"description": "The version of Spring Boot used when generating an application. Alternatively you can set the specification extension info.x-spring-booot-version. Example: 2.2.6.RELEASE.",
"required": false,
"default": "2.4.7"
},
"springCloudVersion": {
"description": "The version of the spring-cloud-dependencies BOM dependency used when generating an application. Alternatively you can set the specification extension info.x-spring-cloud-version. Example: Hoxton.RELEASE.",
"required": false,
"default": "2020.0.3"
},
"springCloudStreamVersion": {
"description": "The version of the spring-cloud-stream dependency specified in the Maven file, when generating a library. When generating an application, the spring-cloud-dependencies BOM is used instead. Example: 3.0.1.RELEASE",
"required": false,
"default": "3.1.3"
},
"username": {
"description": "The client username connection property. Currently this only works with the Solace binder",
"required": false,
"default": "default"
},
"view": {
"description": "The view that the template uses. By default it is the client view, which means that when the document says publish, we subscribe. In the case of the provider view, when the document says publish, we publish. Values are client or provider. The default is client.",
"required": false,
"default": "client"
},
"useServers": {
"description": "This option works when binder is kafka. By default it is set to false. When set to true, it will concatenate all the urls in the servers section as a list of brokers for kafka.",
"required": false
}
},
"filters": [
"@asyncapi/generator-filters"
]
}
}