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 14, 2024
1 parent 0bcccf2 commit 33e03fd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 71 deletions.
22 changes: 22 additions & 0 deletions content-service/src/main/resources/applications.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"descriptors": [
{
"name": "News",
"imagePath": "war:/../images/news.png",
"override": false,
"enabled": true,
"application": {
"title": "News",
"description": "News application",
"url": "./news",
"active": true,
"mandatory": false,
"mobile": true,
"permissions": [
"*:/platform/users",
"*:/platform/externals"
]
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
<import>war:/conf/news/gamification-configuration.xml</import>
<import>war:/conf/news/activity-listener-configuration.xml</import>
<import>war:/conf/news/application-registry-configuration.xml</import>
<import profiles="app-center">war:/conf/news/app-center-configuration.xml</import>
<import>war:/conf/news/ckeditor-configuration.xml</import>

</configuration>

This file was deleted.

0 comments on commit 33e03fd

Please sign in to comment.