ENTAXY-480 release version 1.8.3

This commit is contained in:
2023-08-03 04:45:45 +03:00
parent 5844a2e5cf
commit 3cc15f7459
236 changed files with 21106 additions and 0 deletions

View File

@ -0,0 +1,3 @@
[entaxy-artifact-management/1.8.3, entaxy-platform-core/1.8.3, entaxy-blueprint-generator/1.8.3, entaxy-object-producing/1.8.3, generator/1.8.3, objects-base/1.8.3, entaxy-management/1.8.3, entaxy-datasources-initializer/1.8.3, entaxy-platform-base/1.8.3]
[entaxy-artifact-management/1.8.3, entaxy-platform-core/1.8.3, entaxy-object-producing/1.8.3, generator/1.8.3, objects-base/1.8.3, entaxy-management/1.8.3, entaxy-datasources-initializer/1.8.3, entaxy-init-manager/1.8.3, entaxy-platform-base/1.8.3]

View File

@ -0,0 +1,17 @@
repo-add entaxy-underlying-features-1.8.3
feature:install -r -v -u entaxy-underlying-configuration/1.8.3
repo-add mvn:ru.entaxy.esb/platform/1.8.3/xml/basics
feature:install -r -v -u entaxy-karaf-basic/1.8.3
feature:install -r -v -u entaxy-karaf-runtime/1.8.3
repo-add mvn:ru.entaxy.esb/platform/1.8.3/xml/legacy
feature:install -r -v -u entaxy-legacy/1.8.3
repo-add mvn:ru.entaxy.esb.platform.runtime/base/1.8.3/xml/support
feature:install -r -v -u base-support/1.8.3
feature:install -r -v -u generator/1.8.3
repo-add mvn:ru.entaxy.esb.platform.runtime/base/1.8.3/xml/features
feature:install -r -v -u entaxy-platform-base/1.8.3
repo-add mvn:ru.entaxy.esb.platform.runtime/core/1.8.3/xml/features
feature:install -r -v -u entaxy-platform-core/1.8.3
repo-add mvn:ru.entaxy.esb/platform/1.8.3/xml/features
feature:install -r -v -u entaxy-platform/1.8.3

View File

