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.  Unable to do Code scanning for ESQL Code

    Posted Thu September 02, 2021 03:44 AM
    Hi Team,
    I'm new to this APP Connect .I'm trying to find some code scanning tool in App Connect. Is there any code scanning tool for scanning the esql  code in IBM App Connect. 


     Any help will be greatly appreciated..

    ------------------------------
    Kothaai R
    ------------------------------


    ------------------------------
    Kothaai R
    ------------------------------


  • 2.  RE: Unable to do Code scanning for ESQL Code

    Posted Fri September 10, 2021 09:56 AM
    Edited by Trevor Dolby Fri September 10, 2021 09:56 AM
    Hello - there isn't a built-in scanning tool for ESQL, though the toolkit does a good job of flagging ESQL errors and warnings.

    Beyond that, there is a SonarQube ESQL plugin that scans ESQL files and detects issues; some of the issues are opinions, others performance enhancements (like using field references instead of multiple navigations to the same place), etc. Your mileage may vary in how useful you find the results, but it scans ESQL in source projects and will also cover Maven configuration, Java source, and other file types.

    App Connect development does not generally endorse third-party tools, and so this is not a recommendation or a support statement, but you may find SonarQube worth exploring. I'm not aware of other tools at the moment.


  • 3.  RE: Unable to do Code scanning for ESQL Code

    Posted Mon September 13, 2021 03:55 AM
    Hi Trevor,
    Thanks for your response.

    ------------------------------
    Kothaai R
    ------------------------------



  • 4.  RE: Unable to do Code scanning for ESQL Code

    Posted Tue September 14, 2021 08:52 AM
    Hi Kothaai,

    We supply a Sonarqube plugin for App Connect/IIB/Websphere Message Broker development that does code scanning of ESQL, MsgFlow/Subflow, Msgmap, MQ and some other file types.
    The sorts of checks that it provides are listed here:
    http://bettercodingtools.com/mb-rules-complete/

    It also does test coverage reporting:
    http://bettercodingtools.com/message-broker-test-coverage/
    and
    http://bettercodingtools.com/message-broker-test-coverage-using-tracing/

    Happy to give you a quick demonstration when you have some time to see if it could be helpful to you and your team.

    Regards
    Richard
    richard@bettercodingtools.com

    ------------------------------
    Richard Huegill
    ------------------------------