ci-droid-tasks-consumer Service

consumer part of CI-droid

License

License

GroupId

GroupId

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

ArtifactId

ci-droid-tasks-consumer
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

ci-droid-tasks-consumer Service
consumer part of CI-droid
Project URL

Project URL

https://github.com/societe-generale/ci-droid-tasks-consumer
Project Organization

Project Organization

Pivotal Software, Inc.
Source Code Management

Source Code Management

https://github.com/societe-generale/ci-droid-tasks-consumer

Download ci-droid-tasks-consumer

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.20

Project Modules

  • ci-droid-tasks-consumer-services
  • ci-droid-tasks-consumer-infrastructure
  • ci-droid-tasks-consumer-bootstrap

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