Skip to content

Implement #374 - Package spring boot application as .jar#377

Merged
lionel-nj merged 44 commits intobuild-local-web-uifrom
package-web-app-as-jar
Sep 29, 2020
Merged

Implement #374 - Package spring boot application as .jar#377
lionel-nj merged 44 commits intobuild-local-web-uifrom
package-web-app-as-jar

Conversation

@lionel-nj
Copy link
Copy Markdown
Contributor

@lionel-nj lionel-nj commented Sep 22, 2020

Summary:

This PR provides support to produce a .jar from the spring boot application
Expected behavior:

Artifact spring-boot-app.jar should be produced.
GitHub
Please make sure these boxes are checked before submitting your pull request - thanks!

To run the executable:
java -jar spring-boot-app.jar

Go to localhost:8090 the web ui should appear if it did not automatically pop-up when executing the .jar

Capture d’écran, le 2020-09-29 à 14 35 35

Capture d’écran, le 2020-09-29 à 14 35 45

  • Run the unit tests with gradle test to make sure you didn't break anything
  • Format the title like "Fix #<issue_number> - " (for example - "Fix Bug: Running using documented Docker documentation fails #1111 - Check for null value before using field")
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

lionel-nj added 2 commits September 21, 2020 14:09
-add dependency on client module
- add task to build jar in client module
@lionel-nj lionel-nj self-assigned this Sep 22, 2020
@lionel-nj lionel-nj requested a review from a user September 22, 2020 19:59
@lionel-nj lionel-nj changed the base branch from build-local-web-ui to master September 22, 2020 20:07
@lionel-nj lionel-nj changed the base branch from master to build-local-web-ui September 22, 2020 20:08
@lionel-nj lionel-nj linked an issue Sep 23, 2020 that may be closed by this pull request
3 tasks
lionel-nj and others added 13 commits September 23, 2020 11:16
- persist jar of web app
- rework action names
* Rename file for clarity

* Add dropzone elements into UI

* Add support to render execution parameter configuration file within UI after drag and drop action

* web client: Add support to review exec param config file

* Implement builder pattern for DefaultConfig

* Add dependency to beautify json files

* Implement validation of GTFS archive

* Remove 80% opacity on dropzone

* Improve rendering of json content as table

* Add support on client side to handle fee validation

* Rename files according to conventions

* Disable caching

* Improve code modularity

- create Constants.js file to store constants
- create ApiRequest.js file to store functions used to call API

* Server: Implement method to get path to report

* Add eof line

* Server side: add unit tests

- test controller
- test service manager
- add exception handling

* remove redundant time consuming test

* Implement test of interface with jet

* Add dependency on librairies:
 - axios: http requests:
 - material-ui: progress circles

* - Leverage PostMapping in order to pass data to backend
- Rename methods to be consistent with http requests
- Add progress circle
- Add support to clear HTML on drop of other configuration file

* Additional unit tests

* Comment test to be fixed
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A few things to delete before merging

lionel-nj added 3 commits September 29, 2020 09:05
  - add link to http://localhost:8090
lionel-nj added 19 commits September 29, 2020 11:24
 - define said option as "true" by default
 - add new key to option list
 - adapt mechanisms to retrieve value
 - define default value in default-execution-parameters.json
 - adapt tests
 - write additional tests to verify said implementation
- Remove empty lines
- add props.id to button for reference
- add commands to release/hold buttons and dropzone
- keep only 1 CircularProgress
- change color to blue  (Default)
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to merge after integrating modifications from inline remarks

lionel-nj added 2 commits September 29, 2020 17:20
- fix typos
- improve documentation
- update GitHub workflow
@lionel-nj lionel-nj marked this pull request as ready for review September 29, 2020 21:23
@lionel-nj lionel-nj merged commit fcc8d98 into build-local-web-ui Sep 29, 2020
@lionel-nj lionel-nj deleted the package-web-app-as-jar branch September 29, 2020 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modify GitHub workflow

1 participant