Skip to content

Commit

Permalink
feat: Update AppCenter Data injection to use JSON - MEED-6794 - Meeds…
Browse files Browse the repository at this point in the history
…-io/MIPs#132

Prior to this change, App Center Data was injected at startup time using XML file. This change will introduce AppCenter applications using JSON format.
  • Loading branch information
boubaker committed May 13, 2024
1 parent 0def805 commit ca5187b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 81 deletions.
1 change: 0 additions & 1 deletion portlets/src/main/webapp/WEB-INF/conf/configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<import>war:/conf/gamification/portal/user-page-configuration.xml</import>
<import>war:/conf/gamification/portal/dynamic-container-configuration.xml</import>
<import profiles="app-center">war:/conf/gamification/portal/app-center-configuration.xml</import>

<import>war:/conf/gamification/storage/storage-configuration.xml</import>

Expand Down

This file was deleted.

24 changes: 24 additions & 0 deletions services/src/main/resources/applications.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"descriptors": [
{
"name": "Contributions",
"imagePath": "war:/../skin/images/contributionCenterIcon.webp",
"overrideMode": "merge",
"override": false,
"enabled": true,
"application": {
"title": "Contributions",
"description": "Contributions application",
"url": "./contributions",
"system": false,
"active": true,
"isMandatory": true,
"isMobile": true,
"permissions": [
"*:/platform/users",
"*:/platform/externals"
]
}
}
]
}

0 comments on commit ca5187b

Please sign in to comment.