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.

 View Only
  • 1.  ACE Policy documents

    Posted Tue November 13, 2018 06:47 PM
    How do I extract the values contained in a Policy doc from within a Java compute node, or within ESQL? I cannot find anything in the documentation.

    ------------------------------
    hirschel wasserman
    ------------------------------


  • 2.  RE: ACE Policy documents

    Posted Wed November 14, 2018 05:40 AM
    Hi,
    If memory serves well on IIB10 use the IntegrationAPI, on the MessageFlowProxy you should find the name of the policy that is attached to the mf. (runtime attributes?)
    You may then have to use the PolicyManagerProxy to determine the particulars of the policy.

    Now you would have to look for the equivalent in the Administrative Rest API for ACE: https://www.ibm.com/support/knowledgecenter/en/SSTTDS_11.0.0/com.ibm.etools.mft.doc/bn28430_.htmhttps://www.ibm.com/support/knowledgecenter/en/SSTTDS_11.0.0/com.ibm.etools.mft.doc/bn28430_.htm


    ------------------------------
    FJ
    ------------------------------



  • 3.  RE: ACE Policy documents

    Posted Wed November 14, 2018 08:05 AM
    The current reference to the jpluging.jar Library in the toolkit does not work. You need to add the one in the installation directory ..\server\classes. The problem will be addressed in the FP 9.0.0.3

    This is the code:

    private MbPolicy sapcommPolUrl = null;

     if (sapcommPolUrl == null)  {    sapcommPolUrl = getPolicy("UserDefined", "{SapCommPolicy}:SapEnvURLs");     if (sapcommPolUrl == null)     {       throw new MbUserException(this, "onSetup()", "", "", "Failed to lookup policy: " + "{SapCommPolicy}:SapEnvURLs" , null);     } }

    var value = sapcommPolUrl.getPropertyValueAsString("key");

    ------------------------------
    Alejandro Yanes
    Lead Integration Specialist
    Sobeys Inc
    NS
    ------------------------------