Skip to content

Instantly share code, notes, and snippets.

View vzickner's full-sized avatar

Valentin Zickner vzickner

View GitHub Profile
@vzickner
vzickner / manifest.yml
Last active June 11, 2018 14:32
Running Flowable on Cloud Foundry
defaults: &defaults
memory: 1G
instances: 1
services:
- flowable-db
env:
FLOWABLE_COMMON_APP_IDM-URL: https://flowable.cfapps.io/flowable-idm
FLOWABLE_COMMON_APP_IDM-REDIRECT-URL: https://flowable.cfapps.io/flowable-idm
FLOWABLE_COMMON_APP_IDM-ADMIN.USER: admin
FLOWABLE_COMMON_APP_IDM-ADMIN.PASSWORD: test
@vzickner
vzickner / manifest.yml
Created June 11, 2018 14:38
Deploy Flowable IDM
applications:
- name: flowable-idm
path: flowable-idm.war
memory: 1G
instances: 1
routes:
- route: flowable-idm.cfapps.io
@vzickner
vzickner / manifest.yml
Created June 11, 2018 14:39
Add database to Flowable IDM
applications:
- name: flowable-idm
path: flowable-idm.war
memory: 1G
instances: 1
routes:
- route: flowable-idm.cfapps.io
services:
- flowable-db
@vzickner
vzickner / manifest.yml
Created June 11, 2018 14:39
Necessary environment variables for Flowable Applications
env:
FLOWABLE_COMMON_APP_IDM-URL: https://flowable.cfapps.io/flowable-idm
FLOWABLE_COMMON_APP_IDM-REDIRECT-URL: https://flowable.cfapps.io/flowable-idm
FLOWABLE_COMMON_APP_IDM-ADMIN.USER: admin
FLOWABLE_COMMON_APP_IDM-ADMIN.PASSWORD: test
FLOWABLE_ADMIN_APP_SERVER-CONFIG_PROCESS_SERVER-ADDRESS: https://flowable.cfapps.io
FLOWABLE_ADMIN_APP_SERVER-CONFIG_PROCESS_PORT: 443
FLOWABLE_ADMIN_APP_SERVER-CONFIG_PROCESS_CONTEXT-ROOT: flowable-task
FLOWABLE_ADMIN_APP_SERVER-CONFIG_PROCESS_REST-ROOT: process-api
FLOWABLE_ADMIN_APP_SERVER-CONFIG_CMMN_SERVER-ADDRESS: https://flowable.cfapps.io
@vzickner
vzickner / manifest.yml
Created June 11, 2018 14:40
Defaults section for combined deployment of Flowable Applications
defaults: &defaults
memory: 1G
instances: 1
services:
- flowable-db
env:
FLOWABLE_COMMON_APP_IDM-URL: https://flowable.cfapps.io/flowable-idm
FLOWABLE_COMMON_APP_IDM-REDIRECT-URL: https://flowable.cfapps.io/flowable-idm
FLOWABLE_COMMON_APP_IDM-ADMIN.USER: admin
FLOWABLE_COMMON_APP_IDM-ADMIN.PASSWORD: test
@vzickner
vzickner / manifest.yml
Created June 11, 2018 14:41
How to use the defaults section to deploy Flowable IDM
applications:
- name: flowable-idm
path: flowable-idm.war
routes:
- route: flowable.cfapps.io/flowable-idm
<<: *defaults
package com.example.demo;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.producer.Producer;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.common.serialization.StringDeserializer;
import org.apache.kafka.common.serialization.StringSerializer;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;

Keybase proof

I hereby claim:

  • I am vzickner on github.
  • I am valentinz (https://keybase.io/valentinz) on keybase.
  • I have a public key whose fingerprint is 5BF1 A20F 25A5 4B9E A56C 161F 50B3 4798 888A 5B3E

To claim this, I am signing this object: