Index
All Classes and Interfaces|All Packages
A
- apply(Project) - Method in class com.konfigyr.gradle.KonfigyrPlugin
- ArtifactMetadataTransform - Class in com.konfigyr.gradle
-
A Gradle
TransformActionthat processes each JAR on theruntimeClasspathand produces a self-describing output file containing thePropertyDescriptormetadata. - ArtifactMetadataTransform() - Constructor for class com.konfigyr.gradle.ArtifactMetadataTransform
- ArtifactoryService - Class in com.konfigyr.gradle
-
Gradle
BuildServicefor interacting with the Konfigyr Artifactory REST API. - ArtifactoryService() - Constructor for class com.konfigyr.gradle.ArtifactoryService
-
Creates a new
ArtifactoryServiceinstance.
C
- clientCredentials(Action<KonfigyrExtension.ClientCredentialsSpec>) - Method in class com.konfigyr.gradle.KonfigyrExtension
-
Configures
ClientCredentials, for the OAuth2client_credentialsgrant. - com.konfigyr.gradle - package com.konfigyr.gradle
- complete(String, String, ServiceRelease) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Completes the given
ServiceRelease, promoting it to the service's currentManifest. - createArtifactMetadata(Artifact, File) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Creates an
ArtifactMetadatainstances for the givenArtifactby loading the serialized configuration metadata from the givenFile. - CreateServiceReleaseTask - Class in com.konfigyr.gradle
-
Task that opens (or takes over) this service's current
ServiceRelease, uploads metadata for every candidate artifact the server reports asArtifactUploadStatus.UPLOAD_REQUIRED, then completes the release so it becomes the service's currentManifest. - CreateServiceReleaseTask() - Constructor for class com.konfigyr.gradle.CreateServiceReleaseTask
E
- execute() - Method in class com.konfigyr.gradle.ServiceReleaseArtifactUploadAction
G
- GenerateArtifactMetadataTask - Class in com.konfigyr.gradle
-
Task that scans this project's built JAR file archive for Spring Boot configuration metadata and, if found, writes it out as
ArtifactMetadatadescribing this project's artifact. - GenerateArtifactMetadataTask() - Constructor for class com.konfigyr.gradle.GenerateArtifactMetadataTask
- getArtifact() - Method in class com.konfigyr.gradle.ArtifactMetadataTransform
-
The location of the artifact file being transformed.
- getArtifacts() - Method in class com.konfigyr.gradle.ResolveServiceDependenciesTask
-
Collection that contains transformed artifact metadata from the
ArtifactMetadataTransform. - getClientId() - Method in class com.konfigyr.gradle.KonfigyrExtension.ClientCredentialsSpec
-
Specify the OAuth
client_idthat is used to get the OAuth access token. - getClientId() - Method in class com.konfigyr.gradle.KonfigyrExtension.TokenExchangeSpec
-
Specify the OAuth
client_idthat is used to get the OAuth access token. - getClientSecret() - Method in class com.konfigyr.gradle.KonfigyrExtension.ClientCredentialsSpec
-
Specify the OAuth
client_secretthat is used to get the OAuth access token. - getDependencies() - Method in class com.konfigyr.gradle.ArtifactMetadataTransform
-
The file collection containing the dependencies of the artifact being transformed.
- getDependencyDirectory() - Method in class com.konfigyr.gradle.CreateServiceReleaseTask
-
The directory where serialized dependency
ArtifactMetadatais located, written byResolveServiceDependenciesTask. - getDependencyDirectory() - Method in class com.konfigyr.gradle.ResolveServiceDependenciesTask
-
The output directory where serialized
ArtifactMetadatafor each dependency should be written. - getDependencyManifest() - Method in class com.konfigyr.gradle.CreateServiceReleaseTask
-
The manifest file containing the dependency artifact metadata file locations, written by
ResolveServiceDependenciesTask. - getDependencyManifest() - Method in class com.konfigyr.gradle.ResolveServiceDependenciesTask
-
The manifest file that should be written that contains all the processed dependency artifacts.
- getHost() - Method in class com.konfigyr.gradle.KonfigyrExtension
-
Host where the Konfigyr server is reachable, defaults to
https://api.konfigyr.com. - getMetadata() - Method in class com.konfigyr.gradle.GenerateArtifactMetadataTask
-
The file this project's
ArtifactMetadatais written to, ifGenerateArtifactMetadataTask.getProjectArchive()exposes Spring Boot configuration metadata. - getMetadata() - Method in class com.konfigyr.gradle.PublishArtifactMetadataTask
-
The file containing this project's own serialized
ArtifactMetadata, written byGenerateArtifactMetadataTask. - getName() - Method in class com.konfigyr.gradle.KonfigyrExtension.ServiceSpec
-
Specify the Konfigyr service name for which this plugin would upload the configuration metadata, defaults to the current project name.
- getNamespace() - Method in class com.konfigyr.gradle.CreateServiceReleaseTask
-
The Konfigyr namespace owning the service.
- getNamespace() - Method in class com.konfigyr.gradle.KonfigyrExtension.ServiceSpec
-
Specify the Konfigyr namespace to which this service belongs to.
- getNamespace() - Method in class com.konfigyr.gradle.ResolveServiceDependenciesTask
-
The Konfigyr namespace owning the service.
- getPollInterval() - Method in class com.konfigyr.gradle.KonfigyrExtension.PublishSpec
-
The initial time interval in milliseconds between consecutive polling attempts to check for a release.
- getPollTimeout() - Method in class com.konfigyr.gradle.KonfigyrExtension.PublishSpec
-
The maximum time in milliseconds to wait for a successful poll of a release.
- getProjectArchive() - Method in class com.konfigyr.gradle.GenerateArtifactMetadataTask
-
This project's built jar, scanned for Spring Boot configuration metadata.
- getProjectArtifact() - Method in class com.konfigyr.gradle.GenerateArtifactMetadataTask
-
This project's Maven coordinates, used to build the
ArtifactMetadatawhen this project's jar exposes Spring Boot configuration metadata. - getProjectArtifacts() - Method in class com.konfigyr.gradle.ResolveServiceDependenciesTask
-
A map of every project in the build, keyed by Gradle project path, with each value being a pre-built
Artifactdescriptor. - getPublish() - Method in class com.konfigyr.gradle.KonfigyrExtension
-
Direct-publish polling behavior.
- getReleasePollingInterval() - Method in class com.konfigyr.gradle.PublishArtifactMetadataTask
-
The initial time interval in milliseconds between consecutive polling attempts to check for a release.
- getReleaseTimeout() - Method in class com.konfigyr.gradle.PublishArtifactMetadataTask
-
The maximum time in milliseconds to wait for a successful poll of a release.
- getRuntimeClasspath() - Method in class com.konfigyr.gradle.GenerateArtifactMetadataTask
-
This project's own compile/runtime classpath, used purely to build a
ClassLoadercapable of resolving Java types referenced by this project's own Spring Boot configuration metadata (e.g. - getRuntimeClasspath() - Method in class com.konfigyr.gradle.ResolveServiceDependenciesTask
-
The collection of files that represent the runtime classpath of the current project.
- getService() - Method in class com.konfigyr.gradle.CreateServiceReleaseTask
-
Returns the
ArtifactoryServiceto use for creating the service release. - getService() - Method in class com.konfigyr.gradle.GenerateArtifactMetadataTask
-
Returns the
ArtifactoryServiceto use for constructing and writing the artifact metadata. - getService() - Method in class com.konfigyr.gradle.KonfigyrExtension
-
This project's service identity, used by the service-release scenario.
- getService() - Method in class com.konfigyr.gradle.PublishArtifactMetadataTask
-
Returns the
ArtifactoryServiceto use for publishing the artifact metadata. - getService() - Method in class com.konfigyr.gradle.ResolveServiceDependenciesTask
-
Returns the
ArtifactoryServiceto use for constructing and writing the artifact metadata. - getServiceArtifactMetadata() - Method in class com.konfigyr.gradle.CreateServiceReleaseTask
-
The file containing this project's own serialized
ArtifactMetadata, written byGenerateArtifactMetadataTask. - getServiceName() - Method in class com.konfigyr.gradle.CreateServiceReleaseTask
-
The Konfigyr service name.
- getServiceName() - Method in class com.konfigyr.gradle.ResolveServiceDependenciesTask
-
The Konfigyr service name.
- getSubjectToken() - Method in class com.konfigyr.gradle.KonfigyrExtension.TokenExchangeSpec
-
The token being exchanged for an access token.
- getSubjectTokenType() - Method in class com.konfigyr.gradle.KonfigyrExtension.TokenExchangeSpec
-
An identifier, as defined by RFC 8693, for the type of the
KonfigyrExtension.TokenExchangeSpec.subjectToken(for exampleurn:ietf:params:oauth:token-type:jwtorurn:ietf:params:oauth:token-type:id_token). - getTokenUri() - Method in class com.konfigyr.gradle.KonfigyrExtension
-
The location where this plugin would perform the OAuth Token exchange, defaults to
https://id.konfigyr.com/oauth/token. - getWorkerExecutor() - Method in class com.konfigyr.gradle.CreateServiceReleaseTask
-
The
WorkerExecutorto use for executing theServiceReleaseArtifactUploadActionfor every artifact the release reports as requiring an upload.
I
- isConfigured() - Method in class com.konfigyr.gradle.KonfigyrExtension.ClientCredentialsSpec
- isConfigured() - Method in class com.konfigyr.gradle.KonfigyrExtension.TokenExchangeSpec
K
- KonfigyrExtension - Class in com.konfigyr.gradle
-
Configuration extension for the Konfigyr Gradle plugin.
- KonfigyrExtension(Project, ObjectFactory) - Constructor for class com.konfigyr.gradle.KonfigyrExtension
-
Creates a new
KonfigyrExtensioninstance. - KonfigyrExtension.ClientCredentialsSpec - Class in com.konfigyr.gradle
-
Configures
ClientCredentials, used for the OAuth2client_credentialsgrant, as defined by RFC 6749, Section 4.4. - KonfigyrExtension.PublishSpec - Class in com.konfigyr.gradle
-
Polling behavior for the direct-publish scenario, used while waiting for a
com.konfigyr.artifactory.Publicationto be confirmed afterPublishArtifactMetadataTaskuploads this project's own artifact metadata. - KonfigyrExtension.ServiceSpec - Class in com.konfigyr.gradle
-
This project's service identity, used to resolve its dependencies and open a service release against the Konfigyr Artifactory.
- KonfigyrExtension.TokenExchangeSpec - Class in com.konfigyr.gradle
-
Configures a
TokenExchange, used for the OAuth2 Token Exchange grant, as defined by RFC 8693. - KonfigyrPlugin - Class in com.konfigyr.gradle
-
Gradle plugin for Konfigyr Artifacts.
- KonfigyrPlugin() - Constructor for class com.konfigyr.gradle.KonfigyrPlugin
P
- parsePropertyDescriptors(Iterable<? extends ArtifactMetadataResource>, Iterable<? extends File>) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Attempts to parse the given collection of
ArtifactMetadataResources into a list ofPropertyDescriptors. - publish(ArtifactMetadata, Duration, Duration) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Starts the publication process for the given
ArtifactMetadata. - publish(Action<KonfigyrExtension.PublishSpec>) - Method in class com.konfigyr.gradle.KonfigyrExtension
-
Configures the
direct-publish polling behavior. - PublishArtifactMetadataTask - Class in com.konfigyr.gradle
-
Task that publishes this project's own
ArtifactMetadata, generated byGenerateArtifactMetadataTask, directly to the Konfigyr Artifactory. - PublishArtifactMetadataTask() - Constructor for class com.konfigyr.gradle.PublishArtifactMetadataTask
R
- readArtifactMetadata(File) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Reads a single
ArtifactMetadatapreviously written byArtifactoryService.writeServiceArtifactMetadata(ArtifactMetadata, File). - readArtifactMetadata(File, File) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Reads
ArtifactMetadatafrom the given directory that are present in the artifact manifest list. - release(String, String, Collection<? extends ServiceReleaseCandidate>) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Attempts to publish a new
ServiceReleasefor the given namespace and service. - ResolveServiceDependenciesTask - Class in com.konfigyr.gradle
-
Task that generates
ArtifactMetadatafor each of this project's resolved runtime dependencies that expose Spring Boot configuration metadata, then writes the results to the output directory. - ResolveServiceDependenciesTask() - Constructor for class com.konfigyr.gradle.ResolveServiceDependenciesTask
S
- service(Action<KonfigyrExtension.ServiceSpec>) - Method in class com.konfigyr.gradle.KonfigyrExtension
-
Configures this project's
service identity, used by the service-release scenario. - ServiceReleaseArtifactUploadAction - Class in com.konfigyr.gradle
-
Implementation of
WorkActionthat uploads theArtifactMetadatafor a single artifact required by aServiceReleaseusing the registeredArtifactoryService. - ServiceReleaseArtifactUploadAction() - Constructor for class com.konfigyr.gradle.ServiceReleaseArtifactUploadAction
T
- toCredentials() - Method in class com.konfigyr.gradle.KonfigyrExtension.ClientCredentialsSpec
- toCredentials() - Method in class com.konfigyr.gradle.KonfigyrExtension.TokenExchangeSpec
- tokenExchange(Action<KonfigyrExtension.TokenExchangeSpec>) - Method in class com.konfigyr.gradle.KonfigyrExtension
-
Configures a
TokenExchange, for the OAuth2 Token Exchange grant. - transform(TransformOutputs) - Method in class com.konfigyr.gradle.ArtifactMetadataTransform
U
- upload(String, String, ServiceRelease, ArtifactMetadata) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Uploads the given
ArtifactMetadatafor the givenServiceRelease.
W
- writeArtifactMetadata(ArtifactMetadata, File) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Writes the given
ArtifactMetadatato the given directory. - writePropertyDescriptorMetadata(Iterable<? extends ArtifactMetadataResource>, Iterable<? extends File>, File) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Generates and writes
PropertyDescriptormetadata extracted from the given collection ofArtifactMetadataResources to the given targetFile. - writeServiceArtifactMetadata(ArtifactMetadata, File) - Method in class com.konfigyr.gradle.ArtifactoryService
-
Writes the given
ArtifactMetadatato the exact given target file, unlikeArtifactoryService.writeArtifactMetadata(ArtifactMetadata, File)which derives a filename from the artifact's coordinates inside a target directory.
All Classes and Interfaces|All Packages