This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx React.DOM */ | |
'use strict'; | |
var React = require('react'); | |
var DesktopApp = require('./desktopApp'); | |
React.renderComponent(<DesktopApp />, document.body); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ salesforce-jetty-test --- | |
[INFO] com.github.zregvart:salesforce-jetty-test:jar:0.0.1-SNAPSHOT | |
[INFO] +- org.apache.camel:camel-spring-boot-starter:jar:2.18.1-SNAPSHOT:compile | |
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:1.4.1.RELEASE:compile | |
[INFO] | | +- org.springframework.boot:spring-boot:jar:1.4.1.RELEASE:compile | |
[INFO] | | | \- org.springframework:spring-context:jar:4.3.3.RELEASE:compile | |
[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:1.4.1.RELEASE:compile | |
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:1.4.1.RELEASE:compile | |
[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.1.7:compile | |
[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.1.7:compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<camel:camelContext> | |
<camel:route> | |
<camel:from uri="direct:start" /> | |
<camel:to | |
uri="salesforce:query?sObjectClass=com.github.zregvart.salesforce.query.Contacts&sObjectQuery=SELECT name FROM Contact"></camel:to> | |
<camel:log message="->${body}" /> | |
<camel:loop doWhile="true"> | |
<camel:simple>${body.done} == false</camel:simple> | |
<camel:setHeader headerName="sObjectQuery"> | |
<camel:simple>${body.nextRecordsUrl}</camel:simple> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jenkins.branch.MultiBranchProject | |
Jenkins.instance.items.findAll { job -> | |
if (job instanceof MultiBranchProject) { | |
return false | |
} else { | |
!job.builds.take(10).any { build -> | |
build.result == Result.SUCCESS | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
/** | |
* Generated by camel-package-maven-plugin - do not edit this file! | |
*/ | |
@Generated(value = "org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo", date = "2017-04-18T14:27:43.992Z") | |
@Configuration | |
@ConditionalOnBean(type = "org.apache.camel.spring.boot.CamelAutoConfiguration") | |
@Conditional(AhcComponentAutoConfiguration.Condition.class) | |
@AutoConfigureAfter(name = "org.apache.camel.spring.boot.CamelAutoConfiguration") | |
@EnableConfigurationProperties(AhcComponentConfiguration.class) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FileEnrichRoute extends RouteBuilder { | |
@Override | |
public void configure() throws Exception { | |
from("file:folder1").pollEnrich("file:folder2", new AggregationStrategy() { | |
public Exchange aggregate(Exchange original, Exchange resource) { | |
String originalBody = original.getIn().getBody(String.class); | |
String resourceBody = resource.getIn().getBody(String.class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/buildingtools/pom.xml b/buildingtools/pom.xml | |
index c235e1678d..c3918a1e37 100644 | |
--- a/buildingtools/pom.xml | |
+++ b/buildingtools/pom.xml | |
@@ -85,6 +85,19 @@ | |
</configuration> | |
</execution> | |
</executions> | |
+ <dependencies> | |
+ <dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<address name="mcast.sample"> | |
<multicast /> | |
</address> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExampleProcessor implements Processor { | |
@Override | |
public void process(Exchange exchange) throws Exception { | |
try { | |
// do your transformation here | |
} catch (ExampleException e) { | |
final List<ExampleException> allExceptions = Optional | |
.ofNullable(exchange.getProperty("all-exceptions", List.class)).orElseGet(ArrayList::new); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git status | |
On branch camel-2.20.x | |
Your branch is up-to-date with 'origin/camel-2.20.x'. | |
nothing to commit, working tree clean | |
$ mvn clean install -pl itests/standalone/smoke -am -Dtest=SpringBeanTransformTest | |
2017-05-29 11:17:54 ERROR [org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer] (main) - Cannot deploy arquillian service | |
org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: arquillian-service | |
at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83) | |
at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64) |
OlderNewer