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

multiapps usage from java #75

Open
eternasparta opened this issue Aug 2, 2019 · 1 comment
Open

multiapps usage from java #75

eternasparta opened this issue Aug 2, 2019 · 1 comment

Comments

@eternasparta
Copy link

Description

I have a maven java project and I'm using https://github.com/cloudfoundry/cf-java-client to interact with my SCP Cloud foundry subaccount.

Is it possible to use the java client to deploy a mtar?

I know how to do it from command line using this plugin, but I'd like to integrate it into a java program. Is it possible (maybe a java version of the plugin)?

Your environment

  • MultiApps CF CLI Plugin version - 2.1.0
  • which CF vendor is used - SAP

Steps to reproduce

No info required it's not a bug :)

Additional information

@ddonchev
Copy link
Contributor

Hi @eternasparta & thanks for the patience with this reply.
At the moment, there is no java library for consuming the rest api. There is interest for orchestration of certain endpoints by a partnering service written in java, but it's future is unclear.
The API definition we maintain is found at swaggerhub: https://app.swaggerhub.com/apis/SAP53/mtarest/1.0.0
If you want to see a live client in action, use the DEBUG env variable with the cf cli plugin ( 'DEBUG=1 cf deploy ...') This will make the client dump all requests & responses to stdout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants