Git Product home page Git Product logo

flogo-services's Introduction

Flogo Services

Flogo services module consists of two Services

State Service

The Flogo State Service is a service for managing the state of process flows executed on Flogo Engine. This service's primary job is to store process (incremental and full) state for flows that are executed on an engine. This service will also facilitate front-end introspection and debugging of process flows.

Flow Service

The Flogo Process Service is a service for managing process definitions that are to be executed by the Flogo Engine. This service's primary job is to store process definitions designed in the front-end and provide those definitions to a Flogo Engine on demand.

Dependencies

The services just depend on redis server. You can start redis server from docker or anyway you like

docker run -p 6379:6379 --name flogo-redis -d redis

Building the services

The State service and Flow service are both write by Golang, so please make sure you have installed Golang on your machine

  • Install gvt tool
go get -u github.com/FiloSottile/gvt
  • Clone flogo-services code from github to GOPATH
cd GOPATH/src/github.com/TIBCOSoftware/
#Please create directory if it is not exist
git clone https://github.com/TIBCOSoftware/flogo-services.git
  • Restore dependencies
cd flogo-services/flow-store
gvt restore
cd ../flow-state
gvt restore
#gvt fetch all dependencies and put it into vendor directory
  • Both state and flow service now are compilable go project
  • Build those 2 services
cd flogo-services/flow-store
go test ./...
go install ./...
cd flogo-services/flow-state
go test ./...
go install ./...

Running the Services

  • Under GOPATH/bin folder where generated 2 executable file, fgstore and fgstate
  • Start flow and state server
cd GOPATH/bin
./fgstore -p 9090 -addr localhost:6379
./fgstate -p 9190 -addr localhost:6379

#-p means the port of flow or state service. -addr means redis address

License

flogo-services is licensed under a BSD-type license. See TIBCO LICENSE.txt for license text.

flogo-services's People

Contributors

lixingwang avatar pdhar-tibco avatar mr-tibco avatar awagle avatar torresashjian avatar rkozhikk avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.