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
 View Only
Expand all | Collapse all

AMA technical Q&A coming up

  • 1.  AMA technical Q&A coming up

    Posted Tue November 06, 2018 05:23 PM
    The next "Ask Me Anything: App Connect Enterprise - Technical Q&A" session is coming up on November 20th. We will have a table of subject matter experts on the line to address your questions - come prepared!

    Feel free to submit any questions for discussion in this thread and don't forget to register to attend the event live: https://event.on24.com/wcc/r/1860387/26AE5C66DE7BB64FCAE86707265FD140.

    ------------------------------
    Amy McCormick
    Offering Manager
    IBM App Connect Enterprise, IBM App Connect service (Enterprise plans)
    IBM Integration Bus, IBM Integration Bus on Cloud, IIB industry packs
    ------------------------------


  • 2.  RE: AMA technical Q&A coming up

    Posted Wed November 07, 2018 10:36 AM

    Please send a sample server.conf.yaml file with the web interface gui having security enabled.

     

    Susan Barker

    Sr. MQ/IIB/ACE Administrator | Enterprise Solutions - Integration | CDW

    Phone:  276-698-6392 (mobile) | +1 (847) 371-3967 (work)

    Email:  susbark@cdw.com

    cdw-2

     






  • 3.  RE: AMA technical Q&A coming up

    Posted Tue November 20, 2018 07:06 PM
    Hi Susan,

    The product installation provides a sample server.conf.yaml file which also includes comments describing the properties in the file and their valid values, so the best thing to do would be to check that out... On the windows platform, if you choose the default installation directory for example, then you will find these at the location C:\Program Files\IBM\ACE\11.0.0.2\server\sample\configuration
    Inside the server.conf.yaml file there are several settings which relate to securing the ACE administrative web user interface. Examples of different settings include the port number, a section for SSL Server auth and a section for SSL Client auth for certificate settings, and also settings to control authorization:

    Security:
    Permissions:
    # Set Admin Security Authorization file permissions by web user role using 'read+:write+:execute+' , or 'all+'
    # '+' grants permission, '-' denies permission
    # e.g. define the following web user roles 'viewRole' and 'adminRole'
    #viewRole: 'read+:write-:execute-'
    #adminRole: 'all+'

    You can use this part of the configuration for example in conjunction with the webuseradmin command to define web users ... like this kind of thing:
    mqsiwebuseradmin -w C:\MyServer -c -u BenWebUser -a BenWebPassword -r adminRole

    There's also a handy tutorial for getting started with the Web UI which is in the ACE Toolkit (Help menu > Tutorials Gallery).

    Cheers,
    Ben

    ------------------------------
    Ben Thompson
    IBM UK
    ------------------------------



  • 4.  RE: AMA technical Q&A coming up

    Posted Tue November 20, 2018 12:26 PM
    Are there any tuning parameters that we could do for ACE performance?

    ------------------------------
    Susan Barker
    ------------------------------



  • 5.  RE: AMA technical Q&A coming up

    Posted Tue November 20, 2018 12:28 PM

    How to get user defined policy in java or esql compute node while integration node is not used in ACE11?

    In 11.0.0.2 we reintroduced the concept of the integration node. There is now a getPolicy method which allows you to look up any policy in a Java Compute node.

    Above was my question posted in the tech session and the answer provided by your team.

    However, I am not able to find getPolicy method in MbNode class, can you please provide some of the code sample to get the user defined policies?  The installed version of ACE is v10.0.0.2. 

    Thanks



    ------------------------------
    Andy Mao
    ------------------------------



  • 6.  RE: AMA technical Q&A coming up

    Posted Tue November 20, 2018 06:36 PM
    Hi Andy,

    Here's some example code showing an example of what we talked through quickly on the call:

    // optionally copy message headers
    copyMessageHeaders(inMessage, outMessage);
    // ----------------------------------------------------------
    // Add user code below
    MbElement outRoot = outMessage.getRootElement();
    MbElement outBody = outRoot.createElementAsLastChild(MbXMLNSC.PARSER_NAME);
    MbPolicy myPol = getPolicy("UserDefined","{MyUserDefinedPolicyProject}:MyUserDefinedPolicy");
    MbElement PolicyInformation = outBody.createElementAsFirstChild(MbElement.TYPE_NAME,"PolicyInformation",null);
    PolicyInformation.createElementAsLastChild(MbElement.TYPE_NAME_VALUE,"UserDefinedPolicyName",myPol.getName());
    PolicyInformation.createElementAsLastChild(MbElement.TYPE_NAME_VALUE,"UserDefinedPolicyTypeName",myPol.getType());
    PolicyInformation.createElementAsLastChild(MbElement.TYPE_NAME_VALUE,"UserDefinedPolicyTypeName",myPol.getPropertyValueAsString("Property1"));
    PolicyInformation.createElementAsLastChild(MbElement.TYPE_NAME_VALUE,"UserDefinedPolicyTypeName",myPol.getPropertyValueAsString("Property2"));
    PolicyInformation.createElementAsLastChild(MbElement.TYPE_NAME_VALUE,"UserDefinedPolicyTypeName",myPol.getPropertyValueAsString("Property3"));
    // End of user code
    // ----------------------------------------------------------


    This code would work in conjunction with a user defined policy like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <policies>
    <policy policyType="UserDefined" policyName="MyUserDefinedPolicy" policyTemplate="User Defined Template">
    <Property1>Tottenham Hotspur</Property1>
    <Property2>Middlesbrough</Property2>
    <Property3>Werder Bremen</Property3>
    </policy>
    </policies>

    The code would generate an output message like this:

    <PolicyInformation>
    <UserDefinedPolicyName>MyUserDefinedPolicy</UserDefinedPolicyName>
    <UserDefinedPolicyTypeName>UserDefined</UserDefinedPolicyTypeName>
    <UserDefinedPolicyTypeName>Tottenham Hotspur</UserDefinedPolicyTypeName>
    <UserDefinedPolicyTypeName>Middlesbrough</UserDefinedPolicyTypeName>
    <UserDefinedPolicyTypeName>Werder Bremen</UserDefinedPolicyTypeName>
    </PolicyInformation>

    Unfortunately there's one other small gotcha that we should add ... the jplugin2.jar file which is supplied as part of the v11 Toolkit installation unfortunately doesn't have the methods available as we inadvertently didn't update this jar when shipping the product. However, the correct jar has been built into the runtime. This means that you have a small workaround which must be applied. When you create your Java Compute node project, the Java build Path will be set up to reference the jplugin2.jar file in a directory such as:
    C:\Program Files\IBM\ACE\11.0.0.1\tools\plugins\com.ibm.etools.mft.jcn_11.0.0.1\jplugin2.jar

    You will need to change this to refer to the jplugin2 which is in the runtime's server classes folder:
    C:\Program Files\IBM\ACE\11.0.0.1\server\classes\jplugin2.jar

    Cheers,
    Ben

    ------------------------------
    Ben Thompson
    IBM UK
    ------------------------------



  • 7.  RE: AMA technical Q&A coming up

    Posted Tue November 20, 2018 06:41 PM
    The sample code and workaround is working in my local workspace, thanks so much for your input.  

    However, another question, is there a way to get a collection of the User Defined policies deployed in the current integration server? 

    Many thanks,

    Andy

    ------------------------------
    Andy Mao
    ------------------------------



  • 8.  RE: AMA technical Q&A coming up

    Posted Tue November 20, 2018 06:58 PM
    Hi Andy,

    Glad to hear you're up and running successfully ... You can use the administrative REST API to find out the policy projects and policies that have been deployed to your integration server. here are some examples:

    C:\Program Files\IBM\ACE\11.0.0.2>curl -X GET http://localhost:7600/apiv2/policies
    {"hasChildren":true,"name":"policies","type":"policies","uri":"/apiv2/policies","properties":{},"descriptiveProperties":{},"active":{},"actions":{},"children":[{"hasChildren":true,"name":"MyUserDefinedPolicyProject","type":"policyProject","uri":"/apiv2/policies/MyUserDefinedPolicyProject"}],"links":[]}

    C:\Program Files\IBM\ACE\11.0.0.2>curl -X GET http://localhost:7600/apiv2/policies/MyUserDefinedPolicyProject
    {"hasChildren":true,"name":"MyUserDefinedPolicyProject","type":"policyProject","uri":"/apiv2/policies/MyUserDefinedPolicyProject","properties":{"identifier":"MyUserDefinedPolicyProject","name":"MyUserDefinedPolicyProject","type":"PolicyProject"},"descriptiveProperties":{"locationOnDisk":"MyUserDefinedPolicyProject"},"active":{},"actions":{},"children":[{"hasChildren":false,"name":"MyUserDefinedPolicy","type":"policy","uri":"/apiv2/policies/MyUserDefinedPolicyProject/policy/MyUserDefinedPolicy"},{"hasChildren":false,"name":"MyUserDefinedPolicy1","type":"policy","uri":"/apiv2/policies/MyUserDefinedPolicyProject/policy/MyUserDefinedPolicy1"}],"links":[]}

    Cheers,
    Ben

    ------------------------------
    Ben Thompson
    IBM UK
    ------------------------------



  • 9.  RE: AMA technical Q&A coming up

    Posted Tue November 20, 2018 01:09 PM
    Please explain what you said about the Integration Node is not fully supported in Production setting in ACE 11.0.0.1.

    ------------------------------
    Susan Barker
    ------------------------------



  • 10.  RE: AMA technical Q&A coming up

    Posted Tue November 20, 2018 06:48 PM
    Hi Susan,

    On the call, we were discussing the fact that when the first fix pack of ACEv11 was released (ACEv11.0.0.1), the capabilities of the Integration Node and the Node-wide HTTP listener, were classified as "Technology Preview". This was referred to in the product's notices file (and at the time that 11.0.0.1 came out, we also commented on this aspect on our FAQ page). Technology Preview Code is not recommended for production use. This early access was provided for internal use for evaluation purposes and to allow customers to provide feedback and functionality suggestions to IBM before the Integration Node and node-wide HTTP Listener become Generally Available. Customers can report defects with ACEv11.0.0.1, including the Technology Preview Code, through the normal IBM Support process. We also discussed the fact that this "Technology Preview" status changed when we brought out ACEv11.0.0.2 and it is now fully supported to use the Integration Node and the Node-wide HTTP listener for production use.

    Cheers,
    Ben

    ------------------------------
    Ben Thompson
    IBM UK
    ------------------------------



  • 11.  RE: AMA technical Q&A coming up

    Posted Wed November 21, 2018 10:43 AM
    Please see the FAQ discussed on the call yesterday: https://developer.ibm.com/integration/docs/app-connect-enterprise/faq/

    ------------------------------
    Amy McCormick
    IBM Offering Manager
    ------------------------------



  • 12.  RE: AMA technical Q&A coming up

    Posted Mon November 26, 2018 12:27 PM
    Are any new nodes have been introduced in ACE 11? 
    What are the new features have been added in ACE 11 from developers perspective?

    ------------------------------
    Shobha Jasuja
    ------------------------------



  • 13.  RE: AMA technical Q&A coming up

    Posted Tue November 27, 2018 06:06 AM
    CENTER 3D
    Machines Agricole

    ------------------------------
    MFALHI MOHAMMED
    ------------------------------



  • 14.  RE: AMA technical Q&A coming up

    Posted Tue November 27, 2018 06:24 AM
    Hi Shobha,

    App Connect Enterprise v11 provides the latest enhancements to the IIB runtime. Features for developers include the ability to define policies in the Toolkit and deploy them through BAR files, the new set of "Group nodes", and simplified configuration through a new administrative REST API and yaml configuration files. There is also a new administrative web UI for viewing multiple servers nodes and integrations across your estate. The new release also provides performance enhancements through new HTTP listener technology. Here are some handy links with further info:

    https://developer.ibm.com/integration/blog/2018/10/30/how-to-use-policies-in-app-connect-enterprise-v11/
    https://developer.ibm.com/integration/blog/2018/10/19/explore-the-new-features-in-app-connect-enterprise-version-11-0-0-2/
    https://developer.ibm.com/integration/blog/2018/08/14/explore-new-features-app-connect-enterprise-version-11-0-0-1/

    We have also recently released an updated UI and Control plane for App Connect Enterprise on IBM Cloud Private. More information here:
    https://developer.ibm.com/integration/blog/2018/11/23/app-connect-enterprise-v11-on-ibm-cloud-private-v3-1/

    Cheers,
    Ben

    ------------------------------
    Ben Thompson
    IBM UK
    ------------------------------



  • 15.  RE: AMA technical Q&A coming up

    Posted Tue November 27, 2018 11:03 AM

    Greetings all,

     

    In ACE 11.0.0 there is the introduction of new nodes such as the GroupScatter node, GroupGather node and GroupComplete node.  To read more about these: https://www.ibm.com/support/knowledgecenter/en/SSTTDS_11.0.0/com.ibm.etools.mft.doc/bc04740_.htm

     

    "The grouping function is provided by the following three nodes:

    ·        The GroupScatter node marks the beginning of a fan-out of requests that are part of a group. This node is responsible for creating a new group, and enables downstream nodes to send requests that are marked as part of the group.

    ·        The GroupGather node reconciles incoming messages as replies to groups, or stores unknown messages to reconcile with groups that might still be under construction.

    ·        The GroupComplete node delivers groups that have been completed or timed-out groups and unknown messages that have reached their timeout limit. The GroupCompletenode marks the end of a grouping fan-in action (GroupGather). The node collects replies and combines them into a single reply message."

     

    Also there is the introduction of Callable nodes.  This makes it easy to call flows in the cloud or from a cloud flow to call flows on-prem.  Here are some new nodes:

    • CallableInput node
    • CallableReply node
    • CallableFlowInvoke node
    • CallableFlowAsyncInvoke node
    • CallableFlowAsyncReponse node

     

    https://www.ibm.com/support/knowledgecenter/en/search/callable%20nodes?scope=SSTTDS_11.0.0

     

    We also have the exciting Kafka Connectivity nodes which empower event streaming in ACE.  These are:

    • KafkaConsumer node
    • KafkaProducer node

     

    For a full list of nodes available use this website: https://www.ibm.com/support/knowledgecenter/en/SSTTDS_11.0.0/com.ibm.etools.mft.doc/bn28100_.htm

     

     

    Susan Barker

    Lead MQ/IIB/ACE Administrator | Enterprise Solutions – Integration

    Email:  susbark@cdw.com