diff --git a/content-service/src/main/resources/applications.json b/content-service/src/main/resources/applications.json new file mode 100644 index 000000000..574924d59 --- /dev/null +++ b/content-service/src/main/resources/applications.json @@ -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" + ] + } + } + ] +} diff --git a/content-webapp/src/main/webapp/WEB-INF/conf/configuration.xml b/content-webapp/src/main/webapp/WEB-INF/conf/configuration.xml index c6f050727..3261ee0b9 100644 --- a/content-webapp/src/main/webapp/WEB-INF/conf/configuration.xml +++ b/content-webapp/src/main/webapp/WEB-INF/conf/configuration.xml @@ -33,6 +33,6 @@ war:/conf/news/gamification-configuration.xml war:/conf/news/activity-listener-configuration.xml war:/conf/news/application-registry-configuration.xml - war:/conf/news/app-center-configuration.xml war:/conf/news/ckeditor-configuration.xml + diff --git a/content-webapp/src/main/webapp/WEB-INF/conf/news/app-center-configuration.xml b/content-webapp/src/main/webapp/WEB-INF/conf/news/app-center-configuration.xml deleted file mode 100644 index 7c665c52f..000000000 --- a/content-webapp/src/main/webapp/WEB-INF/conf/news/app-center-configuration.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - org.exoplatform.appcenter.service.ApplicationCenterService - - News - addApplicationPlugin - org.exoplatform.appcenter.plugin.ApplicationPlugin - - - imagePath - war:/../images/news.png - - - override - ${exo.app-center.news.override:false} - - - override-mode - ${exo.app-center.news.override-mode:merge} - - - application - description - - - News - - - ./news - - - News application - - - true - - - true - - - true - - - - - - -