Activiti Cloud :: Audit


License

License

GroupId

GroupId

org.activiti.cloud.examples
ArtifactId

ArtifactId

activiti-cloud-audit
Last Version

Last Version

7-201802-EA
Release Date

Release Date

Type

Type

jar
Description

Description

Activiti Cloud :: Audit
Activiti Cloud :: Audit
Project URL

Project URL

http://activiti.org
Project Organization

Project Organization

Alfresco
Source Code Management

Source Code Management

https://github.com/Activiti/activiti-cloud-audit

Download activiti-cloud-audit

How to add to project

<!-- https://jarcasting.com/artifacts/org.activiti.cloud.examples/activiti-cloud-audit/ -->
<dependency>
    <groupId>org.activiti.cloud.examples</groupId>
    <artifactId>activiti-cloud-audit</artifactId>
    <version>7-201802-EA</version>
</dependency>
// https://jarcasting.com/artifacts/org.activiti.cloud.examples/activiti-cloud-audit/
implementation 'org.activiti.cloud.examples:activiti-cloud-audit:7-201802-EA'
// https://jarcasting.com/artifacts/org.activiti.cloud.examples/activiti-cloud-audit/
implementation ("org.activiti.cloud.examples:activiti-cloud-audit:7-201802-EA")
'org.activiti.cloud.examples:activiti-cloud-audit:jar:7-201802-EA'
<dependency org="org.activiti.cloud.examples" name="activiti-cloud-audit" rev="7-201802-EA">
  <artifact name="activiti-cloud-audit" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.activiti.cloud.examples', module='activiti-cloud-audit', version='7-201802-EA')
)
libraryDependencies += "org.activiti.cloud.examples" % "activiti-cloud-audit" % "7-201802-EA"
[org.activiti.cloud.examples/activiti-cloud-audit "7-201802-EA"]

Dependencies

compile (3)

Group / Artifact Type Version
org.activiti.cloud : activiti-cloud-starter-audit jar
org.springframework.cloud : spring-cloud-starter-config jar
com.h2database : h2 jar

test (3)

Group / Artifact Type Version
junit : junit jar
org.springframework.boot : spring-boot-test jar
org.springframework : spring-test jar

Project Modules

There are no modules declared in this project.

Activiti Cloud Audit (JPA)

Join Us in Gitter Build Status Travis Coverage Status ASL 2.0 CLA Docker Build Status security status stability status

Activiti Cloud Audit Service JPA Implementation. This service uses a Relational Database to store events emitted by Runtime Bundles as they come in.

As all our services, this module was build using the activiti-cloud-starter-audit module, that you can use to create your own version of this service as with any other Spring Boot Starter.

For more information about his module and the starters you can take a look at our Activiti & Activiti Cloud GitBook

Docker Image

Building & Running this Service

You can build this service from source using Git & Maven or you can just run our Docker Image.

Spring Boot:

git clone https://github.com/Activiti/activiti-cloud-audit.git cd activiti-cloud-audit/ mvn clean install spring-boot:run

Docker:

docker run -p 8181:8181 -d --name activiti-cloud-audit activiti/activiti-cloud-audit:latest

Environment Variables

server.port=${ACT_AUDIT_PORT:8181}
spring.application.name=${ACT_AUDIT_APP_NAME:audit}
spring.cloud.stream.bindings.auditConsumer.destination=${ACT_AUDIT_CONSUMER_DEST:engineEvents}
spring.cloud.stream.bindings.auditConsumer.group=${ACT_AUDIT_CONSUMER_GROUP:audit}
spring.cloud.stream.bindings.auditConsumer.contentType=${ACT_AUDIT_CONSUMER_CONTENT_TYPE:application/json}
spring.jackson.serialization.fail-on-unwrapped-type-identifiers=${ACT_AUDIT_JACKSON_FAIL_ON_UNWRAPPED_IDS:false}
keycloak.auth-server-url=${ACT_KEYCLOAK_URL:http://activiti-cloud-sso-idm:8180/auth}
keycloak.realm=${ACT_KEYCLOAK_REALM:springboot}
keycloak.resource=${ACT_KEYCLOAK_RESOURCE:activiti}
keycloak.ssl-required=${ACT_KEYCLOAK_SSL_REQUIRED:none}
keycloak.public-client=${ACT_KEYCLOAK_CLIENT:true}
keycloak.security-constraints[0].authRoles[0]=${ACT_KEYCLOAK_ROLES:user}
keycloak.security-constraints[0].securityCollections[0].patterns[0]=${ACT_KEYCLOAK_PATTERNS:/v1/*}
keycloak.principal-attribute=${ACT_KEYCLOAK_PRINCIPAL_ATTRIBUTE:preferred-username}
activiti.keycloak.admin-client-app=${ACT_KEYCLOAK_CLIENT_APP:admin-cli}
activiti.keycloak.client-user=${ACT_KEYCLOAK_CLIENT_USER:client}
activiti.keycloak.client-password=${ACT_KEYCLOAK_CLIENT_PASSWORD:client}
spring.rabbitmq.host=${ACT_RABBITMQ_HOST:rabbitmq}
eureka.client.serviceUrl.defaultZone=${ACT_EUREKA_URL:http://activiti-cloud-registry:8761/eureka/}
eureka.instance.hostname=${ACT_AUDIT_HOST:activiti-cloud-audit}
eureka.client.enabled=${ACT_AUDIT_EUREKA_CLIENT_ENABLED:true}
org.activiti.cloud.examples

Activiti

Versions

Version
7-201802-EA