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 amq63-persistent-activemq.xml
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
View jenkins_build.log
Started by user anonymous
Cloning the remote Git repository
Cloning repository http://gogs/gogsadmin/camel-springboot-devoxxfr-03.git
> /usr/bin/git init /var/jenkins_home/workspace/camel-springboot-devoxxfr-03@script # timeout=10
Fetching upstream changes from http://gogs/gogsadmin/camel-springboot-devoxxfr-03.git
View jenkins_build.log
Started by user anonymous
Cloning the remote Git repository
Cloning repository http://gogs/gogsadmin/camel-springboot-devoxxfr-03.git
> /usr/bin/git init /var/jenkins_home/workspace/camel-springboot-devoxxfr-03@script # timeout=10
Fetching upstream changes from http://gogs/gogsadmin/camel-springboot-devoxxfr-03.git
View deployment.yml
spec:
replicas: 1
template:
spec:
containers:
-
resources:
requests:
cpu: "0.2"
memory: 256Mi
View camel-springboot-rest-ose.xml
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route id="rest-getPersonId">
<from uri="{{env:CAMEL_FROM}}"/>
<log message="{{env:CAMEL_LOG_MSG}}"/>
<setBody>
<simple> {{env:CAMEL_SETBODY}} </simple>
</setBody>
</route>
View git all --oneline --graph
[aboucham@aboucham fabric]$ git log --all --oneline --graph
* b8dfff8 [PATCH/baseline] Installing baseline-ssh-fabric8-1.2.0.redhat-621159
| * f79cd7c [PATCH/baseline] baseline-6.2.1.redhat-159 - resetting etc/overrides.properties
| * 501f3db [PATCH/baseline] Installing baseline-6.2.1.redhat-159
|/
| * 16662df Update configurations for profile: fabric
| * fa8ead7 Update configurations for profile: default
| * 2b02a3f Added profile zip(s) [mvn:io.fabric8.quickstarts/fabric8-quickstarts-parent/1.2.0.redhat-621159/zip/profile, mvn:org.jboss.quickstarts.fuse/quickstarts-parent/6.2.1.redhat-159/zip/profile]
| * 8d64e23 Imported from /home/aboucham/dev/jboss-fuse-6.2.1.redhat-159/fabric/import/fabric
| | * 72aca0a Create profile: fabric-ensemble-0000-1
View Karaf_Assembly_pom.xml
<!-- 2. create karaf assembly -->
<!-- karaf-maven-plugin creates custom microservice distribution -->
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>${karaf.plugin.version}</version>
<extensions>true</extensions>
<executions>
<execution>
<id>karaf-assembly</id>
View fabric8_properties_pom.xml
<fabric8.service.name>${servicename}</fabric8.service.name>
<fabric8.service.port>${serviceport}</fabric8.service.port>
<fabric8.service.containerPort>${http.port}</fabric8.service.containerPort>
View Properties_pom.xml
<env>
<JAVA_LIB_DIR>/deployments/lib</JAVA_LIB_DIR>
<JAVA_MAIN_CLASS>org.apache.camel.spring.Main</JAVA_MAIN_CLASS>
<HTTP_PORT>${http.port}</HTTP_PORT>
</env>
<ports>
<port>${http.port}</port>
</ports>
@abouchama
abouchama / camel-rest.xml
Created Dec 14, 2016
Camel Route with Rest Endpoint
View camel-rest.xml
<camelContext id="rest-example-context" xmlns="http://camel.apache.org/schema/blueprint">
<restConfiguration component="jetty" port="9191" />
<rest path="FIS">
<get uri="/{name}">
<to uri="direct:order" />
</get>
</rest>
<route id="rest-route">
<from uri="direct:order" />
You can’t perform that action at this time.