@ -0,0 +1,139 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~~~~~~licensing~~~~~~
platform
==========
Copyright (C) 2020 - 2023 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~~~~~~
-->
<features name="entaxy-platform-basics-${project.version}"
xmlns="http://karaf.apache.org/xmlns/features/v1.6.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.6.0 http://karaf.apache.org/xmlns/features/v1.6.0">
<repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
<repository>mvn:org.apache.activemq/artemis-features/${activemq.version}/xml/features</repository>
<repository>mvn:org.hibernate/hibernate-osgi/${hibernate.version}/xml/karaf</repository>
<repository>mvn:org.apache.karaf.cellar/apache-karaf-cellar/${cellar.version}/xml/features</repository>
<repository>mvn:org.apache.ignite/ignite-osgi-karaf/${ignite.version}/xml/features</repository>
<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>
<!-- underlying repos -->
<repository>mvn:ru.entaxy.esb.underlying/entaxy-underlying-features/${project.version}/xml/features</repository>
<feature name="entaxy-karaf-basic" version="${project.version}">
<feature>entaxy-underlying-configuration</feature>
<feature>wrap</feature>
<!-- feature>classpath</feature -->
<feature>shell</feature>
<feature>feature</feature>
<feature>jaas</feature>
<feature>ssh</feature>
<feature>management</feature>
<feature>bundle</feature>
<feature>config</feature>
<feature>deployer</feature>
<feature>diagnostic</feature>
<feature>feature</feature>
<feature>instance</feature>
<feature>kar</feature>
<feature>log</feature>
<feature>package</feature>
<feature>service</feature>
<feature>system</feature>
</feature>
<feature name="entaxy-karaf-runtime" version="${project.version}">
<feature>entaxy-underlying-configuration</feature>
<feature>entaxy-karaf-basic</feature>
<feature>scheduler</feature>
<feature>eventadmin</feature>
<feature>aries-blueprint</feature>
<feature>entaxy-karaf-healthcheck</feature>
<feature version="${cellar.version}">cellar</feature>
<feature version="${cellar.version}">cellar-eventadmin</feature>
<feature>cxf</feature>
<feature>camel</feature>
<feature>camel-blueprint</feature>
<feature>camel-jaxb</feature>
<feature>camel-cxf</feature>
<feature>camel-amqp</feature>
<feature>camel-core</feature>
<feature>camel-http</feature>
<feature>hibernate</feature>
<feature>jdbc</feature>
<feature>pax-jdbc-pool-dbcp2</feature>
<feature>jndi</feature>
<feature>camel-eventadmin</feature>
<feature>camel-quartz</feature>
<feature>camel-jsonpath</feature>
<feature>camel-gson</feature>
<feature>camel-ognl</feature>
<feature>entaxy-karaf-commons-support</feature>
<feature>entaxy-karaf-liquibase-support</feature>
<feature>entaxy-karaf-artemis-jms-support</feature>
<feature>artemis-jms-client</feature>
<feature>camel-jms</feature>
<!-- 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.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>ignite-core</feature>
<feature>entaxy-karaf-ignite-support</feature>
<feature>camel-ignite</feature>
<feature>camel-sql</feature>
<feature>entaxy-karaf-jaxb-support</feature>
<feature>cave-repository</feature>
<feature>cave-repository-api</feature>
<feature>wrapper</feature>
<feature>shell-compat</feature>
<feature>camel-jpa</feature>
<feature>camel-jaxb</feature>
<feature>camel-base64</feature>
<feature>camel-zip-deflater</feature>
<feature>camel-zipfile</feature>
<feature>entaxy-freemarker-support</feature>
</feature>
<feature name="entaxy-freemarker-support">
<bundle dependency='true'>mvn:org.freemarker/freemarker/${freemarker.version}</bundle>
</feature>
</features>

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~~~~~~licensing~~~~~~
platform
==========
Copyright (C) 2020 - 2023 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~~~~~~
-->
<features name="entaxy-platform-legacy-${project.version}"
xmlns="http://karaf.apache.org/xmlns/features/v1.6.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.6.0 http://karaf.apache.org/xmlns/features/v1.6.0">
<repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
<repository>mvn:org.apache.activemq/artemis-features/${activemq.version}/xml/features</repository>
<repository>mvn:org.hibernate/hibernate-osgi/${hibernate.version}/xml/karaf</repository>
<repository>mvn:org.apache.karaf.cellar/apache-karaf-cellar/${cellar.version}/xml/features</repository>
<repository>mvn:org.apache.ignite/ignite-osgi-karaf/${ignite.version}/xml/features</repository>
<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>
<!-- underlying repo -->
<repository>mvn:ru.entaxy.esb.underlying/entaxy-underlying-features/${project.version}/xml/features</repository>
<!-- legacy repo -->
<repository>mvn:ru.entaxy.esb.system/system-parent/${project.version}/xml/basics</repository>
<feature name="entaxy-legacy" version="${project.version}">
<feature>entaxy-karaf-basic</feature>
<feature>entaxy-karaf-runtime</feature>
<configfile finalname="${karaf.etc}/ru.entaxy.esb.cfg" override="false">
mvn:ru.entaxy.esb.system/system-parent/${project.version}/cfg/ru.entaxy.esb
</configfile>
<feature>entaxy-legacy-main</feature>
</feature>
</features>

View File

@ -0,0 +1,5 @@
<!-- -->
<configfile finalname="scripts/entaxy-platform.install" override="true">
mvn:ru.entaxy.esb/platform/1.8.3/install/entaxy-platform
</configfile>
<!-- -->

View File

