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

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 e98e388 commit db6ce4a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 77 deletions.
23 changes: 23 additions & 0 deletions perk-store-services/src/main/resources/applications.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"descriptors": [
{
"name": "Perk store",
"imagePath": "war:/../images/perkstore.png",
"overrideMode": "merge",
"override": false,
"enabled": true,
"application": {
"title": "Perk store",
"description": "Perk store application",
"url": "./perkstore",
"active": true,
"mandatory": false,
"mobile": true,
"permissions": [
"*:/platform/users",
"*:/platform/externals"
]
}
}
]
}
4 changes: 1 addition & 3 deletions perk-store-webapps/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<import>war:/conf/perk-store/notification-configuration.xml</import>
<import>war:/conf/perk-store/websocket-configuration.xml</import>
<import>war:/conf/perk-store/dynamic-container-configuration.xml</import>
<import profiles="app-center">war:/conf/perk-store/app-center-configuration.xml</import>
<import>war:/conf/perk-store/search-configuration.xml</import>

</configuration>

This file was deleted.

0 comments on commit db6ce4a

Please sign in to comment.