API to create network policy between application is different space and organization

Open
#1,041 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api, backend

Research direction

Start by locating the Java client APIs corresponding to the CLI command cf add-network-policy and review any related tests or network-policy entry points. The issue provides no file or test names, so first determine how application, space, and organization targets are represented. Done means an API can create the cross-space and cross-organization policy with protocol and port options shown in the example.

Written by the indexing model from the issue text.

Description

enhancement operations triaged

There is no API similar to CLI to create network policy between application across space and organization.

Below is an example of the CLI to do the same:
cf add-network-policy TestApplication --destination-app Gateway-test -s A.02_Test -o CloudIoT --protocol tcp --port 8080

This request is being opened after discussion on the java-client slack channel.

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

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.

More from cloudfoundry/cf-java-client

All issues in cloudfoundry/cf-java-client

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.