@@ -284,9 +284,22 @@ simple for users to create custom services that solve their particular need.
284
284
To create a custom resource provider, you can run:
285
285
286
286
``` shell
287
- mvn -B archetype:generate -DarchetypeGroupId=ai.wanaku -DarchetypeArtifactId=wanaku-provider-archetype -DarchetypeVersion=0.0.3 -DgroupId=ai.wanaku -Dpackage=ai.wanaku.provider -DartifactId=wanaku-provider-s3 -Dname=S3 -Dwanaku-version=0.0.3
287
+ mvn -B archetype:generate -DarchetypeGroupId=ai.wanaku -DarchetypeArtifactId=wanaku-provider-archetype -DarchetypeVersion=0.0.3 -DgroupId=ai.wanaku -Dpackage=ai.wanaku.provider -DartifactId=wanaku-provider-y4 -Dname=Y4 -Dwanaku-version=0.0.3
288
288
```
289
289
290
+ To run the newly created service enter the directory that was created (i.e.,; ` cd wanaku-provider-y4 ` ),
291
+ then build the project using Maven (` mvn clean package ` ).
292
+
293
+ Then, launch it using:
294
+
295
+ ``` shell
296
+ java -Dvalkey.host=localhost -Dvalkey.port=6379 -Dvalkey.timeout=10 -Dquarkus.grpc.server.port=9901 -jar target/quarkus-app/quarkus-run.jar
297
+ ```
298
+
299
+ You can check if the service was registered correctly using ` wanaku targets resources list ` .
300
+
301
+ ** NOTE** : remember to set the parameters in the ` application.properties ` file.
302
+
290
303
### Creating a New Tool Service
291
304
292
305
To create a custom tool service, you can run:
@@ -295,6 +308,20 @@ To create a custom tool service, you can run:
295
308
mvn -B archetype:generate -DarchetypeGroupId=ai.wanaku -DarchetypeArtifactId=wanaku-tool-service-archetype -DarchetypeVersion=0.0.3 -DgroupId=ai.wanaku -Dpackage=ai.wanaku.routing.service -DartifactId=wanaku-routing-jms-service -Dname=JMS -Dwanaku-version=0.0.3
296
309
```
297
310
311
+ To run the newly created service enter the directory that was created (i.e.,; ` cd wanaku-routing-jms-service ` ), then build the project using Maven (` mvn clean package ` ).
312
+
313
+ Then, launch it using:
314
+
315
+ ``` shell
316
+ java -Dvalkey.host=localhost -Dvalkey.port=6379 -Dvalkey.timeout=10 -Dquarkus.grpc.server.port=9900 -jar target/quarkus-app/quarkus-run.jar
317
+ ```
318
+
319
+ You can check if the service was registered correctly using ` wanaku targets tools list ` .
320
+
321
+ ** NOTE** : remember to set the parameters in the ` application.properties ` file.
322
+
323
+ To customize your service, adjust the delegate and client classes.
324
+
298
325
### Adjusting Your Resource Provider or Tool Service
299
326
300
327
After created, then most of the work is to adjust the auto-generated ` Delegate ` class to provide the Camel-based URL and, if
0 commit comments