diff --git a/analytics-api/pom.xml b/analytics-api/pom.xml index cefd57f8c..16be53b41 100644 --- a/analytics-api/pom.xml +++ b/analytics-api/pom.xml @@ -52,37 +52,5 @@ analytics-api - - - com.jcabi - jcabi-maven-plugin - - - org.projectlombok - lombok-maven-plugin - - - generate-sources - - delombok - - - ${basedir}/src/main/java - false - - - - - - - maven-enforcer-plugin - - - check-java-compat - none - - - - diff --git a/analytics-services/src/main/resources/applications.json b/analytics-services/src/main/resources/applications.json new file mode 100644 index 000000000..a6f3f294c --- /dev/null +++ b/analytics-services/src/main/resources/applications.json @@ -0,0 +1,24 @@ +{ + "descriptors": [ + { + "name": "Analytics", + "imagePath": "war:/../skin/images/analytics.png", + "overrideMode": "merge", + "override": false, + "enabled": true, + "application": { + "title": "Analytics", + "description": "Analytics applications", + "url": "./analytics", + "system": true, + "active": true, + "mandatory": false, + "mobile": true, + "permissions": [ + "*:/platform/administrators", + "*:/platform/analytics" + ] + } + } + ] +} diff --git a/analytics-webapps/src/main/webapp/WEB-INF/conf/analytics/app-center-configuration.xml b/analytics-webapps/src/main/webapp/WEB-INF/conf/analytics/app-center-configuration.xml deleted file mode 100644 index 23c00bb41..000000000 --- a/analytics-webapps/src/main/webapp/WEB-INF/conf/analytics/app-center-configuration.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - org.exoplatform.appcenter.service.ApplicationCenterService - - Analytics - addApplicationPlugin - org.exoplatform.appcenter.plugin.ApplicationPlugin - - - imagePath - war:/../skin/images/analytics.png - - - override - ${exo.app-center.analytics.override:false} - - - application - description - - - Analytics - - - ./analytics - - - Analytics applications - - - - - *:/platform/analytics - - - *:/platform/administrators - - - - - true - - - true - - - true - - - - - - - diff --git a/analytics-webapps/src/main/webapp/WEB-INF/conf/configuration.xml b/analytics-webapps/src/main/webapp/WEB-INF/conf/configuration.xml index e24782ec5..e54973452 100644 --- a/analytics-webapps/src/main/webapp/WEB-INF/conf/configuration.xml +++ b/analytics-webapps/src/main/webapp/WEB-INF/conf/configuration.xml @@ -24,6 +24,5 @@ war:/conf/analytics/organization-configuration.xml war:/conf/analytics/cache-configuration.xml war:/conf/analytics/dynamic-container-configuration.xml - war:/conf/analytics/app-center-configuration.xml