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 73ea263 commit de13ddb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 75 deletions.
22 changes: 22 additions & 0 deletions services/src/main/resources/applications.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"descriptors": [
{
"name": "Tasks",
"imagePath": "war:/../images/tasks.png",
"override": false,
"enabled": true,
"application": {
"title": "Tasks",
"description": "Tasks application",
"url": "./tasks",
"active": true,
"isMandatory": false,
"isMobile": true,
"permissions": [
"*:/platform/users",
"*:/platform/externals"
]
}
}
]
}
2 changes: 0 additions & 2 deletions webapps/src/main/webapp/WEB-INF/conf/configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
<import>war:/conf/task-addon/spaces-templates-configuration.xml</import>
<import>war:/conf/task-addon/ckeditor-configuration.xml</import>

<import profiles="app-center">war:/conf/task-addon/app-center-configuration.xml</import>
<import profiles="analytics">war:/conf/task-addon/analytics-configuration.xml</import>

<import profiles="gamification">war:/conf/task-addon/gamification-integration-configuration.xml</import>

</configuration>

This file was deleted.

0 comments on commit de13ddb

Please sign in to comment.