@ -0,0 +1,130 @@
<!--
~~~~~~licensing~~~~~~
platform
==========
Copyright (C) 2020 - 2023 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~~~~~~
-->
<entaxy-update>
<component>
<name>${project.artifactId}</name>
<versions>1.8.1,1.8.2</versions>
<feature>entaxy-platform</feature>
</component>
<repositories>
<!-- own -->
<repository>${project.groupId}/${project.artifactId}/${project.version}/kar/basics</repository>
<repository>${project.groupId}/${project.artifactId}/${project.version}/kar/features</repository>
<repository>${project.groupId}/${project.artifactId}/${project.version}/kar/legacy</repository>
<repository>${project.groupId}/${project.artifactId}/${project.version}/kar/update</repository>
<!-- underlying -->
<repository>ru.entaxy.esb.underlying/entaxy-underlying-features/${project.version}/kar/features</repository>
<repository>ru.entaxy.esb.underlying/entaxy-underlying-features/${project.version}/kar/replacements</repository>
<!-- base -->
<repository>ru.entaxy.esb.platform.runtime/base/${project.version}/kar/features</repository>
<repository>ru.entaxy.esb.platform.runtime/base/${project.version}/kar/support</repository>
<!-- core -->
<repository>ru.entaxy.esb.platform.runtime/core/${project.version}/kar/features</repository>
<!-- modules -->
<repository>ru.entaxy.esb.platform.runtime/modules/${project.version}/kar/features</repository>
<!-- uniform-service -->
<repository>ru.entaxy.esb.platform.runtime.modules/uniform-service/${project.version}/kar/features</repository>
</repositories>
<source-versions>
<!-- top level version -->
<version name="*">
<plan>
<feature reboot="false" sleep="10">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb/platform/${_version}/xml/basics</repo>
<feature-name>entaxy-karaf-basic</feature-name>
<retry>10</retry>
</feature>
<feature reboot="false">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb/platform/${_version}/xml/basics</repo>
<feature-name>entaxy-karaf-runtime</feature-name>
</feature>
<feature reboot="false">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb/platform/${_version}/xml/legacy</repo>
<feature-name>entaxy-legacy</feature-name>
</feature>
</plan>
</version>
<version name="1.8.2">
<plan>
<feature reboot="force" sleep="10">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb.underlying/entaxy-underlying-features/${_version}/xml/features</repo>
<feature-name>entaxy-underlying-configuration</feature-name>
</feature>
<feature reboot="false">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb/platform/${_version}/xml/basics</repo>
<feature-name>entaxy-karaf-basic</feature-name>
</feature>
<feature reboot="false">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb/platform/${_version}/xml/basics</repo>
<feature-name>entaxy-karaf-runtime</feature-name>
</feature>
<feature reboot="false">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb/platform/${_version}/xml/legacy</repo>
<feature-name>entaxy-legacy</feature-name>
</feature>
<feature reboot="false">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb.platform.runtime/base/${_version}/xml/support</repo>
<feature-name>base-support</feature-name>
</feature>
<feature reboot="false">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb.platform.runtime/base/${_version}/xml/support</repo>
<feature-name>generator</feature-name>
</feature>
<feature reboot="false">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb.platform.runtime/base/${_version}/xml/features</repo>
<feature-name>entaxy-platform-base</feature-name>
</feature>
<backup>
<action>create</action>
<source>${karafEtc}/${mvnCfg}</source>
<overwrite>false</overwrite>
</backup>
<feature reboot="false">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb.platform.runtime/core/${_version}/xml/features</repo>
<feature-name>entaxy-platform-core</feature-name>
</feature>
<backup>
<action>restore</action>
<source>${karafEtc}/${mvnCfg}</source>
</backup>
<feature reboot="false" sleep="10">
<upgrade>true</upgrade>
<repo>mvn:ru.entaxy.esb/platform/${_version}/xml/features</repo>
<feature-name>entaxy-platform</feature-name>
</feature>
<backup>
<action>clean</action>
<source>${karafEtc}/${mvnCfg}</source>
</backup>
</plan>
</version>
</source-versions>
</entaxy-update>

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~~~~~~licensing~~~~~~
platform
==========
Copyright (C) 2020 - 2023 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~~~~~~
-->
<features name="entaxy-platform-update-${project.version}"
xmlns="http://karaf.apache.org/xmlns/features/v1.6.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.6.0 http://karaf.apache.org/xmlns/features/v1.6.0">
<feature name="entaxy-platform-update" version="${project.version}" install="true">
<configfile finalname="updates/${project.version}/entaxy-platform.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3/update/entaxy-platform
</configfile>
<configfile finalname="updates/${project.version}/entaxy-platform.1.8.1.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3/update/entaxy-platform.1.8.1
</configfile>
<!-- --><!-- -->
<configfile finalname="updates/${project.version}/entaxy-platform.1.8.2.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3/update/entaxy-platform.1.8.2
</configfile>
<!-- --><!-- -->
<configfile finalname="updates/${project.version}/entaxy-platform.1.8.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3/update/entaxy-platform.1.8
</configfile>
<!-- --><!-- -->
<configfile finalname="updates/${project.version}/entaxy-platform.1.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3/update/entaxy-platform.1
</configfile>
</feature>
</features>

View File

@ -0,0 +1 @@
echo "entaxy-platform.1.8.1.update"

View File

