How to Upgrade from 4.6.x to 4.7.0

To upgrade 4.6.x SDK/API projects to version 4.7.0, please follow these guidelines to align your project with the new infrastructure changes.

  • Update the Parent POM according to:

  • Change POM dependencies according to the following table:

4.6.x name

4.7.x name

4.6.x name

4.7.x name

io.ol:codegen

io.openlegacy:codegen

io.ol.consumer:dataqueue-consumer-autoconfiguration

io.openlegacy.springboot:dataqueue-consumer-autoconfiguration

io.ol.consumer:file-consumer-autoconfiguration

io.openlegacy.springboot:file-consumer-autoconfiguration

io.ol.consumer:ibm-mq-consumer-autoconfiguration

io.openlegacy.springboot:ibm-mq-consumer-autoconfiguration

io.ol.consumer:iso8385-consumer-autoconfiguration

io.openlegacy.springboot:iso8385-consumer-autoconfiguration

io.ol.consumer:kafka-consumer

io.openlegacy.consumer:kafka-consumer

io.ol.consumer:kafka-consumer-autoconfiguration

io.openlegacy.springboot:kafka-consumer-autoconfiguration

io.ol.flow:flow-core

io.openlegacy.flow:flow-core

org.openlegacy:openlegacy-core

io.openlegacy:core

org.openlegacy:openlegacy-license-utils

io.openlegacy.utils:license-utils

org.openlegacy:openlegacy-test-apps

io.openlegacy:screens-test-apps

org.openlegacy:openlegacy-test-utils

io.openlegacy.utils:test-utils

org.openlegacy:openlegacy-odata-v2-api

io.openlegacy:odata-v2-api

org.openlegacy.impl:impl-common

io.openlegacy.impl:impl-core

org.openlegacy.impl:impl-rpc

io.openlegacy.impl:impl-rpc

org.openlegacy.impl:impl-screens

io.openlegacy.impl:impl-screens

org.openlegacy.providers:dataqueue

io.openlegacy.connector:dataqueue

org.openlegacy.providers:fafnir-core

io.openlegacy.connector:fafnir-core

org.openlegacy.providers:fafnir-oracle

io.openlegacy.connector:fafnir-oracle

org.openlegacy.providers:fafnir-sqlserver

io.openlegacy.connector:fafnir-sqlserver

org.openlegacy.providers:fafnir-sybase-auto-configuration

io.openlegacy.springboot:fafnir-sybase-autoconfiguration

org.openlegacy.providers:fafnir-utils

io.openlegacy.connector:fafnir-utils

org.openlegacy.providers:iso8583

io.openlegacy.connector:iso8583

org.openlegacy.providers:mainframe-datasets

io.openlegacy.connector:mf-datasets

org.openlegacy.providers:mainframe-jcl

io.openlegacy.connector:mf-jcl

org.openlegacy.providers:openlegacy-brm-rpc

io.openlegacy.connector:brm-rpc

org.openlegacy.providers:openlegacy-db-stored-proc

io.openlegacy.connector:db-stored-procedure

org.openlegacy.providers:openlegacy-gt-rpc

io.openlegacy.connector:gt-rpc

org.openlegacy.providers:openlegacy-h3270

io.openlegacy.connector:h3270

org.openlegacy.providers:openlegacy-ibm-mq

io.openlegacy.connector:ibm-mq

org.openlegacy.providers:openlegacy-ims

io.openlegacy.connector:ims

org.openlegacy.providers:openlegacy-jt400

io.openlegacy.connector:as400-rpc

org.openlegacy.providers:openlegacy-kafka-rpc

io.openlegacy.connector:kafka

org.openlegacy.providers:openlegacy-mf-ctg

io.openlegacy.connector:mf-ctg

org.openlegacy.providers:openlegacy-odata

io.openlegacy.connector:odata

org.openlegacy.providers:openlegacy-rest-rpc

io.openlegacy.connector:rest-rpc

org.openlegacy.providers:openlegacy-rpc-mf

io.openlegacy.connector:mf-cics-ts

org.openlegacy.providers:openlegacy-rpc-natural

io.openlegacy.connector:natural

org.openlegacy.providers:openlegacy-sap-rpc

io.openlegacy.connector:sap-rpc

org.openlegacy.providers:openlegacy-soap-rpc

io.openlegacy.connector:soap-rpc

org.openlegacy.providers:openlegacy-temenos

io.openlegacy.connector:temenos

org.openlegacy.providers:openlegacy-tn5250j

io.openlegacy.connector:tn5250j

org.openlegacy.providers:openlegacy-tuxedo

io.openlegacy.connector:tuxedo-jolt

org.openlegacy.providers:openlegacy-tuxedo-jca

io.openlegacy.connector:tuxedo-jca

org.openlegacy.providers:vsam-cicsts

io.openlegacy.connector:vsam-cics-ts

org.openlegacy.providers.meili:file-system

io.openlegacy.connector:file-system

org.openlegacy.services:openlegacy-properties-encryption-service

io.openlegacy.service:properties-encryption-service

org.openlegacy.services:terminal-emulation-service

io.openlegacy.service:terminal-emulation-service

org.openlegacy.services:properties-encryption-starter

io.openlegacy.springboot:properties-encryption-autoconfiguration

org.openlegacy-tests:tests-api

io.openlegacy.test:test-api

org.openlegacy-tests:tests-rpc

io.openlegacy.test:test-rpc

org.openlegacy.providers:rpc-provider-initializer

io.openlegacy.connector:rpc-connector-initializer

org.openlegacy:cipher-utils

io.openlegacy.utils:cipher-utils

  • In addition, please remove the following security modules in the API :

    <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-security</artifactId> </dependency> <dependency> <groupId>org.openlegacy</groupId> <artifactId>openlegacy-security-client-jdbc</artifactId> <version>${openlegacy.version}</version> </dependency> <dependency> <groupId>org.openlegacy</groupId> <artifactId>openlegacy-security-user-jdbc</artifactId> <version>${openlegacy.version}</version> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-test</artifactId> <version>${spring-security.version}</version> <scope>test</scope> </dependency>

If you are using the actuator

You can change:

<dependency> <groupId>org.openlegacy</groupId> <artifactId>openlegacy-actuator</artifactId> </dependency>

To be:

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>