You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+11-2
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ first start at xref:anchor-1[How To Use this Repo]
62
62
63
63
first start at xref:anchor-1[How To Use this Repo]
64
64
65
-
1. Configure in `pom.xml` the KJARs you plan to deploy in your service (KJARs need to be deployed in NEXUS if using a central maven repo)
65
+
1. Configure in `pom.xml` the KJARs you plan to deploy in your service (*Important:* KJARs need to be deployed in NEXUS if using a central maven repo. See xref:anchor-8[How To Deploy a KJAR into Central Maven Repo])
66
66
67
67
<artifacts>
68
68
<gav>com.redhat:basic-kjar:1.0.0</gav>
@@ -169,11 +169,12 @@ first start at xref:anchor-4[How To Use in Openshift]
169
169
170
170
* Find Process IDs in KIEContainer
171
171
172
+
curl -k -u user:user -X GET "http://127.0.0.1:8090/rest/server/containers/retail/processes/" -H "accept: application/json"
172
173
curl -k -u user:user -X GET "http://business-application-service-dev-pam.apps.cluster-workshop-d20a.workshop-d20a.example.opentlc.com/rest/server/containers/{ALIAS or CONTAINERID}/processes/" -H "accept: application/json"
173
174
174
-
175
175
* Find Process Details(eg. process Variables) based on Process ID
176
176
177
+
curl -k -u user:user -X GET "http://127.0.0.1:8090/rest/server/containers/retail/processes/definitions/my-process" -H "accept: application/json"
177
178
curl -k -u user:user -X GET "http://business-application-service-dev-pam.apps.cluster-workshop-d20a.workshop-d20a.example.opentlc.com/rest/server/containers/containers/{ALIAS or CONTAINERID}/processes/definitions/{ProcessID}" -H "accept: application/json"
178
179
179
180
* Start Process
@@ -184,6 +185,7 @@ first start at xref:anchor-4[How To Use in Openshift]
184
185
185
186
* Retrieve instances of processes in KIEContainer (status 1=Active, 2=Completed, 3=Error)
@@ -196,6 +198,13 @@ first start at xref:anchor-4[How To Use in Openshift]
196
198
3. Timers
197
199
4. APIs
198
200
201
+
[[anchor-8]]
202
+
== How To Deploy a KJAR into Central Maven Repo
203
+
204
+
* See example at: https://github.com/skoussou/basic-kjar/blob/b4a11571cc099203ecfd0cf08b11f6957c56842d/pom.xml#L9[Basic KJAR distributionManagement]
205
+
* With https://github.com/skoussou/basic-kjar/blob/b4a11571cc099203ecfd0cf08b11f6957c56842d/settings.xml#L12[server configs in settings.xml matching the distributionManagement ids] execute:
206
+
207
+
mvn clean deploy -s settings.xml
199
208
200
209
Resources: Docs on Openshift DSL Pipeline creation
0 commit comments