@ -0,0 +1,43 @@
_version=1.8.3
karafRoot = ((($.context bundle) loadClass java.lang.System) getProperty 'karaf.home')
cd $karafRoot
source scripts/update/utils
source scripts/update/operations
source scripts/update/executor
karafEtc = ((($.context bundle) loadClass java.lang.System) getProperty 'karaf.etc')
mvnCfg = "org.ops4j.pax.url.mvn.cfg"
# BEGIN PLAN
${platform.1.8.2.plan}
#END PLAN
initManagerPid = "ru.entaxy.esb.initializer"
skipAllProp = "skip.all"
echo "*****"
echo "** Installing updates with version ${_version}"
echo "*****"
echo
# disable all initializations during updates
config:edit $initManagerPid
config:property-set "${skipAllProp}" "true"
config:update
echo "\>\> Initializers set to be skipped during update"
__EXEC_PLAN $installPlan
# enable all initializations during updates
config:edit $initManagerPid
config:property-set "${skipAllProp}" "false"
config:update
echo
echo "\>\> Initializers restored"

View File

@ -0,0 +1 @@
echo "entaxy-platform.1.8.update"

View File

@ -0,0 +1 @@
echo "entaxy-platform.1.update"

View File

@ -0,0 +1 @@
echo "entaxy-platform.update"

View File

@ -0,0 +1,40 @@
<!--
~~~~~~licensing~~~~~~
platform
==========
Copyright (C) 2020 - 2023 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~~~~~~
-->
<!-- -->
<configfile finalname="updates/1.8.3-SNAPSHOT/entaxy-platform.1.8.1.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3-SNAPSHOT/update/entaxy-platform.1.8.1
</configfile>
<!-- --><!-- -->
<configfile finalname="updates/1.8.3-SNAPSHOT/entaxy-platform.1.8.2.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3-SNAPSHOT/update/entaxy-platform.1.8.2
</configfile>
<!-- --><!-- -->
<configfile finalname="updates/1.8.3-SNAPSHOT/entaxy-platform.1.8.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3-SNAPSHOT/update/entaxy-platform.1.8
</configfile>
<!-- --><!-- -->
<configfile finalname="updates/1.8.3-SNAPSHOT/entaxy-platform.1.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3-SNAPSHOT/update/entaxy-platform.1
</configfile>
<!-- --><!-- -->
<configfile finalname="updates/1.8.3-SNAPSHOT/entaxy-platform.update" override="true">
mvn:ru.entaxy.esb/platform/1.8.3-SNAPSHOT/update/entaxy-platform
</configfile>
<!-- -->

View File

@ -0,0 +1,24 @@
installPlan = new java.util.ArrayList
$installPlan add [operation=feature upgrade=(__TRUE__) repo="mvn:ru.entaxy.esb.underlying/entaxy-underlying-features/${_version}/xml/features" feature="entaxy-underlying-configuration" reboot="force" sleep=10]
$installPlan add [operation=feature upgrade=(__TRUE__) repo="mvn:ru.entaxy.esb/platform/${_version}/xml/basics" feature="entaxy-karaf-basic" reboot="false"]
$installPlan add [operation=feature upgrade=(__TRUE__) repo="mvn:ru.entaxy.esb/platform/${_version}/xml/basics" feature="entaxy-karaf-runtime" reboot="false"]
$installPlan add [operation=feature upgrade=(__TRUE__) repo="mvn:ru.entaxy.esb/platform/${_version}/xml/legacy" feature="entaxy-legacy" reboot="false"]
$installPlan add [operation=feature upgrade=(__TRUE__) repo="mvn:ru.entaxy.esb.platform.runtime/base/${_version}/xml/support" feature="base-support" reboot="false"]
$installPlan add [operation=feature upgrade=(__TRUE__) repo="mvn:ru.entaxy.esb.platform.runtime/base/${_version}/xml/support" feature="generator" reboot="false"]
$installPlan add [operation=feature upgrade=(__TRUE__) repo="mvn:ru.entaxy.esb.platform.runtime/base/${_version}/xml/features" feature="entaxy-platform-base" reboot="false"]
# need this due to issue of loosing etc/org.ops4j.pax.url.mvn.cfg
# while updating artifact-manager
$installPlan add [operation=backup action=create source="${karafEtc}/${mvnCfg}" overwrite=(__FALSE__)]
$installPlan add [operation=feature upgrade=(__TRUE__) repo="mvn:ru.entaxy.esb.platform.runtime/core/${_version}/xml/features" feature="entaxy-platform-core" reboot="false"]
$installPlan add [operation=backup action=restore source="${karafEtc}/${mvnCfg}"]
$installPlan add [operation=feature upgrade=(__TRUE__) repo="mvn:ru.entaxy.esb/platform/${_version}/xml/features" feature="entaxy-platform" reboot="false" sleep=10]
$installPlan add [operation=backup action=clean source="${karafEtc}/${mvnCfg}"]
#$installPlan add [operation=empty reboot="false"]