com.societegenerale.ci-droid.tasks-consumer:ci-droid-tasks-consumer-bootstrap

consumer part of CI-droid

License

License

GroupId

GroupId

com.societegenerale.ci-droid.tasks-consumer
ArtifactId

ArtifactId

ci-droid-tasks-consumer-bootstrap
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

consumer part of CI-droid
Project Organization

Project Organization

Pivotal Software, Inc.

Download ci-droid-tasks-consumer-bootstrap

How to add to project

<!-- https://jarcasting.com/artifacts/com.societegenerale.ci-droid.tasks-consumer/ci-droid-tasks-consumer-bootstrap/ -->
<dependency>
    <groupId>com.societegenerale.ci-droid.tasks-consumer</groupId>
    <artifactId>ci-droid-tasks-consumer-bootstrap</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.societegenerale.ci-droid.tasks-consumer/ci-droid-tasks-consumer-bootstrap/
implementation 'com.societegenerale.ci-droid.tasks-consumer:ci-droid-tasks-consumer-bootstrap:1.0.0'
// https://jarcasting.com/artifacts/com.societegenerale.ci-droid.tasks-consumer/ci-droid-tasks-consumer-bootstrap/
implementation ("com.societegenerale.ci-droid.tasks-consumer:ci-droid-tasks-consumer-bootstrap:1.0.0")
'com.societegenerale.ci-droid.tasks-consumer:ci-droid-tasks-consumer-bootstrap:jar:1.0.0'
<dependency org="com.societegenerale.ci-droid.tasks-consumer" name="ci-droid-tasks-consumer-bootstrap" rev="1.0.0">
  <artifact name="ci-droid-tasks-consumer-bootstrap" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.societegenerale.ci-droid.tasks-consumer', module='ci-droid-tasks-consumer-bootstrap', version='1.0.0')
)
libraryDependencies += "com.societegenerale.ci-droid.tasks-consumer" % "ci-droid-tasks-consumer-bootstrap" % "1.0.0"
[com.societegenerale.ci-droid.tasks-consumer/ci-droid-tasks-consumer-bootstrap "1.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
com.societegenerale.ci-droid.tasks-consumer : ci-droid-tasks-consumer-infrastructure jar 1.0.0
net.logstash.logback : logstash-logback-encoder jar 4.11
org.codehaus.janino : janino jar 3.0.6
org.projectlombok : lombok jar 1.16.20

Project Modules

There are no modules declared in this project.

CI-Droid tasks-consumer

Build Status Coverage Status

CI-droid tasks consumer will execute the boring tasks on behalf of the dev teams.

Main documentation is available here.

Sync mode

In regular mode, CI-droid-tasks-controller receives events from an event bus (RabbitMq or Kafka, which are supported by Spring Cloud) : since processing a source control event may take some time, we usually prefer to respond immediately to source the control and acknowledge the request, then process it asynchronously.

However, especially while prototyping, we may want a simpler setup without a messaging bus and CI-droid may be preferable.

For those situations, it's possible to start ci-droid-tasks-consumer in sync mode : instead of listening for events on the message bus, it will now listen to messages on a REST interface on /cidroid-sync-webhook endpoint.

To achieve this :

  • set synchronous-mode property to true
  • disable rabbit (or Kafka) autoconfig via spring.autoconfigure.exclude: org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration property
com.societegenerale.ci-droid.tasks-consumer

Société Générale

Versions

Version
1.0.0