Comments (13)
@mbettan could you specify here what do you mean by API?
CloudSlang already has an API in io.cloudslang.lang.api package called Slang when embedding CS as a library. It has methods like compiling & running flows, working with events & metadata. Upper modules like CLI, builder, a webapp, other apps that integrate CS are supposed to communicate through this API.
also, if you are interested, here is an example app that integrates CS and exposes a REST API..
from score.
All customers are looking for executing CSlang workflows from API instead of using CLI for executing workflows. It seems that's already available, why it's not documented officially ? Which operations are available today?
from score.
doc on how to embed CS as a library (api and stuff): http://cloudslang-docs.readthedocs.org/en/v0.9/developer_cloudslang.html
you can execute any flow / op using CS API just like in the case of the CLI
if you have enhancement ideas on the subjects, let us know
from score.
It's only JAVA API available ? We don't have a standard REST API like OO?
from score.
for a RESTful API you can use the example app @Bonczidai linked above, if something is missing/outdated there feel free to open a PR/issue in this project, I know there were plans for making an API, but don't know when it is going to happen.
from score.
Yes - That's why I opened this issue to add this to BackLog
All customers are requiring this, JAVA API is a good start, but really need a RESTful API
Can you add this as ER to backlog?
from score.
opened the issue in cloud-slang repo and added to the backlog, closing this one
from score.
Do you have details on the customer requirements around this REST API?
What do they want to do: Run management, Scheduling, Promotion, Edit flows etc.?
@mbettan one way to achieve some of the aboves today is to use OO 10.50 REST APIs can be used to trigger/monitor/schedule CloudSlang flows in the same way you do for the OO flows.
from score.
Yes - All prospects are requiring an API for running workflows at least. I would say that edit flows, promotion, scheduling are optionnal at this stage. Basic workflows run from outside is a must have
Yes - I now that OO Enterprise can be the API for CloudSlang, but remember two things
- OO 10.50 doesn't support our current CloudSlang release with new YAML langage
- All CloudSlang customers or prospects are not OO Enterprise users
This RESTFul API is a must have today
from score.
Yeap. Another option would be to use/demo OO 10.50 Community Edition (free) to run, schedule etc CloudSlang flows. I got your point that the users may be different than OO ones.
from score.
You cannot explain to Opensource users they have to use a proprietary solution for getting a Restful API.
Some customers told me that the good way could be also to leverage Docker API to start a docker image with CloudSlang CLI, as workaround.
from score.
there is a cloudslang image, how does it solve the API issue though?
from score.
Docker Engine provides an API to start a Docker container. Then, you can query Docker APi to start Docker CloudSlang Image, which contains your workflows and will be executed at start-up
It' my customer idea, not mine. Not sure it's a good idea
from score.
Related Issues (20)
- EventBusImpl methods should be mutually exclusive
- Remove unused DB connectors
- automation to MC releases HOT 1
- Update the corresponding unit test with this case:
- Central worker recovery should not be triggered because of unacknowledged messages HOT 4
- Jenkins release fails
- Check if PythonRuntimeService exec, eval method works properly HOT 1
- Reduce code climate issues
- Update sl syntax in test files
- Not handling Exceptions properly HOT 1
- Acquire/release lock and semaphore
- worker HOT 6
- Rapid running of busyWorkersService HOT 9
- Fail to compile flow which uses subflows located in the same folder HOT 1
- Update score version in master to be 0.3x
- Add a flag to turn GC hack off
- Adding worker more than once to the same workers group causes database error
- WorkerExecutionMonitorServiceImpl messages contain several typos
- privacy issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from score.