Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SONAR-8581 WS api/navigation/global use the new PagesDefinition API
- Loading branch information
Showing
6 changed files
with
54 additions
and
86 deletions.
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
8 changes: 4 additions & 4 deletions
8
server/sonar-server/src/main/resources/org/sonar/server/ui/ws/global-example.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
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
12 changes: 4 additions & 8 deletions
12
...er/src/test/resources/org/sonar/server/ui/ws/GlobalActionTest/global_pages_for_admin.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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,16 +1,12 @@ | |||
{ | { | ||
"globalPages": [ | "globalPages": [ | ||
{ | { | ||
"id": "my_plugin_page", | "key": "another_plugin/page", | ||
"name": "My Plugin Page" | "name": "My Another Page" | ||
}, | |||
{ | |||
"id": "my_rails_app", | |||
"name": "My Rails App" | |||
}, | }, | ||
{ | { | ||
"id": "admin_page", | "key": "my_plugin/page", | ||
"name": "Admin Page" | "name": "My Plugin Page" | ||
} | } | ||
] | ] | ||
} | } |
8 changes: 4 additions & 4 deletions
8
...rc/test/resources/org/sonar/server/ui/ws/GlobalActionTest/global_pages_for_anonymous.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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,12 +1,12 @@ | |||
{ | { | ||
"globalPages": [ | "globalPages": [ | ||
{ | { | ||
"id": "my_plugin_page", | "key": "another_plugin/page", | ||
"name": "My Plugin Page" | "name": "My Another Page" | ||
}, | }, | ||
{ | { | ||
"id": "my_rails_app", | "key": "my_plugin/page", | ||
"name": "My Rails App" | "name": "My Plugin Page" | ||
} | } | ||
] | ] | ||
} | } |
8 changes: 4 additions & 4 deletions
8
...ver/src/test/resources/org/sonar/server/ui/ws/GlobalActionTest/global_pages_for_user.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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,12 +1,12 @@ | |||
{ | { | ||
"globalPages": [ | "globalPages": [ | ||
{ | { | ||
"id": "my_plugin_page", | "key": "another_plugin/page", | ||
"name": "My Plugin Page" | "name": "My Another Page" | ||
}, | }, | ||
{ | { | ||
"id": "my_rails_app", | "key": "my_plugin/page", | ||
"name": "My Rails App" | "name": "My Plugin Page" | ||
} | } | ||
] | ] | ||
} | } |