Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enchancement - Marathon content #401

Open
mbettan opened this issue Nov 1, 2015 · 0 comments
Open

Enchancement - Marathon content #401

mbettan opened this issue Nov 1, 2015 · 0 comments

Comments

@mbettan
Copy link

mbettan commented Nov 1, 2015

Hello,

Marathon operations (like send_create_app_req) required a body parameter passed (json format like sample-marathon-app.json).

It would be much better for CloudSlang users to create this body on the fly an take inputs in parameters like id, cpu, mem, instances, ... Otherwise, the only value provided is the URL pre-created for the CloudSlang users and there is no value from this operation compared to directly using rest api operation.

Here an example

operation:
  name: send_create_app_req
  inputs:
    - marathon_host
    - marathon_port:
        default: "'8080'"
        required: false
    - body
    - url:
        default: "'http://'+ marathon_host + ':' + marathon_port +'/v2/apps'"
        overridable: false

Instead of pass-through body, we should take inputs and build this body inside the operation, but more valuable for CloudSlang users.

Best Regards,
Michaël B.

@oritstone oritstone added this to the 0.9 milestone Nov 2, 2015
@meshipeer meshipeer modified the milestones: 1.0, 0.9.60 May 26, 2016
@meshipeer meshipeer modified the milestones: Backlog, 1.0 Aug 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants