webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

New tool: Automate update of ART adapter connections on Integration Server 

Sun April 14, 2024 03:31 AM

products versions - webMethods Integration Server version: 10.15 and above, probably all supported versions

Introduction

This new tool allows you to automate the update of ART adapter connections on Integration Server (MSR and classic).

  • Specifically designed for container scenarios, because Integration Server does not have to be up and running
  • Suitable for all scenarios where automation is needed:
    • Staging between environment types
    • CI/CD and DevOps
    • Automated provisioning of development environments
    • Protect external systems by disabling all connections before first startup
  • Ease to embed in scripts
  • Works with Git and other Version Control Systems
  • Small footprint

Pre-requisite

None

Steps to follow

Get package from GitHub (link to repo) and install it.

Next steps

  • Test the tool for your use-case
  • Provide feedback :slight_smile:

Useful links | Relevant resources

Video with short demo:

Update April 18, 2024

Video how to build from source


#Integration-Server-and-ESB
#webMethods
#Adapters-and-E-Standards

Statistics
0 Favorited
7 Views
0 Files
0 Shares
0 Downloads

Comments

Thu April 18, 2024 02:47 AM

If anyone is interested, a first version of the JT_Health package is there, altough not public yet,

Please let me know if you are intested in early access; either via direct message here in the forum or by email


#Adapters-and-E-Standards
#Integration-Server-and-ESB
#webMethods

Wed April 17, 2024 02:20 AM

Great idea :+1: Looking into it right now and will get back asap


#Integration-Server-and-ESB
#Adapters-and-E-Standards
#webMethods

Tue April 16, 2024 07:03 AM

This is just for smoke testing, and it corresponds more or less to what the MSR /health endpoint provides.
I wanted to highlight the importance of automatically checking the status of adapters after starting the integration runtime. The adapters’ config is automated, the same goes for the checks on these adapters.
At that level, a custom flow service could be implemented, that deals with these checks and exposes status information that can be used by a k8s probe.
But your tool could also provide a generic health feature using pub.art.connection:queryConnectionState


#webMethods
#Integration-Server-and-ESB
#Adapters-and-E-Standards

Mon April 15, 2024 12:28 PM

When the following aspects are relevant, the added value could lie in:

  • Update happens entirely outside MSR/IS
  • One file per connection makes the following things easier
    • Separation of ownership if multiple persons/teams are working on a solution/application
    • Version control
    • Storage location together with the solution as opposed to a single file for the entire system. This can also have an impact on dependency management in (Micro-)services-based architecture.
    • Automated generation

I am also open to add functionality that helps people. How this changes the value proposition remains to be seen.

For MSR users that are happy with the OOTB solution there is indeed no need to switch. That is why I also explicitly mentioned this in my blog post.

Correct

I would usually approach this aspect with a synthetic transaction: Something that the target system more or less ignores, but still reports back a successful connection and also additional aspects. For a database I usually did a check against the version of the schema using something like Liquibase.

Would be interested what other aspects you consider relevant.

Also, if someone needs a specific functionality, please let me know.

Thanks for pointing this out ! This is only relevant for the demo/using the services from IS. The tool runs completely independently and doesn’t even know the value of this setting.

Hope this helps.

Thanks,
Christoph


#webMethods
#Adapters-and-E-Standards
#Integration-Server-and-ESB

Mon April 15, 2024 07:43 AM

For MSR users (where there’s properties based configuration available out of the box), what’s the added value of this tool?

For IS users, this provides the externalized configuration capability that’s missing for containerized deployments.
To use it I would:

  • build a new custom IS image that includes this package (with the appropriate exec rights for the script)
  • in the deployment descriptor
    • mount the cnf files from k8s secrets (since it will usually contain passwords)
    • run the tool using a command. I would probably write a wrapping script here, since I need to include the original entry point, and manage one tool exec per adapter

What would you recommend to check the health of these adapters after starting the IS? The MSR has a health endpoint that we can use to check is connections are active or suspended.

Regarding the AllowInternalPasswordAccess setting, does it have to set to true for the tool to work? Or was it just for your demo?


#Integration-Server-and-ESB
#Adapters-and-E-Standards
#webMethods