hawtio / hawtio-next

Next generation Hawtio UI console
https://hawt.io
Apache License 2.0
7 stars 22 forks source link

Dev - Move Hawtio backend logics in `app/webpack.config.cjs` `devServer` to `@hawtio/backend-middleware` #899

Open tadayosi opened 5 months ago

tadayosi commented 5 months ago

Now that we have the backend-middleware in hawtio-next #891, we can refactor it more easily. The hawtio backend mocking code tends to be bloated and would be nice to be moved to the backend-middleware package, so that the other downstream hawtio applications don't need to replicate the same mocking logic for their development.

https://github.com/hawtio/hawtio-next/blob/062c784bd080ca7d942da7625807cf3d7a780d1b/app/webpack.config.cjs#L133-L228