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 (#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 authored and rdenarie committed Jun 18, 2024
1 parent 39b4451 commit 774aa5d
Show file tree
Hide file tree
Showing 3 changed files with 22 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 @@ -32,7 +32,6 @@
<import>war:/conf/news/metadata-plugins-configuration.xml</import>
<import>war:/conf/news/gamification-configuration.xml</import>
<import>war:/conf/news/activity-listener-configuration.xml</import>
<import profiles="app-center">war:/conf/news/app-center-configuration.xml</import>
<import>war:/conf/news/ckeditor-configuration.xml</import>
<import>war:/conf/news/feature-flags-configuration.xml</import>

Expand Down

This file was deleted.

0 comments on commit 774aa5d

Please sign in to comment.