You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
The [Apache ActiveMQ Artemis](https://activemq.apache.org/components/artemis/) Console Plugin is written using [Hawtio v4](https://github.com/hawtio/hawtio).
5
5
The plugin is written in TypeScript. Since a Hawtio plugin is based on React and [Webpack Module Federation](https://module-federation.github.io/),
6
-
this project uses Yarn v3 and [CRACO](https://craco.js.org/) as the build tools.
6
+
this project uses Yarn v4 and [Webpack](https://webpack.js.org/) as the build tools.
7
7
8
8
The WAR file created by this project is consumed by ActiveMQ Artemis but can be developed and run standalone.
9
9
@@ -41,12 +41,12 @@ you can enter the Artemis Jolokia endpoint details, for a default Artemis instal
41
41
| Key | Value |
42
42
|--------|------------------|
43
43
| Name | Artemis |
44
-
|Schema| HTTP |
44
+
|Scheme| HTTP |
45
45
| Host | 127.0.0.1 |
46
46
| Port | 8161 |
47
47
| Path | /console/jolokia |
48
48
49
-
You can test the connection and then once saved connect to Artemis, This will open a new tab in the browser.
49
+
You can test the connection and then once saved connect to Artemis. This will open a new tab in the browser.
50
50
51
51
Note: If you use localhost for the 'Host' setting and you find the connection doesn't work this could be beacuse localhost
52
52
is being translated to your local ipv6 address rather than the ipv4 address. If that occurs use the IP address instead.
@@ -57,21 +57,25 @@ You could run `mvn install` or `mvn jetty:run` every time to incrementally devel
57
57
frontend project while checking its behaviour in the browser. But this is not suitable for running the fast development feedback cycle.
58
58
59
59
As shown below, a faster development cycle can be achieved by directly running the `artemis-console-extension`
60
-
frontend project itself in development mode with `yarn start`,
60
+
frontend project itself in development mode with `yarn start` or `npm run start`.
61
61
62
62
### Development
63
-
Start the plugin project in development mode:
63
+
Start the plugin project in development mode with yarn:
64
64
65
65
```console
66
66
cd artemis-console-extension/artemis-extension
67
67
yarn start
68
68
```
69
69
70
-
Now you should be able to preview the plugins under development at <http://localhost:3001/console/>. However, since it still
71
-
hasn't been connected to a backend JVM, you can then connect to a running Artemis instance using the connect tab using for
72
-
instance http://localhost:8161/console/jolokia.
73
-
You can now edit the artemis console web application and see changes loaded live.
74
-
70
+
or with npm:
75
71
72
+
```console
73
+
cd artemis-console-extension/artemis-extension
74
+
npm run start
75
+
```
76
76
77
77
78
+
Now you should be able to preview the plugins under development at <http://localhost:8080/console/>. However, since it still
79
+
hasn't been connected to a backend JVM, you can then connect to a running Artemis instance using the connect tab using for
80
+
instance http://localhost:8161/console/jolokia.
81
+
You can now edit the artemis console web application and see changes loaded live.
0 commit comments