forked from asyncapi/java-spring-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 4.73 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
{
"name": "@asyncapi/java-spring-template",
"version": "1.5.1",
"description": "Java Spring template for AsyncAPI generator.",
"keywords": [
"asyncapi",
"generator",
"java",
"spring",
"template"
],
"author": "Fran Mendez <fmvilas@gmail.com> (fmvilas.com)",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/asyncapi/java-spring-template.git"
},
"bugs": {
"url": "https://github.com/asyncapi/java-spring-template/issues"
},
"homepage": "https://github.com/asyncapi/java-spring-template#readme",
"scripts": {
"test": "rimraf test/temp && jest --modulePathIgnorePatterns='./template'",
"lint": "echo \"No linter specified yet\"",
"generate:readme:toc": "markdown-toc -i README.md",
"generate:assets": "npm run generate:readme:toc",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@asyncapi/generator-filters": "^2.1.0",
"@asyncapi/generator-hooks": "^0.1.0",
"fs-extra": "^9.0.0",
"lodash": "^4.17.21",
"replace-in-file": "^6.1.0",
"tmp": "^0.2.1"
},
"devDependencies": {
"@asyncapi/generator": "^1.17.7",
"jest": "^29.6.4",
"markdown-toc": "^1.2.0",
"node-fetch": "^2.6.1",
"rimraf": "^2.2.8"
},
"generator": {
"supportedProtocols": [
"kafka",
"amqp",
"mqtt"
],
"nonRenderableFiles": [
"**/*.jar"
],
"parameters": {
"inverseOperations": {
"description": "Generate application that will publish messages to `publish` operation of channels and read messages from `subscribe` operation of channels. Literally this flag just swap `publish` and `subscribe` operations in channels.",
"default": false,
"required": false
},
"disableEqualsHashCode": {
"description": "Disable generation of equals and hashCode methods for model classes.",
"default": "false",
"required": false
},
"listenerPollTimeout": {
"description": "Only for Kafka. Timeout to use when polling the consumer.",
"default": 3000,
"required": false
},
"listenerConcurrency": {
"description": "Only for Kafka. Number of threads to run in the listener containers.",
"default": 3,
"required": false
},
"connectionTimeout": {
"description": "Only for MQTT. This value, measured in seconds, defines the maximum time interval the client will wait for the network connection to the MQTT server to be established. The default timeout is 30 seconds. A value of 0 disables timeout processing meaning the client will wait until the network connection is made successfully or fails.",
"default": 30,
"required": false
},
"disconnectionTimeout": {
"description": "Only for MQTT. The completion timeout in milliseconds when disconnecting. The default disconnect completion timeout is 5000 milliseconds.",
"default": 5000,
"required": false
},
"completionTimeout": {
"description": "Only for MQTT. The completion timeout in milliseconds for operations. The default completion timeout is 30000 milliseconds.",
"default": 30000,
"required": false
},
"mqttClientId": {
"description": "Only for MQTT. Provides the client identifier for the MQTT server. This parameter overrides the value of the clientId if it's set in the AsyncAPI file.",
"required": false
},
"asyncapiFileDir": {
"description": "Parameter of @asyncapi/generator-hooks#createAsyncapiFile, allows to specify where original AsyncAPI file will be stored.",
"default": "src/main/resources/api/",
"required": false
},
"javaPackage": {
"description": "The Java package of the generated classes. Alternatively you can set the specification extension info.x-java-package",
"default": "com.asyncapi",
"required": false
},
"addTypeInfoHeader": {
"description": "Only for Kafka. Add type information to the message header",
"default": "true",
"required": false
},
"springBoot2": {
"description": "Generate template files for the Spring Boot version 2. For kafka protocol it will also force to use spring-kafka 2.9.9",
"default": false,
"required": false
},
"maven": {
"description": "Generate pom.xml Maven build file instead of Gradle build",
"default": false,
"required": false
}
},
"generator": ">=1.8.27 <2.0.0",
"filters": [
"@asyncapi/generator-filters"
],
"hooks": {
"@asyncapi/generator-hooks": "createAsyncapiFile"
}
}
}