Cloud Pak for Business Automation

 View Only
  • 1.  ECM JAVA Integration

    Posted Mon January 08, 2024 04:52 AM

    Hi,

    Do we have any documentation about the ECM JAVA API?

    I am building an integration module and I am facing some challenges that I need more information.

    ex: loading user groups (when call the iterator) or get group users (using iterator) it takes a long time

    Regards,

    Filipe Ventura



    ------------------------------
    Filipe Ventura
    ------------------------------


  • 2.  RE: ECM JAVA Integration

    IBM Champion
    Posted Tue January 09, 2024 08:24 AM

    All of the documentation about that API is contained in the knowledge center: Content Engine Development - IBM Documentation (including the JavaDocs: Overview (ibm.com)).

    If you're facing performance issues loading lists of groups, the first thing I'd do is turn up some trace on the CPE side to see where the time is being spent. Queries out to LDAP can come with a performance penalty in some situations and tuning may be required.

    Best,

    Eric



    ------------------------------
    Eric Walk
    Director

    O: 617-453-9983 | NASDAQ: PRFT | Perficient.com
    ------------------------------



  • 3.  RE: ECM JAVA Integration

    Posted Thu January 18, 2024 05:11 AM

    Hi Eric,

    I don't know if I need some kind of performance improvements but I think is strange when I call:

    u.get_MemberOfGroups().iterator();

    Take 7 secs to return.

    This happens for every iterator that I need.

    Regards.



    ------------------------------
    Filipe Ventura
    ------------------------------



  • 4.  RE: ECM JAVA Integration

    IBM Champion
    Posted Thu January 18, 2024 09:56 AM
    Yeah, that's always a slow call and it's definitely hitting LDAP. I'd turn up some timer trace on LDAP and Security using the trace subsystem to track down where the time is being spent and then think about tuning from there.

    Best,
    Eric‌

    Eric Walk

    Director