DataPower

DataPower

Join this online 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
Expand all | Collapse all

Tools for Datapower Development Work

  • 1.  Tools for Datapower Development Work

    Posted Wed December 11, 2024 02:41 AM

    Hi all, 

    I want to understand what different tools you are using currently as pure developer for datapower development? 

    For example,
    What tool is used for xslt?
    What tool is used for gatewayscript? 
    What tool is used for testing code? - Something like soapui, postman? etc. 

    I am production support guy and expecting some major dev work in near future. I would like to be ready with my needs & understanding of tools effectively. 

    Thanks ! 




    ------------------------------
    Prathamesh Dixit
    ------------------------------


  • 2.  RE: Tools for Datapower Development Work

    Posted Wed December 11, 2024 06:24 AM
    Edited by Hermann Stamm-Wilbrandt Wed December 11, 2024 06:24 AM

    Hi,

    for 1+2 I use this since 2010 (I developed coproc2):
    https://github.com/ibm-datapower/datapower-tools/tree/master/coproc2

    For 3 I use most times curl, because it does not modify stuff and tells you the truth and nothing but the truth.
    With "-v" and "--data-binary", you will loose the truth part if abbreviating as "-d" because that is "--data". 



    ------------------------------
    Hermann Stamm-Wilbrandt
    Compiler Level 3 support, IBM DataPower Gateways
    IBM
    Boeblingen
    ------------------------------



  • 3.  RE: Tools for Datapower Development Work

    Posted Wed December 11, 2024 07:50 AM

    Thanks Harmann, 

    I will go through these definitely. These appears as tools to validate the coding done. Where do you prefer to write the code in general? Just a notepad++ or anything specific to avoid bugs in syntax & format?

    Thanks again !



    ------------------------------
    Prathamesh Dixit
    ------------------------------



  • 4.  RE: Tools for Datapower Development Work

    Posted Wed December 11, 2024 08:16 AM

    >  Where do you prefer to write the code in general? Just a notepad++ or anything specific to avoid bugs in syntax & format?
    >
    I stopped using Windows when joining DataPower team in 2007.
    Since 1990 I use vi editor, these days vim (vi improved) with its syntax highlighting for more than 500 different syntax.


    If forced to do something on a Windows computer, I use cygwin and vi if available.
    If not notepad/wordpad/notepad++.

    For formatting XML I use "xmllint --format file.xml".
    For pretty printing JSON I send it against DataPower loopback XMLFW service executing "store:///identity-json.js".



    ------------------------------
    Hermann Stamm-Wilbrandt
    Compiler Level 3 support, IBM DataPower Gateways
    IBM
    Boeblingen
    ------------------------------



  • 5.  RE: Tools for Datapower Development Work

    Posted Thu December 12, 2024 12:39 AM

    Thanks Harmann.. 

    I would need to explore this side as well :) But extremely thankful for sharing your insights. I would love to learn these. 

    Cheers ! 



    ------------------------------
    Prathamesh Dixit
    ------------------------------



  • 6.  RE: Tools for Datapower Development Work

    Posted Thu December 12, 2024 12:41 AM

    Thanks Joseph for additional information. I would love to explore Eclipse .. Looking forward !

    :) 




    ------------------------------
    Prathamesh Dixit
    ------------------------------



  • 7.  RE: Tools for Datapower Development Work

    Posted Wed December 11, 2024 10:48 AM

    To add to the existing answers, I use Eclipse for XSLT, GatewayScript, and for quick edits, NotePad++.   MyArch's dpBuddy has an ANT integration with Eclipse and DataPower, but I think that's mostly for deploying.  I don't believe it adds anything for development assistance outside of what Eclipse itself does.

    For testing, PostMan (mostly), SOAPUI (if I have it), and cURL (for deeper dives).



    ------------------------------
    Joseph Morgan
    CEO - Independent
    Dallas TX
    ------------------------------



  • 8.  RE: Tools for Datapower Development Work

    Posted Thu December 12, 2024 01:53 AM

    Also consider using DPOD for troubleshooting and debugging your new services. If you don't already have it, the Dev Edition is free.

    DPOD collects the logs and the Probe data, so once you (or someone else) invoke a request, you can inspect in DPOD the transaction logs, payloads, content, variables, action rules, errors, latency, etc. and  easily understand what went wrong and how to fix it.



    ------------------------------
    Amit Munwes
    ------------------------------



  • 9.  RE: Tools for Datapower Development Work

    Posted Fri December 13, 2024 01:31 PM

    Thanks Amit. I would try it out. 

    Cheers!



    ------------------------------
    Prathamesh Dixit
    ------------------------------