public interface AppRegistryOperations
Modifier and Type | Method and Description |
---|---|
org.springframework.hateoas.PagedModel<AppRegistrationResource> |
importFromResource(String uri,
boolean force)
Register all applications listed in a properties file.
|
DetailedAppRegistrationResource |
info(String name,
ApplicationType type,
boolean exhaustive)
Retrieve information about an application registration.
|
DetailedAppRegistrationResource |
info(String name,
ApplicationType type,
String version,
boolean exhaustive)
Retrieve information about an application registration.
|
org.springframework.hateoas.PagedModel<AppRegistrationResource> |
list()
Return a list of all application registrations.
|
org.springframework.hateoas.PagedModel<AppRegistrationResource> |
list(ApplicationType type)
Return a list of all application registrations for the given
ApplicationType . |
void |
makeDefault(String name,
ApplicationType type,
String version)
Set application version to default
|
AppRegistrationResource |
register(String name,
ApplicationType type,
String uri,
String metadataUri,
org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion,
boolean force)
Register an application name, type, and boot version with its Maven coordinates.
|
AppRegistrationResource |
register(String name,
ApplicationType type,
String uri,
String metadataUri,
boolean force)
Deprecated.
|
AppRegistrationResource |
register(String name,
ApplicationType type,
String version,
String uri,
String metadataUri,
org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion,
boolean force)
Register an application name, type, boot version, and version with its Maven coordinates.
|
AppRegistrationResource |
register(String name,
ApplicationType type,
String version,
String uri,
String metadataUri,
boolean force)
Deprecated.
|
org.springframework.hateoas.PagedModel<AppRegistrationResource> |
registerAll(Properties apps,
boolean force)
Register all applications provided as key/value pairs.
|
void |
unregister(String name,
ApplicationType type)
Unregister an application name and type.
|
void |
unregister(String name,
ApplicationType type,
String version)
Unregister an application by name type and version
|
void |
unregisterAll()
Unregister all applications.
|
org.springframework.hateoas.PagedModel<AppRegistrationResource> list()
org.springframework.hateoas.PagedModel<AppRegistrationResource> list(ApplicationType type)
ApplicationType
.type
- application type for which to return a list of registrationsDetailedAppRegistrationResource info(String name, ApplicationType type, boolean exhaustive)
name
- name of applicationtype
- application typeexhaustive
- return all metadata, including common Spring Boot propertiesDetailedAppRegistrationResource info(String name, ApplicationType type, String version, boolean exhaustive)
name
- name of applicationtype
- application typeversion
- application versionexhaustive
- return all metadata, including common Spring Boot properties@Deprecated AppRegistrationResource register(String name, ApplicationType type, String uri, String metadataUri, boolean force)
register(String, ApplicationType, String, String, AppBootSchemaVersion, boolean)
name
- application nametype
- application typeuri
- URI for the application artifactmetadataUri
- URI for the application metadata artifactforce
- if true
, overwrites a pre-existing registrationAppRegistrationResource register(String name, ApplicationType type, String uri, String metadataUri, org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion, boolean force)
name
- application nametype
- application typeuri
- URI for the application artifactmetadataUri
- URI for the application metadata artifactbootVersion
- application boot versionforce
- if true
, overwrites a pre-existing registration@Deprecated AppRegistrationResource register(String name, ApplicationType type, String version, String uri, String metadataUri, boolean force)
register(String, ApplicationType, String, String, String, AppBootSchemaVersion, boolean)
name
- application nametype
- application typeversion
- application versionuri
- URI for the application artifactmetadataUri
- URI for the application metadata artifactforce
- if true
, overwrites a pre-existing registrationAppRegistrationResource register(String name, ApplicationType type, String version, String uri, String metadataUri, org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion, boolean force)
name
- application nametype
- application typeversion
- application versionuri
- URI for the application artifactmetadataUri
- URI for the application metadata artifactbootVersion
- application boot versionforce
- if true
, overwrites a pre-existing registrationvoid unregister(String name, ApplicationType type)
name
- application nametype
- application typevoid unregister(String name, ApplicationType type, String version)
name
- application nametype
- application typeversion
- application versionvoid unregisterAll()
void makeDefault(String name, ApplicationType type, String version)
name
- application nametype
- application typeversion
- application versionorg.springframework.hateoas.PagedModel<AppRegistrationResource> importFromResource(String uri, boolean force)
uri
- URI for the properties fileforce
- if true
, overwrites any pre-existing registrationsorg.springframework.hateoas.PagedModel<AppRegistrationResource> registerAll(Properties apps, boolean force)
apps
- the apps as key/value pairs where key is "type.name" and value is a URIforce
- if true
, overwrites any pre-existing registrationsCopyright © 2024 Pivotal Software, Inc.. All rights reserved.