Skip to content

Instantly share code, notes, and snippets.

Abdellatif BOUCHAMA abouchama

Block or report user

Report or block abouchama

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Camel.xml
<choice>
<when>
<simple>&#39;{{CRM}}&#39; contains &#39;${in.header.Receiver}&#39;</simple>
<setHeader headerName="CRM">
<simple>{{CRM}}</simple>
</setHeader>
<recipientList strategyRef="myStrategy">
<header>CRM</header>
</recipientList>
</when>
View ZK.txt
JBossFuse:karaf@root> zk:create /camel
JBossFuse:karaf@root> zk:create /camel/RecipientList
JBossFuse:karaf@root> zk:create /camel/RecipientList/CRM CRMDE,CRMFR,CRMUS
JBossFuse:karaf@root> zk:create /camel/RecipientList/SAP SAPDE,SAPFR,SAPUS
JBossFuse:karaf@root> zk:create /camel/brokerURL failover://(tcp://localhost:61617)
JBossFuse:karaf@root> zk:create /camel/userName admin
JBossFuse:karaf@root> zk:create /camel/password admin
View Camel.cfg
CRM=${zk:/camel/RecipientList/CRM}
SAP=${zk:/camel/RecipientList/SAP}
brokerURL=${zk:/camel/brokerURL}
userName=${zk:/camel/userName}
password=${zk:/camel/password}
View ZK_console.txt
JBossFuse:karaf@root> zk:
zk:create zk:delete zk:edit zk:export zk:get zk:import zk:kill zk:list zk:set
View gist:a95371a89274144ec0b7
$ git clone https://github.com/abouchama/fis-createorderservice.git
$ cd fis-createorderservice
$ oc login
$ oc new-project fis-project
$ oc create -f fis-image-streams.json
View gist:363f4039aa05e1e481f3
$ git commit -am "changing my camel route"
$ git push -u origin master
$ oc start-build fis-createorderservices -n fis-project
View jenkins_buils.log
Started by user anonymous
Cloning the remote Git repository
remote: Counting objects
remote: Compressing objects
Receiving objects
View build
mWaiting for container:camel-devops. Reason:ImagePullBackOff
Waiting for container:camel-devops. Reason:ImagePullBackOff
Waiting for container:camel-devops. Reason:ImagePullBackOff
Waiting for container:camel-devops. Reason:ImagePullBackOff
Waiting for container:camel-devops. Reason:ImagePullBackOff
Waiting for container:camel-devops. Reason:ImagePullBackOff
Waiting for container:camel-devops. Reason:ImagePullBackOff
Waiting for container:camel-devops. Reason:ImagePullBackOff
Waiting for container:camel-devops. Reason:ImagePullBackOff
Waiting for container:camel-devops. Reason:ImagePullBackOff
View build #2
Started by user anonymous
Fetching changes from the remote Git repository
Checking out Revision efdd48e455b5779b013719884fd64d0bf7b2a8ea (refs/remotes/origin/master)
[Pipeline] node
Running on 1890b373ebc9 in /home/jenkins/workspace/workspace/camel-ci-cd
[Pipeline] {
[Pipeline] git
Fetching changes from the remote Git repository
Checking out Revision efdd48e455b5779b013719884fd64d0bf7b2a8ea (refs/remotes/origin/master)
[Pipeline] echo
View profile-display default
JBossFuse:admin@root> profile-display default
Profile id: default
Version : 1.0
Attributes:
Containers:
Container settings
----------------------------
Repositories :
mvn:org.jboss.fuse/jboss-fuse/${version:fuse}/xml/features
You can’t perform that action at this time.