forked from finos/vuu
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLVUU-129: Fix Application Layouts Data Contract #135
Open
pling-scottlogic
wants to merge
15
commits into
main
Choose a base branch
from
SLVUU-129-settings-in-dto
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2ea7e73
SLVUU-129: Create e2e Layout Server API contract tests (USER LAYOUTS)
cfisher-scottlogic 363263a
SLVUU-129: Create e2e Layout Server API contract tests (APPLICATION L…
cfisher-scottlogic c63838c
SLVUU-129: Convert `fetch()` to `cy.request()` for all tests
cfisher-scottlogic 68251ea
SLVUU-129: Make server contract for an 'application layout' generic
cfisher-scottlogic 74ed316
SLVUU-129: Move unused performance related tests to new directory
cfisher-scottlogic 6879fee
SLVUU-129: Fix tests
pling-scottlogic 28979ab
SLVUU-129: Add settings to ApplicationLayoutDto
pling-scottlogic 486b6e8
SLVUU-129: Update API tests to account for settings
pling-scottlogic 642b1f6
SLVUU-129: Sync remote default application layout with local
pling-scottlogic a622447
SLVUU-129: Update documentation on controller
pling-scottlogic f3edd2a
SLVUU-129: Incorporate app layout and settings into single ObjectNode
pling-scottlogic 068b414
SLVUU-129: Tidy up tests
pling-scottlogic 7bcb6bd
SLVUU-129: Fix type checks
pling-scottlogic f5fde90
SLVUU-129: Run layout server for e2e tests
pling-scottlogic 49f8545
SLVUU-129: Refactor URL constants
pling-scottlogic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
...ut-server/src/main/java/org/finos/vuu/layoutserver/dto/response/ApplicationLayoutDto.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 27 additions & 20 deletions
47
layout-server/src/main/resources/defaultApplicationLayout.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,29 @@ | ||
{ | ||
"id": "main-tabs", | ||
"type": "Stack", | ||
"props": { | ||
"className": "vuuShell-mainTabs", | ||
"TabstripProps": { | ||
"allowAddTab": true, | ||
"allowRenameTab": true, | ||
"animateSelectionThumb": false, | ||
"className": "vuuShellMainTabstrip", | ||
"location": "main-tab" | ||
"applicationLayout": { | ||
"type": "Stack", | ||
"id": "main-tabs", | ||
"props": { | ||
"className": "vuuShell-mainTabs", | ||
"TabstripProps": { | ||
"allowAddTab": true, | ||
"allowCloseTab": true, | ||
"allowRenameTab": true, | ||
"animateSelectionThumb": false, | ||
"location": "main-tab", | ||
"tabClassName": "MainTab" | ||
}, | ||
"preserve": true, | ||
"active": 0 | ||
}, | ||
"preserve": true, | ||
"active": 0 | ||
}, | ||
"children": [ | ||
{ | ||
"type": "Placeholder", | ||
"title": "Page 1" | ||
} | ||
] | ||
} | ||
"children": [ | ||
{ | ||
"props": { | ||
"id": "tab1", | ||
"title": "Tab 1", | ||
"className": "vuuShell-Placeholder" | ||
}, | ||
"type": "Placeholder" | ||
} | ||
] | ||
} | ||
} |
19 changes: 8 additions & 11 deletions
19
.../src/test/java/org/finos/vuu/layoutserver/controller/ApplicationLayoutControllerTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if the Swagger page is most appropriate for checking the API status. We could use one of our GET endpoints, or implement a separate endpoint just for status checking.