IC SunsetThe developerWorks Connections Platform is now in read-only mode and content is only available for viewing. No new wiki pages, posts, or messages may be added. Please see our FAQ for more information. The developerWorks Connections platform will officially shut down on March 31, 2020 and content will no longer be available. More details available on our FAQ. (Read in Japanese.)
Topic
  • 3 replies
  • Latest Post - ‏2019-11-20T11:46:25Z by Jack Dunning
Leo Mathew
Leo Mathew
9 Posts

Pinned topic During Runtime change the value of connectionRef for of service provider

‏2019-11-20T09:46:06Z | .sar zosconnect

Is it possible to dynamically configure the value of connectionRef property during the runtime in the service properties file/ .sar file?

 

We have a multi-deployed CICS environment but the z/OS connect is not multi-deployed. We use Jenkins to deploy our services in mainframe. We would like to have a flexibility to update the connectionRef property during the runtime rather than creating a service project for each deployment and deploying them as the only difference in all the deployments is the  connectionRef property.

 

 

  • Jack Dunning
    Jack Dunning
    2 Posts

    Re: During Runtime change the value of connectionRef for of service provider

    ‏2019-11-20T10:05:39Z  

    Hello Leo Mathew,

     

    This sounds like exactly what the Policy functionality was created for, it is described in the Administering z/OS Connect EE Policies topic in the IBM Knowledge Center.

     

    Policies allow you to define rules that when met apply specific actions to either all API requests or API requests for a specific API. The rules are based on HTTP headers sent on API requests. The actions include overriding the connectionRef for a given API.

     

    We also have two blogs for the Policy function:

    Using policy-based API processing in z/OS Connect EE

    How to manage API specific affinities using z/OS Connect EE

     

    Kind regards,

    Jack Dunning | z/OS Connect EE

     

     

  • Leo Mathew
    Leo Mathew
    9 Posts

    Re: During Runtime change the value of connectionRef for of service provider

    ‏2019-11-20T11:30:13Z  

    Hello Leo Mathew,

     

    This sounds like exactly what the Policy functionality was created for, it is described in the Administering z/OS Connect EE Policies topic in the IBM Knowledge Center.

     

    Policies allow you to define rules that when met apply specific actions to either all API requests or API requests for a specific API. The rules are based on HTTP headers sent on API requests. The actions include overriding the connectionRef for a given API.

     

    We also have two blogs for the Policy function:

    Using policy-based API processing in z/OS Connect EE

    How to manage API specific affinities using z/OS Connect EE

     

    Kind regards,

    Jack Dunning | z/OS Connect EE

     

     

    Hi Jack,

     

    Very interesting insight, thanks!

     

    One challenge that we see here is that the deployment details are passed in the base path and not header for us. Any feasibility to add rules based on base path rather than header.

     

    Thanks,

    Leo

  • Jack Dunning
    Jack Dunning
    2 Posts

    Re: During Runtime change the value of connectionRef for of service provider

    ‏2019-11-20T11:46:25Z  

    Hi Jack,

     

    Very interesting insight, thanks!

     

    One challenge that we see here is that the deployment details are passed in the base path and not header for us. Any feasibility to add rules based on base path rather than header.

     

    Thanks,

    Leo

    Hello,

     

    The Policy functionality is entirely based on the HTTP headers today. 

     

    Kind regards,

    Jack Dunning