ENTAXY-248 release 1.8.1

This commit is contained in:
2022-02-28 15:20:38 +03:00
parent 4d274c4fcc
commit c826adf1db
1958 changed files with 195926 additions and 10280 deletions

View File

@ -32,12 +32,17 @@
<repository>mvn:org.apache.karaf.features/enterprise/${karaf.version}/xml/features</repository>
<repository>mvn:org.ops4j.pax.jdbc/pax-jdbc-features/1.4.4/xml/features</repository>
<repository>mvn:org.apache.karaf.features/spring/4.2.9/xml/features</repository>
<repository>mvn:org.apache.karaf.cave/apache-karaf-cave/${cave.version}/xml/features</repository>
<!-- repository>mvn:ru.entaxy.esb/karaf-features/${project.version}/xml/features</repository -->
<!-- underlying repos -->
<repository>mvn:ru.entaxy.esb.underlying/entaxy-underlying-features/${project.version}/xml/features</repository>
<!-- repository>mvn:ru.entaxy.esb.distribution/entaxy-karaf-kar/1.0-SNAPSHOT/xml/features</repository -->
<repository>mvn:ru.entaxy.esb.distribution/entaxy-karaf-features/${project.version}/xml/features</repository>
<repository>mvn:ru.entaxy.esb.distribution/entaxy-karaf-kar/${project.version}/xml/features</repository>
<!-- legacy repo -->
<repository>mvn:ru.entaxy.esb.system/system-parent/${project.version}/xml/features</repository>
<repository>mvn:ru.entaxy.esb.platform.runtime/base/${project.version}/xml/features</repository>
<repository>mvn:ru.entaxy.esb.platform.runtime/core/${project.version}/xml/features</repository>
<repository>mvn:ru.entaxy.esb.platform.runtime/modules/${project.version}/xml/features</repository>
@ -46,30 +51,35 @@
<feature name="entaxy-platform" version="${project.version}">
<!-- Wait for all the startup features to be installed -->
<feature prerequisite="true">entaxy-karaf-configuration</feature>
<feature prerequisite="true">entaxy-karaf-basic</feature>
<feature prerequisite="true">entaxy-karaf-runtime</feature>
<feature>entaxy-underlying-configuration</feature>
<feature>entaxy-karaf-basic</feature>
<feature>entaxy-karaf-runtime</feature>
<!-- feature prerequisite="true">maven-support</feature -->
<!-- feature>maven-support</feature -->
<!-- bundle start-level="5" dependency="true">mvn:org.ops4j.pax.logging/pax-logging-api/1.11.6</bundle -->
<!-- then be sure all entaxy features needed are installed -->
<feature>entaxy-karaf</feature>
<!-- feature>entaxy-karaf</feature -->
<feature>entaxy-legacy</feature>
<!-- @TODO must be moved to base -->
<feature>entaxy-freemarker-support</feature>
<feature version="${project.version}">entaxy-platform-components</feature>
<feature version="${project.version}">enatxy-platform-modules-components</feature>
<!-- prepare for modules installation -->
<feature version="${project.version}">entaxy-legacy-for-modules</feature>
<feature version="${project.version}">entaxy-platform-modules-components</feature>
</feature>
<feature name="entaxy-karaf-basic" version="${project.version}">
<feature prerequisite="true">entaxy-karaf-configuration</feature>
<feature>entaxy-underlying-configuration</feature>
<feature>wrap</feature>
<!-- feature prerequisite="true">classpath</feature -->
<!-- feature>classpath</feature -->
<feature>shell</feature>
<feature>feature</feature>
<feature>jaas</feature>
@ -88,15 +98,23 @@
<feature>system</feature>
</feature>
<feature name="entaxy-karaf-healthcheck" version="${project.version}">
<bundle>mvn:org.apache.felix/org.apache.felix.healthcheck.api/2.0.4</bundle>
<bundle>mvn:org.apache.felix/org.apache.felix.healthcheck.core/2.0.12</bundle>
<bundle>mvn:org.apache.felix/org.apache.felix.healthcheck.generalchecks/2.0.14</bundle>
</feature>
<feature name="entaxy-karaf-runtime" version="${project.version}">
<feature prerequisite="true">entaxy-karaf-configuration</feature>
<feature prerequisite="true">entaxy-karaf-basic</feature>
<feature>entaxy-underlying-configuration</feature>
<feature>entaxy-karaf-basic</feature>
<feature>scheduler</feature>
<feature>eventadmin</feature>
<feature>aries-blueprint</feature>
<feature>cellar</feature>
<feature>cellar-eventadmin</feature>
<feature>entaxy-karaf-healthcheck</feature>
<feature version="${cellar.version}">cellar</feature>
<feature version="${cellar.version}">cellar-eventadmin</feature>
<feature>cxf</feature>
@ -129,14 +147,13 @@
<!-- feature version="1.4.4">pax-jdbc-spec</feature>
<feature version="1.4.4">pax-jdbc</feature>
<feature version="1.4.4">pax-jdbc-config</feature>
<feature version="4.2.9">jdbc</feature -->
<feature version="${spring.version}">spring</feature>
<feature version="${spring.version}">spring-tx</feature>
<feature version="${spring.version}">spring-jdbc</feature>
<feature version="${spring.bundles.version}">spring</feature>
<feature version="${spring.bundles.version}">spring-tx</feature>
<feature version="${spring.bundles.version}">spring-jdbc</feature>
<feature version="[2,3)">jpa</feature>
<feature>entaxy-karaf-db-support</feature>
<!-- feature>entaxy-karaf-db-support</feature -->
<feature>ignite-core</feature>
<feature>entaxy-karaf-ignite-support</feature>
@ -145,7 +162,8 @@
<feature>entaxy-karaf-jaxb-support</feature>
<!-- feature>cave-repository</feature -->
<feature>cave-repository</feature>
<feature>cave-repository-api</feature>
<feature>wrapper</feature>
<feature>shell-compat</feature>
@ -154,27 +172,74 @@
<feature>camel-base64</feature>
<feature>camel-zip-deflater</feature>
<feature>camel-zipfile</feature>
<feature>entaxy-freemarker-support</feature>
</feature>
<feature name="entaxy-platform-components" version="${project.version}">
<feature prerequisite="true">entaxy-karaf-basic</feature>
<feature prerequisite="true">entaxy-karaf-runtime</feature>
<feature prerequisite="true">entaxy-karaf</feature>
<feature prerequisite="true">entaxy-legacy</feature>
<feature prerequisite="true">karaf-camel-common</feature>
<feature prerequisite="true">entaxy-legacy-system</feature>
<feature prerequisite="true">entaxy-legacy-blueprint-generator</feature>
<feature name="entaxy-platform-components" version="${project.version}">
<feature>entaxy-karaf-basic</feature>
<feature>entaxy-karaf-runtime</feature>
<!-- feature>entaxy-karaf</feature -->
<feature>entaxy-legacy</feature>
<feature>entaxy-legacy-system</feature>
<!-- feature>karaf-camel-common</feature -->
<feature>entaxy-freemarker-support</feature>
<configfile finalname="${karaf.etc}/org.apache.felix.hc.generalchecks.BundlesStartedCheck-platform.cfg" override="true">
mvn:ru.entaxy.esb/platform/${project.version}/cfg/org.apache.felix.hc.generalchecks.BundlesStartedCheck-platform
</configfile>
<!-- then install platform base & core -->
<feature version="${project.version}">entaxy-platform-base</feature>
<feature version="${project.version}">entaxy-platform-core</feature>
<!-- prepare for modules installation -->
<feature version="${project.version}">entaxy-legacy-for-modules</feature>
<!-- bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker/2.3.29_1</bundle -->
<feature version="${project.version}" dependency="false">entaxy-platform-base</feature>
<feature version="${project.version}" dependency="false">entaxy-platform-core</feature>
</feature>
<feature name="enatxy-platform-modules-components" version="${project.version}">
<feature prerequisite="true">entaxy-platform-base</feature>
<feature prerequisite="true">entaxy-platform-core</feature>
<feature prerequisite="true">entaxy-legacy-for-modules</feature>
<feature name="entaxy-legacy-for-modules" version="${project.version}">
<feature>entaxy-legacy</feature>
<feature version="${project.version}">entaxy-platform-base</feature>
<feature version="${project.version}">entaxy-platform-core</feature>
<feature version="${project.version}">entaxy-platform-components</feature>
<!-- feature>entaxy-legacy-blueprint-generator</feature -->
<feature>entaxy-legacy-system-api</feature>
<!-- feature>entaxy-legacy-deployer</feature -->
<feature>entaxy-legacy-profile-commons</feature>
<feature>entaxy-legacy-bundle-service</feature>
<feature>entaxy-legacy-connectors</feature>
<feature>entaxy-legacy-management</feature>
<feature>entaxy-legacy-error-handler</feature>
<feature>entaxy-legacy-system-profile</feature>
<feature>entaxy-legacy-bridge-profiles</feature>
<feature>entaxy-legacy-system-management</feature>
<feature>entaxy-legacy-system-component</feature>
<feature>entaxy-legacy-system-groups</feature>
<feature>entaxy-legacy-permissions</feature>
<feature>entaxy-legacy-management-connectors</feature>
<feature>entaxy-legacy-events</feature>
<!-- feature>entaxy-legacy-schema</feature -->
<feature>entaxy-legacy-basic-auth</feature>
<capability>
osgi.service;objectClass=org.hibernate.SessionFactory;effective:=active;
</capability>
</feature>
<feature name="entaxy-platform-modules-components" version="${project.version}">
<feature version="${project.version}">entaxy-platform-base</feature>
<feature version="${project.version}">entaxy-platform-core</feature>
<feature version="${project.version}">entaxy-legacy-for-modules</feature>
<!-- install platform modules -->
<feature version="${project.version}">entaxy-platform-modules</feature>
</feature>
@ -190,281 +255,12 @@
</feature -->
<feature name="entaxy-legacy" version="${project.version}">
<feature prerequisite="true">entaxy-karaf-basic</feature>
<feature prerequisite="true">entaxy-karaf-runtime</feature>
<feature>entaxy-karaf-basic</feature>
<feature>entaxy-karaf-runtime</feature>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb
mvn:ru.entaxy.esb.system/system-parent/${project.version}/cfg/ru.entaxy.esb
</configfile>
<feature prerequisite="true">karaf-camel-common</feature>
<feature prerequisite="true">entaxy-legacy-system</feature>
<feature prerequisite="true">entaxy-legacy-blueprint-generator</feature>
<!--
feature version="${project.version}" prerequisite="true">entaxy-legacy-datasources</feature
-->
</feature>
<feature name="entaxy-legacy-blueprint-generator" version="${project.version}">
<bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker/2.3.29_1</bundle>
<bundle>mvn:ru.entaxy.esb.system.management.blueprint.generator/blueprint-generator/${project.version}</bundle>
</feature>
<feature name="entaxy-legacy-system" version="${project.version}">
<feature prerequisite="true">camel-gson</feature>
<feature prerequisite="true">camel-jms</feature>
<feature prerequisite="true">camel-sql</feature>
<feature prerequisite="true">hibernate</feature>
<feature prerequisite="true">artemis-jms-client</feature>
<feature prerequisite="true">cxf-xjc-runtime</feature>
<feature prerequisite="true">ignite-core</feature>
<feature prerequisite="true">ignite-jcl</feature>
<feature prerequisite="true">wss4j</feature>
<feature prerequisite="true">entaxy-karaf-artemis-jms-support</feature>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb
</configfile>
<bundle dependency="true">mvn:ru.entaxy.esb.system.commons/system-commons/${project.version}</bundle>
<bundle dependency="true">mvn:ru.entaxy.esb.system.core/template/${project.version}</bundle>
</feature>
<feature name="karaf-camel-common" version="${project.version}">
<bundle>mvn:ru.entaxy.esb.system/component-bean-fix/${project.version}</bundle>
<capability>
osgi.service;objectClass=org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace=http://camel.apache.org/schema/blueprint;effective:=active;
</capability>
</feature>
<feature name="entaxy-legacy-system-api" version="${project.version}">
<feature prerequisite="true" version="${project.version}">entaxy-legacy-connector-api</feature>
<bundle>mvn:ru.entaxy.esb.system.registry.systems/system-api/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.registry.systems/system-impl/${project.version}</bundle>
</feature>
<feature name="entaxy-legacy-for-modules" version="${project.version}">
<feature version="${project.version}" prerequisite="true">entaxy-legacy</feature>
<feature version="${project.version}" prerequisite="true">entaxy-legacy-system-api</feature>
<feature version="${project.version}" prerequisite="true">entaxy-legacy-deployer</feature>
<feature version="${project.version}" prerequisite="true">entaxy-legacy-profile-commons</feature>
<feature version="${project.version}" prerequisite="true">entaxy-legacy-bundle-service</feature>
<feature version="${project.version}" prerequisite="true">entaxy-legacy-connectors</feature>
<feature version="${project.version}" prerequisite="true">entaxy-platform-base</feature>
<feature version="${project.version}" prerequisite="true">entaxy-platform-core</feature>
<bundle>mvn:ru.entaxy.esb.system.management.profile.manager/profile-manager/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.management.route.manager/route-manager/${project.version}</bundle>
<feature version="${project.version}">entaxy-legacy-error-handler</feature>
<feature version="${project.version}">entaxy-legacy-system-profile</feature>
<bundle>mvn:ru.entaxy.esb.system.management.bridge.profile.manager/bridge-profile-manager/${project.version}</bundle>
<feature version="${project.version}">entaxy-legacy-system-management</feature>
<bundle>mvn:ru.entaxy.esb.system.registry.systems/system-component/${project.version}</bundle>
<feature version="${project.version}">entaxy-legacy-system-groups</feature>
<feature version="${project.version}">entaxy-legacy-permissions</feature>
<bundle>mvn:ru.entaxy.esb.system.management.bundle.manager/bundle-manager/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.management.connector.manager/connector-manager/${project.version}</bundle>
<feature version="${project.version}">entaxy-legacy-events</feature>
<feature version="${project.version}">entaxy-legacy-schema</feature>
<feature version="${project.version}">entaxy-legacy-basic-auth</feature>
<capability>
osgi.service;objectClass=org.hibernate.SessionFactory;effective:=active;
</capability>
</feature>
<feature name="entaxy-legacy-schema" version="${project.version}">
<configfile finalname="${karaf.etc}/ru.entaxy.esb.system.schema.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.system.schema
</configfile>
<bundle>mvn:ru.entaxy.esb.system.registry.schema/schema-api/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.registry.schema/schema-impl/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.registry.schema/schema-soap/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.registry.schema/schema-component/${project.version}</bundle>
<capability>
osgi.service;objectClass=org.hibernate.SessionFactory;effective:=active;
</capability>
</feature>
<feature name="entaxy-legacy-system-profile" version="${project.version}">
<bundle>mvn:ru.entaxy.esb.system.registry.systems.profile/system-profile-api/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.registry.systems.profile/system-profile-collector/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.registry.systems.profile/system-profile-impl-default/${project.version}
</bundle>
</feature>
<feature name="entaxy-legacy-events" version="${project.version}">
<bundle>mvn:ru.entaxy.esb.system.core.events/events-common/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.core.events/events-api/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.core.events/events-impl/${project.version}</bundle>
<capability>
osgi.service;objectClass=org.hibernate.SessionFactory;effective:=active;
</capability>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.system.event.rest.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.system.event.rest
</configfile>
<bundle>mvn:ru.entaxy.esb.system.core.events/events-rest/${project.version}</bundle>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.system.event.handler.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.system.event.handler
</configfile>
<bundle>mvn:ru.entaxy.esb.system.core.events/events-handler/${project.version}</bundle>
<capability>
osgi.service;effective:=active;objectClass=javax.sql.DataSource;osgi.jndi.service.name=entaxy.esb.cache;
</capability>
</feature>
<feature name="entaxy-legacy-system-groups" version="${project.version}">
<bundle>mvn:ru.entaxy.esb.system.registry.system-groups.profile/system-group-profile-api/${project.version}
</bundle>
<bundle>
mvn:ru.entaxy.esb.system.registry.system-groups.profile/system-group-profile-collector/${project.version}
</bundle>
<bundle>
mvn:ru.entaxy.esb.system.registry.system-groups.profile/system-group-profile-impl-default/${project.version}
</bundle>
<bundle>mvn:ru.entaxy.esb.system.registry.system-groups/system-group-component/${project.version}</bundle>
</feature>
<feature name="entaxy-legacy-system-management" version="${project.version}">
<configfile finalname="${karaf.etc}/ru.entaxy.esb.system.management.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.system.management
</configfile>
<bundle>mvn:ru.entaxy.esb.system.management/system-management-api/${project.version}</bundle>
<capability>
osgi.service;objectClass=org.hibernate.SessionFactory;effective:=active;
</capability>
</feature>
<feature name="entaxy-legacy-basic-auth" version="${project.version}">
<feature prerequisite="true" version="${project.version}">entaxy-legacy-system-api</feature>
<feature prerequisite="true" version="${project.version}">entaxy-legacy-permissions-api</feature>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.system.basic_auth.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.system.basic_auth
</configfile>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.system.basic_auth.htpasswd.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.system.basic_auth.htpasswd
</configfile>
<bundle>mvn:ru.entaxy.esb.system.auth.basic.api/basic-auth-api/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.auth.basic.impl/basic-auth-impl/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.auth.basic.htpasswd/htpasswd/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.auth.basic/basic-auth-soap/${project.version}</bundle>
<capability>
osgi.service;objectClass=org.hibernate.SessionFactory;effective:=active;
</capability>
</feature>
<feature name="entaxy-legacy-deployer" version="${project.version}">
<feature prerequisite="true">bundle</feature>
<feature prerequisite="true">camel-blueprint</feature>
<feature prerequisite="true">camel-http</feature>
<feature prerequisite="true">camel-cxf</feature>
<feature prerequisite="true">cellar</feature>
<bundle>mvn:ru.entaxy.esb.system.deployer/deployer-api/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.deployer/file-system-deployer/${project.version}</bundle>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.deployer.file.system.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.deployer.file.system
</configfile>
<bundle>mvn:org.eclipse.aether/aether-api/${aether.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.deployer/nexus-deployer/${project.version}</bundle>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.deployer.nexus.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.deployer.nexus
</configfile>
<bundle>mvn:ru.entaxy.esb.system.deployer/cellar-deployer/${project.version}</bundle>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.deployer.cellar.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.deployer.cellar
</configfile>
</feature>
<feature name="entaxy-legacy-profile-commons" version="${project.version}">
<bundle>mvn:ru.entaxy.esb.system.core.dispatcher/dispatcher/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.registry.profile.commons/profile-commons/${project.version}</bundle>
</feature>
<feature name="entaxy-legacy-bundle-service" version="${project.version}">
<feature version="${project.version}" prerequisite="true">entaxy-legacy-system</feature>
<feature version="${project.version}" prerequisite="true">entaxy-legacy-deployer</feature>
<bundle>mvn:ru.entaxy.esb.system.core.dispatcher/dispatcher/${project.version}</bundle>
<bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker/2.3.29_1</bundle>
<bundle>mvn:ru.entaxy.esb.system.management.bundle.jpa/bundle-service/${project.version}</bundle>
<capability>
osgi.service;objectClass=org.hibernate.SessionFactory;effective:=active;
</capability>
</feature>
<feature name="entaxy-legacy-connector-api" version="${project.version}">
<feature version="${project.version}" prerequisite="true">entaxy-legacy-bundle-service</feature>
<bundle>mvn:ru.entaxy.esb.system.registry.connector/connector-api/${project.version}</bundle>
</feature>
<feature name="entaxy-legacy-connectors" version="${project.version}">
<feature prerequisite="true" version="${project.version}">entaxy-legacy-connector-api</feature>
<bundle>mvn:ru.entaxy.esb.system.registry.connector/connector-impl/${project.version}</bundle>
<!-- moved to extras
<configfile finalname="${karaf.etc}/ru.entaxy.esb.connector.file.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.connector.file
</configfile>
<bundle>mvn:ru.entaxy.esb.connector/file-connector/${project.version}</bundle>
-->
</feature>
<feature name="entaxy-legacy-error-handler" version="${project.version}">
<bundle>mvn:ru.entaxy.esb.system.core/error-handler/${project.version}</bundle>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.error.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.error
</configfile>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.error.code.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.error.code
</configfile>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.error.text.cfg" override="false">
mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.error.text
</configfile>
</feature>
<feature name="entaxy-legacy-permissions-api" version="${project.version}">
<bundle>mvn:ru.entaxy.esb.system.core.permission/permission-api/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.core.permission/permission-common/${project.version}</bundle>
<capability>
osgi.service;objectClass=org.hibernate.SessionFactory;effective:=active;
</capability>
</feature>
<feature name="entaxy-legacy-permissions" version="${project.version}">
<feature prerequisite="true" version="${project.version}">entaxy-legacy-permissions-api</feature>
<!-- <configfile finalname="${karaf.etc}/ru.entaxy.esb.system.event.handler.cfg" override="false">mvn:ru.entaxy.esb/karaf-features/${project.version}/cfg/ru.entaxy.esb.system.event.handler</configfile> -->
<bundle>mvn:ru.entaxy.esb.system.core.permission/permission-handler/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.core.permission/permission-component/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.core.permission/permission-impl/${project.version}</bundle>
<feature version="${project.version}">entaxy-legacy-basic-auth</feature>
<bundle>mvn:ru.entaxy.esb.system.core.permission/permission-soap/${project.version}</bundle>
<bundle>mvn:ru.entaxy.esb.system.management.permission.manager/permission-manager/${project.version}</bundle>
<feature>entaxy-legacy-main</feature>
</feature>
</features>
</features>

View File

@ -0,0 +1,5 @@
<!-- -->
<configfile finalname="${karaf.etc}/org.apache.felix.hc.generalchecks.BundlesStartedCheck-platform.cfg" override="true">
mvn:ru.entaxy.esb/platform/1.8.1/cfg/org.apache.felix.hc.generalchecks.BundlesStartedCheck-platform
</configfile>
<!-- -->

View File

@ -0,0 +1,22 @@
###
# ~~~~~~licensing~~~~~~
# platform
# ==========
# Copyright (C) 2020 - 2022 EmDev LLC
# ==========
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ~~~~~~/licensing~~~~~~
###
includesRegex=ru\.entaxy\.esb\.platform\.*
hc.name=Entaxy Platform Bundles
hc.mbean.name=Entaxy.Platform.Bundles

View File

@ -24,26 +24,32 @@ echo "Welcome to Entaxy platform installation script"
echo "************"
echo
echo "** Checking feature repository: ${project.groupId}/${project.artifactId}/${project.version}/xml/features ..."
echo "** Checking feature repository: ru.entaxy.esb/platform/1.8.1/xml/features ..."
_repo = (feature:repo-list | grep ru.entaxy.esb/platform)
_repo = (feature:repo-list | grep ru.entaxy.esb/platform/)
_repo_length = ($_repo length)
if { $_repo_length'' equals "0" } {
echo "\>\> Installing Entaxy repository..."
feature:repo-add mvn:${project.groupId}/${project.artifactId}/${project.version}/xml/features
feature:repo-add mvn:ru.entaxy.esb/platform/1.8.1/xml/features
echo "\>\> ... installed"
} else {
echo "\>\> Entaxy repository is already installed"
}
echo
echo "** Checking entaxy-karaf-configuration feature ..."
echo "** Checking entaxy-underlying-configuration feature ..."
service = (service:get org.apache.karaf.features.FeaturesService)
_config_feature = ($service getFeature entaxy-underlying-configuration)
_config_id = $_config_feature getId
_status = ($service getState $_config_id) toString
_in_shutdown = "0"
_config = [((feature:list | grep entaxy-karaf-configuration) split '\|')]
_status = (($_config get 3) trim)
if { $_status equals "Uninstalled" } {
echo "\>\> Installing feature..."
feature:install entaxy-karaf-configuration
feature:install entaxy-underlying-configuration
echo "\>\> ... installed"
echo
if { $1'' equals "skipReboot" } {
@ -56,30 +62,83 @@ if { $_status equals "Uninstalled" } {
echo " \( see etc/jre.properties \)"
echo
echo "** PLEASE RUN THE SCRIPT AGAIN AFTER RESTART **"
_in_shutdown = "1"
shutdown -r -f
}
} else {
echo "\>\> Entaxy configuration is already installed"
}
echo
_config = [((feature:list | grep entaxy-karaf-configuration) split '\|')]
_status = (($_config get 3) trim)
if { NOT { $_status equals "Started" } } {
echo "** Current configuration feature status is " $_status
echo "** Please clean the container and run installation again "
} else {
echo "** Installing Entaxy platform in verbose mode..."
_platform = [((feature:list | grep entaxy-platform) split '\|')]
_status = (($_platform get 3) trim)
if { $_status equals "Uninstalled" } {
feature:install -v entaxy-platform
echo
echo "\>\> ... installed"
} else {
echo "\>\> Entaxy platform is already installed"
}
}
if { $_in_shutdown equals "0" } {
echo
echo "** Thank you!"
echo
_status = ( ($service getState $_config_id) toString )
if { NOT { $_status equals "Started" } } {
echo "** Current configuration feature status is not [Started]"
echo "** Please check the feature [entaxy-underlying-configuration]"
echo "or clean the container and run installation again "
} else {
echo "** Installing Entaxy subplatform components in silent mode..."
echo "*** entaxy-karaf-basic .."
_basic_feature = ($service getFeature entaxy-karaf-basic)
_basic_id = $_basic_feature getId
_basic_status = ( ($service getState $_basic_id) toString )
if { NOT { $_basic_status equals "Started" } } {
try { feature:install entaxy-karaf-basic } { echo ".. ERROR" } { echo ".. done" }
} else {
echo ".. already installed"
}
echo "*** entaxy-karaf-runtime .."
_runtime_feature = ($service getFeature entaxy-karaf-runtime)
_runtime_id = $_runtime_feature getId
_runtime_status = ( ($service getState $_runtime_id) toString )
if { NOT { $_runtime_status equals "Started" } } {
echo
echo "** NOTICE **"
echo " Karaf will refresh bundles during install, so the script may be terminated"
echo " if you see karaf prompt or any other information on the screen"
echo " PLEASE RUN THE SCRIPT AGAIN"
echo "** ** **"
echo
sleep 10
try { feature:install entaxy-karaf-runtime } { echo ".. ERROR" } { echo ".. done" }
} else {
echo ".. already installed"
}
while { NOT { $_runtime_status equals "Started" } } {
echo "... waiting ..."
sleep 5
_runtime_status = ( ($service getState $_runtime_id) toString )
}
echo "\>\> ... installed"
echo
echo "** Installing Entaxy platform in verbose mode..."
_platform_feature = ($service getFeature entaxy-platform)
_platform_id = $_platform_feature getId
_status = ( ($service getState $_platform_id) toString )
if { $_status equals "Uninstalled" } {
feature:install -v -r entaxy-platform
echo
echo "\>\> ... installed"
} else {
echo "\>\> Entaxy platform is already installed"
}
}
echo
echo "** NOTICE **"
echo " If you see some bundles in [Failure] or [GracePeriod] state please"
echo " (a) restart (bundle:stop and bundle:start) bundles in [Failure] state "
echo " or"
echo " (b) restart the container "
echo "** ** **"
echo
echo "** Thank you!"
}