Activiti Cloud :: Audit MongoDB


License

License

Categories

Categories

MongoDB Data Databases
GroupId

GroupId

org.activiti.cloud.examples
ArtifactId

ArtifactId

activiti-cloud-audit-mongodb
Last Version

Last Version

7-201802-EA
Release Date

Release Date

Type

Type

jar
Description

Description

Activiti Cloud :: Audit MongoDB
Activiti Cloud :: Audit MongoDB
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-mongodb

Download activiti-cloud-audit-mongodb

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.activiti.cloud : activiti-cloud-starter-audit-mongo 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 (MongoDB)

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

Activiti Cloud Audit Service MongoDB Implementation. This service uses MongoDB Database to store events emitted by Runtime Bundles as they come in as JSON Documents.

As all our services, this module was build using the activiti-cloud-starter-audit-mongodb 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-mongodb.git cd activiti-cloud-audit-mongodb/ mvn clean install spring-boot:run

Docker:

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

Environemnt 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:/*}
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}
spring.data.mongodb.host=${ACT_AUDIT_MONGO_HOST:mongodb}
spring.data.mongodb.port=${ACT_AUDIT_MONGO_PORT:27017}
spring.data.mongodb.database=${ACT_AUDIT_MONGO_DB:activitidb}
org.activiti.cloud.examples

Activiti

Versions

Version
7-201802-EA