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

Update CAPI v2 docs links to new subdomain #1235

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ Lastly before running the tests, it is strongly recommended that you take a snap
## License
This project is released under version 2.0 of the [Apache License][l].

[a]: https://apidocs.cloudfoundry.org/latest-release/
[a]: https://apidocs.cloudfoundry.org/
[c]: https://github.com/cloudfoundry/cli
[e]: https://github.com/cloudfoundry/java-client/issues
[g]: https://gradle.org
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public interface ApplicationsV2 {

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/associate_route_with_the_app.html">Associate Route with the Application</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/associate_route_with_the_app.html">Associate Route with the Application</a> request
*
* @param request the Associate Route with the Application request
* @return the response from the Associate Route with the Application request
Expand All @@ -34,64 +34,64 @@ Mono<AssociateApplicationRouteResponse> associateRoute(
AssociateApplicationRouteRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/copy_the_app_bits_for_an_app.html">Copy the app bits for an Application</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/copy_the_app_bits_for_an_app.html">Copy the app bits for an Application</a> request
*
* @param request the Copy Application request
* @return the response from the Copy Application request
*/
Mono<CopyApplicationResponse> copy(CopyApplicationRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/creating_an_app.html">Creating an App</a> request and the <a
* href="https://apidocs.cloudfoundry.org/latest-release/apps/creating_a_docker_app_%28experimental%29.html">Creating a Docker App</a> request.
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/creating_an_app.html">Creating an App</a> request and the <a
* href="https://v2-apidocs.cloudfoundry.org/apps/creating_a_docker_app_%28experimental%29.html">Creating a Docker App</a> request.
*
* @param request the Create Application request
* @return the response from the Create Application request
*/
Mono<CreateApplicationResponse> create(CreateApplicationRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/delete_a_particular_app.html">Delete the App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/delete_a_particular_app.html">Delete the App</a> request
*
* @param request the Delete Application request
* @return the response from the Delete Application request
*/
Mono<Void> delete(DeleteApplicationRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/downloads_the_bits_for_an_app.html">Downloads the bits for an App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/downloads_the_bits_for_an_app.html">Downloads the bits for an App</a> request
*
* @param request the Download Application request
* @return the response from the Download Application request
*/
Flux<byte[]> download(DownloadApplicationRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/downloads_the_staged_droplet_for_an_app.html">Downloads the staged droplet for an App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/downloads_the_staged_droplet_for_an_app.html">Downloads the staged droplet for an App</a> request
*
* @param request the Download Droplet request
* @return the response from the Download Droplet request
*/
Flux<byte[]> downloadDroplet(DownloadApplicationDropletRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/get_the_env_for_an_app.html">Get the env for an App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/get_the_env_for_an_app.html">Get the env for an App</a> request
*
* @param request the Get Application Environment request
* @return the response from the Get Application Environment request
*/
Mono<ApplicationEnvironmentResponse> environment(ApplicationEnvironmentRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/retrieve_a_particular_app.html">Retrieve a Particular App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/retrieve_a_particular_app.html">Retrieve a Particular App</a> request
*
* @param request the Get Application request
* @return the response from the Get Application request
*/
Mono<GetApplicationResponse> get(GetApplicationRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/retrieving_permissions_on_a_app.html">Retrieve Permissions on a Particular App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/retrieving_permissions_on_a_app.html">Retrieve Permissions on a Particular App</a> request
*
* @param request the Get Application Permissions request
* @return the response from the Get Application Permissions request
Expand All @@ -100,31 +100,31 @@ Mono<GetApplicationPermissionsResponse> getPermissions(
GetApplicationPermissionsRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/get_the_instance_information_for_a_started_app.html">Get the instance information for a STARTED App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/get_the_instance_information_for_a_started_app.html">Get the instance information for a STARTED App</a> request
*
* @param request the Get Instance Information request
* @return the response from the Get Instance Information request
*/
Mono<ApplicationInstancesResponse> instances(ApplicationInstancesRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/list_all_apps.html">List all Apps</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/list_all_apps.html">List all Apps</a> request
*
* @param request the List Applications request
* @return the response from the List Applications request
*/
Mono<ListApplicationsResponse> list(ListApplicationsRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/list_all_routes_for_the_app.html">List all Routes for the Application</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/list_all_routes_for_the_app.html">List all Routes for the Application</a> request
*
* @param request the List all Routes for the Application request
* @return the response from the List all Routes for the Application request
*/
Mono<ListApplicationRoutesResponse> listRoutes(ListApplicationRoutesRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/list_all_service_bindings_for_the_app.html">List all Service Bindings for the App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/list_all_service_bindings_for_the_app.html">List all Service Bindings for the App</a> request
*
* @param request the List Service Bindings request
* @return the response from the List Service Bindings request
Expand All @@ -133,71 +133,71 @@ Mono<ListApplicationServiceBindingsResponse> listServiceBindings(
ListApplicationServiceBindingsRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/remove_route_from_the_app.html">Remove Route from the Application</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/remove_route_from_the_app.html">Remove Route from the Application</a> request
*
* @param request the Remove Route from the Application request
* @return the response from the Remove Route from the Application request
*/
Mono<Void> removeRoute(RemoveApplicationRouteRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/remove_service_binding_from_the_app.html">Remove Service Binding from the Application</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/remove_service_binding_from_the_app.html">Remove Service Binding from the Application</a> request
*
* @param request the Remove a Service Binding from an Application request
* @return the response from the Remove a Service Binding from an Application request
*/
Mono<Void> removeServiceBinding(RemoveApplicationServiceBindingRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/restage_an_app.html">Restage an App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/restage_an_app.html">Restage an App</a> request
*
* @param request the Restage an Application request
* @return the response from the Restage an Application request
*/
Mono<RestageApplicationResponse> restage(RestageApplicationRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/get_detailed_stats_for_a_started_app.html">Get detailed stats for a STARTED App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/get_detailed_stats_for_a_started_app.html">Get detailed stats for a STARTED App</a> request
*
* @param request the Get Statistics request
* @return the response from the Get Statistics request
*/
Mono<ApplicationStatisticsResponse> statistics(ApplicationStatisticsRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/get_app_summary.html">Get Application Summary</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/get_app_summary.html">Get Application Summary</a> request
*
* @param request the Get Application Summary request
* @return the response from the Get Application Summary request
*/
Mono<SummaryApplicationResponse> summary(SummaryApplicationRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/terminate_the_running_app_instance_at_the_given_index.html">Terminate Application Instance</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/terminate_the_running_app_instance_at_the_given_index.html">Terminate Application Instance</a> request
*
* @param request the Terminate Application Instance request
* @return the response form the Terminate Application Instance request
*/
Mono<Void> terminateInstance(TerminateApplicationInstanceRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/updating_an_app.html">Updating an App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/updating_an_app.html">Updating an App</a> request
*
* @param request the Update Application request
* @return the response from the Update Application request
*/
Mono<UpdateApplicationResponse> update(UpdateApplicationRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/uploads_the_bits_for_an_app.html">Upload the bits for an App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/uploads_the_bits_for_an_app.html">Upload the bits for an App</a> request
*
* @param request the Upload Application request
* @return the response from the Upload Application request
*/
Mono<UploadApplicationResponse> upload(UploadApplicationRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/apps/uploads_the_droplet_for_an_app.html">Upload the droplet for an App</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/apps/uploads_the_droplet_for_an_app.html">Upload the droplet for an App</a> request
*
* @param request the Upload Droplet request
* @return the response from the Upload Droplet request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@
public interface ApplicationUsageEvents {

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/app_usage_events/retrieve_a_particular_app_usage_event.html">Get an Application Usage Event</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/app_usage_events/retrieve_a_particular_app_usage_event.html">Get an Application Usage Event</a> request
*
* @param request the Get Application Usage Event request
* @return the response from the Get all Application Usage Event request
*/
Mono<GetApplicationUsageEventResponse> get(GetApplicationUsageEventRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/app_usage_events/list_all_app_usage_events.html">List all Application Usage Events</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/app_usage_events/list_all_app_usage_events.html">List all Application Usage Events</a> request
*
* @param request the List all Application Usage Events request
* @return the response from the List all Application Usage Events request
*/
Mono<ListApplicationUsageEventsResponse> list(ListApplicationUsageEventsRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/app_usage_events/purge_and_reseed_app_usage_events.html">Purge and Reseed Application Usage Events</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/app_usage_events/purge_and_reseed_app_usage_events.html">Purge and Reseed Application Usage Events</a> request
*
* @param request the Purge and Reseed Application Usage Events
* @return the response from the Purge and Reseed Application Usage Events request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
public interface Blobstores {

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/blobstores/delete_all_blobs_in_the_buildpack_cache_blobstore.html">Delete Buildpack Caches</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/blobstores/delete_all_blobs_in_the_buildpack_cache_blobstore.html">Delete Buildpack Caches</a> request
*
* @param request the Delete Buildpack Caches request
* @return the response from the Delete Buildpack Caches request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,49 +24,49 @@
public interface Buildpacks {

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/buildpacks/creates_an_admin_buildpack.html">Create the Buildpack</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/buildpacks/creates_an_admin_buildpack.html">Create the Buildpack</a> request
*
* @param request the Create Buildpack request
* @return the response from the Create Buildpack request
*/
Mono<CreateBuildpackResponse> create(CreateBuildpackRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/buildpacks/delete_a_particular_buildpack.html">Delete the Buildpack</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/buildpacks/delete_a_particular_buildpack.html">Delete the Buildpack</a> request
*
* @param request the Delete Buildpack request
* @return the response from the Delete Buildpack request
*/
Mono<DeleteBuildpackResponse> delete(DeleteBuildpackRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/buildpacks/retrieve_a_particular_buildpack.html">Retrieve a particular Buildpack</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/buildpacks/retrieve_a_particular_buildpack.html">Retrieve a particular Buildpack</a> request
*
* @param request the Get Buildpack request
* @return the response from the Get Buildpack request
*/
Mono<GetBuildpackResponse> get(GetBuildpackRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/buildpacks/list_all_buildpacks.html">List all Buildpacks</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/buildpacks/list_all_buildpacks.html">List all Buildpacks</a> request
*
* @param request the List all Buildpacks request
* @return the response from the List all Buildpacks request
*/
Mono<ListBuildpacksResponse> list(ListBuildpacksRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/buildpacks/change_the_position_of_a_buildpack.html">Change the position of a Buildpack</a>,
* <a href="https://apidocs.cloudfoundry.org/latest-release/buildpacks/enable_or_disable_a_buildpack.html">Enable or disable a Buildpack</a>, and
* <a href="https://apidocs.cloudfoundry.org/latest-release/buildpacks/lock_or_unlock_a_buildpack.html">Lock or unlock a Buildpack</a> requests
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/buildpacks/change_the_position_of_a_buildpack.html">Change the position of a Buildpack</a>,
* <a href="https://v2-apidocs.cloudfoundry.org/buildpacks/enable_or_disable_a_buildpack.html">Enable or disable a Buildpack</a>, and
* <a href="https://v2-apidocs.cloudfoundry.org/buildpacks/lock_or_unlock_a_buildpack.html">Lock or unlock a Buildpack</a> requests
*
* @param request the Update Buildpack request
* @return the response from the Update Buildpack request
*/
Mono<UpdateBuildpackResponse> update(UpdateBuildpackRequest request);

/**
* Makes the <a href="https://apidocs.cloudfoundry.org/latest-release/buildpacks/upload_the_bits_for_an_admin_buildpack.html">Upload Buildpack</a> request
* Makes the <a href="https://v2-apidocs.cloudfoundry.org/buildpacks/upload_the_bits_for_an_admin_buildpack.html">Upload Buildpack</a> request
*
* @param request the Upload Buildpack request
* @return the response from the Upload Buildpack request
Expand Down
Loading
Loading