Skip to content

Conversation

nebhale
Copy link

@nebhale nebhale commented Aug 12, 2025

Previously whenever a request was made to deploy a service, only the target (space) could be changed on a per-request basis. This change adds support for configuring the organization on a per-request basis as well.

This change adds a new DeploymentProperty called 'organization' as a peer to 'target'. CloudFoundryOperationsUtils is updated to only have two ways to configure the CloudFoundryOperations, both of which encapsulate the setting both the org and space. The ability to change only the space is removed. The rest of the change is updating and simplifying the rest of the code to remove the branches were the space was optionally set in favor of always using the OperationsUtils, passing in the properties where the optionality is centralized.

Previously whenever a request was made to deploy a service, only the
target (space) could be changed on a per-request basis.  This change
adds support for configuring the organization on a per-request basis as
well.

This change adds a new DeploymentProperty called 'organization' as a
peer to 'target'.  CloudFoundryOperationsUtils is updated to only have
two ways to configure the CloudFoundryOperations, both of which
encapsulation of setting both the org and space.  The ability to change
only the space is removed.  The rest of the change is updating and
simplifying the rest of the code to remove the branches were the space
was optionally set in favor of always using the OperationsUtils passing
in the properties where the optionality is centralized.

Signed-off-by: Ben Hale <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant