Skip to content

Instantly share code, notes, and snippets.

Avatar

Tihomir Surdilovic tsurdilo

View GitHub Profile
View gist:ab65d49e3c6a9e679c6f2501bbdf635f
{
"id": "flow",
"name": "Workflow",
"version": "1.0",
"events": [
{
"name": "Query",
"type": "query",
"source": "commerce/query"
}
View gist:e629ef8713ca8f27873df70093d050c9
id: applicantrequest
version: '1.0'
name: Applicant Request Decision Workflow
description: Determine if applicant request is valid
functions: features/applicantrequestfunctions.json
states:
- name: CheckApplication
type: switch
start:
kind: default
View gist:3d754325aa2d368ffbd637370c9138cc
id: testworkflow
name: Test Workflow
version: '1.0'
functions:
- name: getCurrentTime
operation: http://us-central-workflowsample.cloudfunctions.net/api.yml#datetime
- name: readWikipedia
operation: https://en.wikipedia.org/w/api.json#readLatest
states:
- name: GetTodaysWikipediaArticles
View gist:79c81ed3dfd26ddcf1e366595a5ca8b8
{
"id": "integrationfunctionworkflow",
"name": "Integration Function Workflow",
"version": "1.0",
"functions": [
{
"name": "integrationfunction",
"type": "integration",
"metadata": {
"endpoint": "direct:testroutename"
View gist:51d153c811bcfcd04110d3b498c7fcf3
CNCF Serverless WG: CloudEvents and Serverless Workflow
Speakers: Doug Davis and Tihomir Surdilovic
In this session the Serverless WG will update the community on the CloudEvents and Serverless Workflow specifications.
In this talk we will look into the importance of using workflows in event-driven, distributed applications.
We will look at the specifics of the Serverless Workflow specification and what benefits it brings you
for solving real-world business problems.
We will also present a demo showing off the Serverless Workflow declarative markup in action.
View gist:394cabb4e7e8b61e7548f141f389ed90
Well let's see :)
Bpmn2 is over 10 years old and let's look at its eco-system now.
Proprietary everything , tooling, engines (that don't work together), everyone does a different sub-set of the spec and even that they do differently.
As a user you pretty much have to pay (and you have to pay ALOT) to even get started with business automation with bpmn one way or another.
Not even going into the instant vendor-lock that you run into and the huge complexity that you have to overcome just to learn it.
Now let's take a look at Java for example (looking at the same amount of lets say 10 years) - free editors, free everything, professional tooling (again free) huge eco-system ..etc etc.
The bpmn2 communtiy as a whole just focuses on money it seems rather than allowing anyone to participate, but the funny thing is when you start learning programming as a kid, what do you use...workflows :)
View gist:96a925ad7f9e320dfaa365edbe3ff88c
{
"id": "prchecker",
"name": "Github PR Checker Workflow",
"version": "1.0",
"functions": [
{
"name": "AddLabels",
"type": "service",
"metadata": {
"interface": "org.kogito.examples.sw.github.workflow.GithubService",
View gist:85dc619e2fd018c0c1f5291ec5277837
{
"id": "myworkflow",
"name": "myworkflowname",
"version": "1.0",
"states": [
{
"name": "myswitchstate",
"type":"switch",
"start": {
"kind":"default"
View gist:09ee6f1a6eccfc2017cbb5fe77a58eb3
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.company</groupId>
<artifactId>business-application-service-2</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>business-application-service</name>
<parent>