Skip to content

Commit 079dd48

Browse files
derbergdamaru-inc
andauthored
feat: move configuration to package.json (#40)
* feat: move configuration to package.json * use latest generator * Removed a duplicate parameter. Co-authored-by: Michael Davis <[email protected]>
1 parent 739286a commit 079dd48

File tree

2 files changed

+77
-80
lines changed

2 files changed

+77
-80
lines changed

.tp-config.json

-80
This file was deleted.

package.json

+77
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,82 @@
5555
"@semantic-release/npm",
5656
"@semantic-release/github"
5757
]
58+
},
59+
"generator": {
60+
"generator": ">=0.50.0 <2.0.0",
61+
"parameters": {
62+
"actuator": {
63+
"description": "If present, it adds the dependencies for spring-boot-starter-web, spring-boot-starter-actuator and micrometer-registry-prometheus.",
64+
"required": false
65+
},
66+
"artifactId": {
67+
"description": "The Maven artifact id. Alternatively you can set the specification extension info.x-artifact-id",
68+
"required": false
69+
},
70+
"artifactType": {
71+
"description": "The type of project to generate, application or library. The default is library. 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.",
72+
"required": false
73+
},
74+
"binder": {
75+
"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!",
76+
"required": false
77+
},
78+
"generateMessagingClass": {
79+
"description": "By default the Messaging.java class is generated. If you don't want it, set this parameter to 'false'.",
80+
"required": false
81+
},
82+
"groupId": {
83+
"description": "The Maven group id. Alternatively you can set the specification extension info.x-group-id",
84+
"required": false
85+
},
86+
"host": {
87+
"description": "The host connection property. Currently this only works with the Solace binder. Example: tcp://myhost.com:55555.",
88+
"required": false
89+
},
90+
"javaPackage": {
91+
"description": "The Java package of the generated classes. Alternatively you can set the specification extension info.x-java-package",
92+
"required": false
93+
},
94+
"msgVpn": {
95+
"description": "The message vpn connection property. Currently this only works with the Solace binder.",
96+
"required": false
97+
},
98+
"password": {
99+
"description": "The client password connection property. Currently this only works with the Solace binder.",
100+
"required": false
101+
},
102+
"reactive": {
103+
"description": "If true, this will generate reactive style functions using the Flux class. Defalt: false.",
104+
"required": false
105+
},
106+
"solaceSpringCloudVersion": {
107+
"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.",
108+
"required": false
109+
},
110+
"springBootVersion": {
111+
"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.",
112+
"required": false
113+
},
114+
"springCloudVersion": {
115+
"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.",
116+
"required": false
117+
},
118+
"springCloudStreamVersion": {
119+
"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",
120+
"required": false
121+
},
122+
"username": {
123+
"description": "The client username connection property. Currently this only works with the Solace binder",
124+
"required": false
125+
},
126+
"view": {
127+
"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.",
128+
"required": false
129+
}
130+
},
131+
"filters": [
132+
"@asyncapi/generator-filters"
133+
]
58134
}
135+
59136
}

0 commit comments

Comments
 (0)