Skip to content

Commit e67f43c

Browse files
authored
Removed layout server implementation and updated documentation. (#1973)
* #1750 Remove layout server and update readme. * #1750 Remove layout server and update readme.
1 parent 6620b44 commit e67f43c

42 files changed

Lines changed: 8 additions & 2189 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 8 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -37,60 +37,29 @@ mvn exec:exec
3737
this should be the same as Linux & macos just with windows adjusted paths
3838
```
3939

40-
### Layout Server
41-
42-
Layout management requires persisting layouts. Layouts can either be persisted locally or remotely. The remote implementation requires spinning up a Springboot server instance, but is more robust and reflective of a real-world application.
43-
44-
#### Choosing local or remote
45-
46-
Changing whether local/remote is used is configured with the following flag:
47-
48-
1. Open `finos-vuu\vuu-ui\showcase\vite.config.js` (for Showcase), or `finos-vuu\vuu-ui\sample-apps\app-vuu-example\esbuild.mjs` (for sample app)
49-
2. Set `"process.env.LOCAL"` flag to `true` for local, or `false` for remote
50-
51-
The local implementation is default. It uses browser local storage. If you have chosen the remote implementation, ensure you are running the remote server.
52-
53-
#### Running the remote server
54-
55-
You can run the remote server from IntelliJ or via CLI. Once running, use `http://localhost:8081/api/swagger` to review endpoints and contracts. It uses an in-memory H2 database, and can be accessed at `http://localhost:8081/api/h2-console`.
56-
57-
##### CLI
58-
59-
```sh
60-
#from top-level vuu repo (not vuu child directory in repo)
61-
cd layout-server
62-
mvn spring-boot:run
63-
```
64-
65-
##### From IntelliJ
66-
67-
1. Follow steps 3-5 outlined in 'Configuring IntelliJ' below
68-
2. Select 'LayoutServer' config and click run
69-
70-
## Configuring IntelliJ
40+
#### Configuring IntelliJ
7141

7242
You may prefer to run the backend using the IntelliJ IDE, if so, you will need to follow the Client Installation above to ensure that the project has built correctly.
7343

7444
1. Install the Scala plugin: file -> settings -> plugins
75-
2. Install Scala 2.13.10
76-
3. Set project SDK version to 17: file -> project structure -> select an SDK -> require version 17
77-
4. Enable 'Use plugin registry': file -> settings -> build, execution, deployment -> Maven
78-
5. Open Maven tab on the right and click install on vuu-parent -> lifecycle -> install
79-
6. In the terminal, navigate to
45+
2. Set project SDK version to 17: file -> project structure -> select an SDK -> require version 17
46+
3. Enable 'Use plugin registry': file -> settings -> build, execution, deployment -> Maven
47+
4. Open Maven tab on the right and click install on vuu-parent -> lifecycle -> install
48+
5. In the terminal, navigate to
8049

8150
```sh
8251
vuu-ui/sample-apps/app-vuu-example
8352
```
8453

85-
7. Run
54+
6. Run
8655

8756
```sh
8857
npm install
8958
npm run build
9059
```
9160

92-
8. In IntelliJ, select 'SimulMain' config and click run
93-
9. If you get a 'certificate-unknown' error, set 'Allow invalid certificates for resources loaded from localhost' to 'Enabled' in your chrome settings
61+
7. In IntelliJ, select 'SimulMain' config and click run
62+
8. If you get a 'certificate-unknown' error, set 'Allow invalid certificates for resources loaded from localhost' to 'Enabled' in your chrome settings
9463

9564
## Installation - Client
9665

layout-server/pom.xml

Lines changed: 0 additions & 80 deletions
This file was deleted.

layout-server/src/main/java/org/finos/vuu/layoutserver/CorsConfig.java

Lines changed: 0 additions & 20 deletions
This file was deleted.

layout-server/src/main/java/org/finos/vuu/layoutserver/LayoutServerApplication.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

layout-server/src/main/java/org/finos/vuu/layoutserver/config/MappingConfig.java

Lines changed: 0 additions & 23 deletions
This file was deleted.

layout-server/src/main/java/org/finos/vuu/layoutserver/controller/ApplicationLayoutController.java

Lines changed: 0 additions & 62 deletions
This file was deleted.

layout-server/src/main/java/org/finos/vuu/layoutserver/controller/LayoutController.java

Lines changed: 0 additions & 94 deletions
This file was deleted.

layout-server/src/main/java/org/finos/vuu/layoutserver/dto/request/LayoutRequestDto.java

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)