Synapse
  1. Synapse
  2. SYNAPSE-746

Implement an Automation Framework for Synapse Samples

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: Core, Documentation
    • Labels:

      Description

      Currently we have to manually setup and run all the Synapse samples. This is a very tedious and time consuming process. We need an automation framework which can handle all these for the developers. This should be able to run a single sample, a selected set of samples and all the samples as requested by the user. The framework should be capable of setting up the environment, running the sample and verifying the results and preferably generate a report as well. JUnit, Apache ANT or Maven2 can be used for automating certain elements of this.

      1. synapse-746-samples-17,153.patch
        11 kB
        Amila Manoj
      2. samples_repo_dirs_patch_3.zip
        978 kB
        Amila Manoj
      3. gsoc_sample_automation_3.patch
        666 kB
        Amila Manoj
      4. samples_repo_dirs_patch_2.zip
        1007 kB
        Amila Manoj
      5. gsoc_sample_automation_2.patch
        173 kB
        Amila Manoj
      6. samples_repo_dirs.zip
        845 kB
        Amila Manoj
      7. gsoc_sample_automation_1.patch
        65 kB
        Amila Manoj

        Activity

        Hide
        Hiranya Jayathilaka added a comment -

        This was checked in a long time ago, and it has been extremely useful in testing. Thanks Amila for the contribution.

        Show
        Hiranya Jayathilaka added a comment - This was checked in a long time ago, and it has been extremely useful in testing. Thanks Amila for the contribution.
        Hide
        Amila Manoj added a comment -

        Hi,
        Added the test for sample 17 and fixed sample 153 (by adding a test policy file)
        The patch should goto https://svn.apache.org/repos/asf/synapse/trunk/java

        Thanks

        Show
        Amila Manoj added a comment - Hi, Added the test for sample 17 and fixed sample 153 (by adding a test policy file) The patch should goto https://svn.apache.org/repos/asf/synapse/trunk/java Thanks
        Hide
        Amila Manoj added a comment -

        Hi,

        Attached the third patch.
        Please find the description in the relevant thread at dev ML.

        Thanks,
        Amila

        Show
        Amila Manoj added a comment - Hi, Attached the third patch. Please find the description in the relevant thread at dev ML. Thanks, Amila
        Hide
        Amila Manoj added a comment -

        Hi,

        Attached the second patch.
        Please find the description in the relevant thread at Dev ML.

        Thanks,
        Amila

        Show
        Amila Manoj added a comment - Hi, Attached the second patch. Please find the description in the relevant thread at Dev ML. Thanks, Amila
        Hide
        Amila Manoj added a comment -

        Hi,
        Here's the first patch. (should be applied to top level directory.)
        I've sent a description to the ML thread.

        Thanks,
        Amila

        Show
        Amila Manoj added a comment - Hi, Here's the first patch. (should be applied to top level directory.) I've sent a description to the ML thread. Thanks, Amila
        Hide
        Hiranya Jayathilaka added a comment -

        Hi Amila,

        Welcome to the Synapse community. I think as the first step you should checkout the Synapse source code, build the binary distro and try out some samples manually to get a feel of it. Samples generally involve running an Axis2 server, starting up Synapse with a given configuration and then running a WS client. Relevant documentation can be found at [1]. I think we'll have to use some frameworks like JUnit, Ant and Maven2 for this and hence it might be a good idea to get familiar with these technologies a little bit too.

        Please subscribe to the mailing list and lets use that for future conversations.

        Thanks,
        Hiranya

        [1] - http://synapse.apache.org/Synapse_Samples.html

        Show
        Hiranya Jayathilaka added a comment - Hi Amila, Welcome to the Synapse community. I think as the first step you should checkout the Synapse source code, build the binary distro and try out some samples manually to get a feel of it. Samples generally involve running an Axis2 server, starting up Synapse with a given configuration and then running a WS client. Relevant documentation can be found at [1] . I think we'll have to use some frameworks like JUnit, Ant and Maven2 for this and hence it might be a good idea to get familiar with these technologies a little bit too. Please subscribe to the mailing list and lets use that for future conversations. Thanks, Hiranya [1] - http://synapse.apache.org/Synapse_Samples.html
        Hide
        Amila Manoj added a comment - - edited

        Hi,

        My Name is Amila Manoj. I'm a 3rd year undergraduate student from University of Moratuwa, Sri Lanka. I would like to work on this feature as my GSoC 2011 project. I'm currently studying about Synapse and trying out the existing samples. Additional details and suggestions on the approach I have to take / material I should follow are very much appreciated.

        Thanks & Regards.

        Show
        Amila Manoj added a comment - - edited Hi, My Name is Amila Manoj. I'm a 3rd year undergraduate student from University of Moratuwa, Sri Lanka. I would like to work on this feature as my GSoC 2011 project. I'm currently studying about Synapse and trying out the existing samples. Additional details and suggestions on the approach I have to take / material I should follow are very much appreciated. Thanks & Regards.

          People

          • Assignee:
            Hiranya Jayathilaka
            Reporter:
            Hiranya Jayathilaka
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development