IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Code Comparison

    Posted 02/27/07 10:27 PM

    Please help me providing steps to compare packages between Production and Development servers.

    We are trying to find differences between both environments.

    Thanks in advance.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Code Comparison

    Posted 02/28/07 03:32 PM

    Hello

    I had to do code comparision before and have done it in a hard/unconventional way.

    View the flow services from both the environments as html from Developer, and compare them with a text comparator tool (editplus,notepad++…etc)

    This has helped me find out the differences.

    Regards
    Krishna


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Code Comparison

    Posted 03/01/07 12:28 AM

    On Unix, you could copy over the two /packages//directories and do a recursive diff (diff -R ) between the 2 directories. There are also diff tools for windows.

    Long ago, I wrote a package that compared packages between servers. While the code is not available, I’ve put up a presentation up that shows how it works: [url]wmusers.com
    (Slide 10 onwards)


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: Code Comparison

    Posted 03/01/07 03:27 PM

    Thanks Sonam. Your response is very helpful.

    I will try comparing by using copy method. But I would be eager to know the process writing a flow service and comparing codes.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 5.  RE: Code Comparison

    Posted 03/02/07 04:55 AM

    Hi RDG - This system basically queries remote IS instances for the packages they have, the version numbers etc. Next, it allows you to drill down and select packages to compare on the servers. To implement this, I took advantage of a Unix-based shortcut: the flow runs a Unix command of the following sort to get checksums of source-controlled files in a package:
    find / -name <file_patterns> | xargs md5sum
    To make this portable, you could instead use Java functions to find and checksum files instead. The data returned by the remote calls is then collated and massaged for comparison as shown in the screenshots.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 6.  RE: Code Comparison

    Posted 03/08/07 03:30 PM

    Thanks Krishna. We need to compare all custom built packages. Probably it’s going to take sometime.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB