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 (#522)

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 exo-swf committed Jun 18, 2024
1 parent dabeb4c commit d578a8e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 74 deletions.
22 changes: 22 additions & 0 deletions wallet-services/src/main/resources/applications.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"descriptors": [
{
"name": "Wallet",
"imagePath": "war:/../images/wallet.png",
"override": false,
"enabled": true,
"application": {
"title": "Wallet",
"description": "Wallet application",
"url": "./wallet",
"active": true,
"mandatory": false,
"mobile": true,
"permissions": [
"*:/platform/users",
"*:/platform/externals"
]
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<import>war:/conf/wallet/user-page-configuration.xml</import>
<import>war:/conf/wallet/notification-configuration.xml</import>
<import>war:/conf/wallet/wallet-portal-configuration.xml</import>
<import profiles="app-center">war:/conf/wallet/app-center-configuration.xml</import>
<import profiles="gamification">war:/conf/wallet/gamification-configuration.xml</import>

</configuration>

This file was deleted.

0 comments on commit d578a8e

Please sign in to comment.