Giter VIP home page Giter VIP logo

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.

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

  • Clone services code from github
cd project-flogo/services
#Please create directory if it is not exist
git clone https://github.com/project-flogo/services.git
  • Build those 2 services
cd services/flow-store
go test ./...
go build
cd services/flow-state
go test ./...
go build

Running the Services

  • Under each service where generated 2 executable file, flow-store and flow-state
  • Start flow and state server
cd GOPATH/bin
./flow-store -p 9090
./flow-state -p 9190

#-p means the port of flow or state service

License

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

services's People

Contributors

abhide-tibco avatar abhijitwakchaure avatar awakchau-tibco avatar lixingwang avatar mbhagwat-tibco avatar milanbhagwat avatar skothari-tibco avatar vijaynalawade avatar vnalawad-tibco avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

services's Issues

Error while syncing engine config for flow test runner

I have the following engine configuration:

{
  "type": "flogo:engine",
  "imports": [
    "github.com/project-flogo/services/flow-state/store/mem@master"
  ],
  "actionSettings": {
    "github.com/project-flogo/flow": {
      "stepRecordingMode": "full",
      "snapshotRecordingMode": "on",
      "enableExternalFlows": true
    }
  },
  "services": [
    {
      "name": "flowTester",
      "ref": "github.com/project-flogo/flow/tester",
      "enabled": true,
      "settings": {
        "host": "localhost",
        "port": "8181"
      }
    },
    {
      "name": "flowStateRecorder",
      "ref": "github.com/project-flogo/services/flow-state/client/local",
      "enabled": true,
      "settings": {
      }
    },
    {
      "name": "flowStateProvider",
      "ref": "github.com/project-flogo/services/flow-state/server/rest",
      "enabled": true,
      "settings": {
        "host": "localhost",
        "port": "8080"
      }
    }
  ]
}

When trying to build my project with flogo build --sync I get the following error:

C:\Users\apandura\Downloads\Testing\MyTestApp\anand>flogo  build --sync
Error in installing 'github.com/project-flogo/services/flow-state/store/mem master'
Error synchronzing imports: go: finding github.com master
go: finding github.com/project-flogo/services/flow-state/store master
go: finding github.com/project-flogo/services/flow-state/store/mem master
go: finding github.com/project-flogo/services master
go: finding github.com/project-flogo/services/flow-state master
go: finding github.com/project-flogo master
# github.com/project-flogo/services/flow-state/store/mem
..\..\..\..\..\Desktop\AnandDocuments\gotest\pkg\mod\github.com\project-flogo\services\[email protected]\store\mem\step.go:39:69: sc.f undefined (type *stepContainer has no field or method f)

I tried with github.com/project-flogo/services/flow-state/store/mem under my engine imports. I get the following error:

C:\Users\apandura\Downloads\Testing\MyTestApp\anand>flogo  build --sync
Error in installing 'github.com/project-flogo/services/flow-state/store/mem'
Error synchronzing imports: go: finding github.com/project-flogo/services latest
go: finding github.com/project-flogo/services/flow-state latest
# github.com/project-flogo/services/flow-state/store/mem
..\..\..\..\..\Desktop\AnandDocuments\gotest\pkg\mod\github.com\project-flogo\services\[email protected]\store\mem\step.go:39:69: sc.f undefined (type *stepContainer has no field or method f)

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.