cloudfoundry / cloudfoundry/cf-java-client

API for adding ports to PCF app

Open
#1,163 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question triaged
Dominant language
Java
Stars
334
Forks
319
PR merge metrics
No merged PRs in 30d

Description

Hi,

I would like to know if there is any API for adding new ports to an app. The curl command for this is as below-
cf8 curl /v2/apps/01fd1030-e03a-469c-b4ef-5f8e25cb8e6c -X PUT -d "{"ports": [8080,8082,8083,8084]}"

Is there an API available to perform the same operation? If yes, could you please share the details.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the Java client’s application API with the Cloud Foundry PUT operation at /v2/apps/{id} shown in the issue. No source file or test is named; done means determining whether port updates are exposed and, if not, specifying the required client API and its test coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.