App Connect

App Connect

Join this online user 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.


#Applicationintegration
#App Connect
#AppConnect
#Integration
#Automation
 View Only
  • 1.  Create UDP using server.conf.yaml

    Posted 11/30/21 09:29 AM
    Hello All,

    How to create UDP variables using integration server.conf.yaml file?

    Ref: User-defined properties  
    IBM documentation says: (You can also define a UDP at the level of the integration server, by updating the server.conf.yaml configuration file.)

    Thanks

    ------------------------------
    Anoop C Pillai
    ------------------------------


  • 2.  RE: Create UDP using server.conf.yaml

    Posted 11/30/21 10:42 AM

    If you create an independent integration server, in the server.conf.yaml, at the end you should have:

    UserVariables:
      #Thing1: 'value'

    The same applies to node owned servers as well, it just doesn't generate in the sample. The properties you list in there can only be picked up if the flows in the server do not explicitly defined them. Ie they are server wide variables not overrides to existing User Defined Properties.



    ------------------------------
    MATTHEW SEGALL
    ------------------------------



  • 3.  RE: Create UDP using server.conf.yaml

    Posted 11/30/21 11:32 AM
    Thanks for the comment.

    Can you tell me how I can read the value that defined in the UserVariables:  in esql?  Should I need to write some java code for this?

    ------------------------------
    Anoop C Pillai
    ------------------------------



  • 4.  RE: Create UDP using server.conf.yaml

    Posted 12/09/21 12:24 PM
    You can read the value in a regular way in ESQL, just don't define the UDP in the flow.
    For example, if you define 
    UserVariables:
      UDPTest: 'value for udp test'
    ​

    in your yaml file, then you use in ESQL:

    DECLARE UDPTest EXTERNAL CHARACTER ''; 
    
    ...
       SET x = 'UDP: '||UDPTest;
    ...


    ------------------------------
    Alexey Brook
    ------------------------------