This is an automated email from the ASF dual-hosted git repository. jamesbognar pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push: new 832cc65ee Try to get gh-pages working. 832cc65ee is described below commit 832cc65eeefe4b0079a87fd33f67caec1396b38e Author: James Bognar <james.bog...@salesforce.com> AuthorDate: Sat Sep 13 09:49:51 2025 -0400 Try to get gh-pages working. --- .asf.yaml | 4 ++- .github/workflows/pages.yml | 3 +++ .../examples/core/config/store/SqlStore.java | 30 ++++++++++++++++++++++ .../juneau/examples/rest/UtilityBeansResource.java | 15 ++++++++++- 4 files changed, 50 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index a4e3f3c80..94531ab42 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -18,4 +18,6 @@ github: features: wiki: true issues: true - projects: true \ No newline at end of file + projects: true + ghpages: + whoami: asf-site \ No newline at end of file diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index d6b1313b2..c9fe035da 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -80,6 +80,9 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v4 + with: + # Enable Pages if not already enabled + enablement: true - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/juneau-examples/juneau-examples-core/src/main/java/org/apache/juneau/examples/core/config/store/SqlStore.java b/juneau-examples/juneau-examples-core/src/main/java/org/apache/juneau/examples/core/config/store/SqlStore.java index 1aba56635..240f0b765 100644 --- a/juneau-examples/juneau-examples-core/src/main/java/org/apache/juneau/examples/core/config/store/SqlStore.java +++ b/juneau-examples/juneau-examples-core/src/main/java/org/apache/juneau/examples/core/config/store/SqlStore.java @@ -78,26 +78,56 @@ public class SqlStore extends ConfigStore { this.pollInterval = env(SQLSTORE_pollInterval, 600); // Time in seconds. } + /** + * Sets the JDBC URL for the database connection. + * + * @param value The JDBC URL. + * @return This object. + */ public Builder jdbcUrl(String value) { this.jdbcUrl = value; return this; } + /** + * Sets the name of the database table containing configuration entries. + * + * @param value The table name. + * @return This object. + */ public Builder tableName(String value) { this.tableName = value; return this; } + /** + * Sets the name of the column containing configuration entry names. + * + * @param value The column name. + * @return This object. + */ public Builder nameColumn(String value) { this.nameColumn = value; return this; } + /** + * Sets the name of the column containing configuration entry values. + * + * @param value The column name. + * @return This object. + */ public Builder valueColumn(String value) { this.valueColumn = value; return this; } + /** + * Sets the polling interval in seconds for checking database changes. + * + * @param value The polling interval in seconds. + * @return This object. + */ public Builder pollInterval(int value) { this.pollInterval = value; return this; diff --git a/juneau-examples/juneau-examples-rest/src/main/java/org/apache/juneau/examples/rest/UtilityBeansResource.java b/juneau-examples/juneau-examples-rest/src/main/java/org/apache/juneau/examples/rest/UtilityBeansResource.java index c63a06f8a..14506e795 100644 --- a/juneau-examples/juneau-examples-rest/src/main/java/org/apache/juneau/examples/rest/UtilityBeansResource.java +++ b/juneau-examples/juneau-examples-rest/src/main/java/org/apache/juneau/examples/rest/UtilityBeansResource.java @@ -50,7 +50,6 @@ import org.apache.juneau.rest.widget.*; }, asideFloat="RIGHT" ) -@SuppressWarnings("javadoc") public class UtilityBeansResource extends BasicRestObject { @SuppressWarnings("unused") @@ -85,14 +84,28 @@ public class UtilityBeansResource extends BasicRestObject { return BeanDescription.of(Address.class); } + /** + * Sample address bean used for demonstrating utility bean functionality. + */ @Bean(p="street,city,state,zip,isCurrent") public static class Address { + + /** Street address. */ public String street; + + /** City name. */ public String city; + + /** State abbreviation. */ public String state; + + /** ZIP code. */ public int zip; + + /** Whether this is the current address. */ public boolean isCurrent; + /** Default constructor. */ public Address() {} }