Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Use Spring Boot Configuration Metadata for auto-completion of app pro…
Browse files Browse the repository at this point in the history
…perties in IDE jmix-framework/jmix#224

JmixBuildPlugin adds annotationProcessor for Jmix modules;
Javadoc in existing ConfigurationProperties classes moved from getters to fields in order to be better displayed in IDE hints while application.properties file is being edited;
  • Loading branch information
gorbunkov committed Sep 30, 2021
1 parent d8216ba commit ee223c1
Showing 1 changed file with 29 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,34 @@
@ConstructorBinding
public class CognitoProperties {

/**
* AWS Region.
*/
private final String region;

/**
* Identifier of Amazon Cognito User Pool.
*/
private final String userPoolId;

/**
* Cognito authorization server issuer URI
*/
private final String issuerUri;

/**
* Unique ID of app client registered in Cognito.
*/
private final String clientId;

/**
* Secret of app client registered in Cognito.
*/
private final String clientSecret;

/**
* Domain name used for the sign-up and sign-in pages that are hosted by Cognito.
*/
private final String domain;

public CognitoProperties(
Expand All @@ -57,42 +80,42 @@ public CognitoProperties(
}

/**
* AWS Region.
* @see #region
*/
public String getRegion() {
return region;
}

/**
* Identifier of Amazon Cognito User Pool.
* @see #userPoolId
*/
public String getUserPoolId() {
return userPoolId;
}

/**
* Cognito authorization server issuer URI
* @see #issuerUri
*/
public String getIssuerUri() {
return issuerUri;
}

/**
* Unique ID of app client registered in Cognito.
* @see #clientId
*/
public String getClientId() {
return clientId;
}

/**
* Secret of app client registered in Cognito.
* @see #clientSecret
*/
public String getClientSecret() {
return clientSecret;
}

/**
* Domain name used for the sign-up and sign-in pages that are hosted by Cognito.
* @see #domain
*/
public String getDomain() {
return domain;
Expand Down

0 comments on commit ee223c1

Please sign in to comment.