Skip to content

Commit

Permalink
Upgrade to Hawtio 3.0-beta-3 and bump other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tadayosi committed Nov 7, 2023
1 parent 5bae115 commit 84826fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@
<maven.compiler.target>11</maven.compiler.target>

<!-- Versions -->
<spring-boot-version>2.7.9</spring-boot-version>
<hawtio-version>3.0-beta-1</hawtio-version>
<spring-boot-version>2.7.17</spring-boot-version>
<hawtio-version>3.0-beta-3</hawtio-version>
<servlet-api-version>4.0.1</servlet-api-version>
<slf4j-version>2.0.7</slf4j-version>
<logback-version>1.4.6</logback-version>
<node-version>v18.18.2</node-version>
<yarn-version>v1.22.19</yarn-version>
<frontend-maven-plugin-version>1.12.1</frontend-maven-plugin-version>
<!-- Jetty 11 doesn't support javax.servlet -->
<jetty-version>10.0.14</jetty-version>
<jetty-version>10.0.18</jetty-version>

<!-- Path to the Hawtio TypeScript plugin -->
<plugin.path>sample-plugin</plugin.path>
Expand Down Expand Up @@ -81,8 +83,8 @@
<goal>install-node-and-yarn</goal>
</goals>
<configuration>
<nodeVersion>v16.15.0</nodeVersion>
<yarnVersion>v1.22.19</yarnVersion>
<nodeVersion>${node-version}</nodeVersion>
<yarnVersion>${yarn-version}</yarnVersion>
</configuration>
</execution>
<execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ public void contextInitialized(ServletContextEvent servletContextEvent) {
/*
* These are the parameters required to load a remote Hawtio plugin (a.k.a. Module Federation remote module):
*
* - url: The URL of the remote entry for the plugin. This must be the same location as the Hawtio console.
* - scope: The name of the container defined at Webpack ModuleFederationPlugin. See also: sample-plugin/craco.config.js
* - module: The path exposed from Webpack ModuleFederationPlugin. See also: sample-plugin/craco.config.js
* - url: The URL of the remote entry for the plugin, e.g. "http://localhost:8081". (optional)
*/
plugin = new HawtioPlugin()
.url("http://localhost:8080")
.scope("samplePlugin")
.module("./plugin");
.module("./plugin")
.url("http://localhost:8080");

/*
* By default, Hawtio expects "plugin" as the name of the Hawtio plugin entry function.
Expand Down

0 comments on commit 84826fb

Please sign in to comment.