Skip to content

5.x.x app features#1351

Open
aegliv wants to merge 2 commits intocloudfoundry:5.x.xfrom
aegliv:5.x.x-app-features
Open

5.x.x app features#1351
aegliv wants to merge 2 commits intocloudfoundry:5.x.xfrom
aegliv:5.x.x-app-features

Conversation

@aegliv
Copy link
Copy Markdown

@aegliv aegliv commented Apr 13, 2026

Implements #1263

@aegliv
Copy link
Copy Markdown
Author

aegliv commented Apr 16, 2026

@Kehrlann ping

@Kehrlann
Copy link
Copy Markdown
Contributor

(I'm currently off sick, will run the integration test next week.)

import org.cloudfoundry.operations.applications.TaskState;
import org.cloudfoundry.operations.applications.TerminateApplicationTaskRequest;
import org.cloudfoundry.operations.applications.UnsetEnvironmentVariableApplicationRequest;
import org.cloudfoundry.operations.applications.*;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The imports are broken, please revert to explicit imports and just add what you need.

Comment on lines +568 to +573
this.cloudFoundryOperations
.applications()
.getApplicationManifest(
GetApplicationManifestRequest.builder()
.name(applicationName)
.build()))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not return ApplicationFeatures (it's null), because this getApplicationManifest is a synthetic manifest build by CFJC itself (source)

You want to either:

  1. Update operations to get the app features and put them in the manifest
  2. Update the test to use the v3 features API to list features and check the result.

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.

2 participants