You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Jonathan Anstey (JIRA)" <ji...@apache.org> on 2009/05/28 14:23:50 UTC
[jira] Created: (CAMEL-1655) Groovy Route Editor for WebConsole
Groovy Route Editor for WebConsole
----------------------------------
Key: CAMEL-1655
URL: https://issues.apache.org/activemq/browse/CAMEL-1655
Project: Apache Camel
Issue Type: New Feature
Components: camel-web
Reporter: Jonathan Anstey
Assignee: Jonathan Anstey
Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this JIRA for review. See http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info on the project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Work started: (CAMEL-1655) Groovy Route Editor for
WebConsole
Posted by alloyer <al...@gmail.com>.
Hi All,
I am Xueqiang Mi and alloyer is my ID on mailing list and IRC. I am a
student of China and major in middleware technologies.
I have been starting my work for about one week. Now I am reading the XML
rotue editor code and try to learn a overview of the implementation of
camel-web component.
Cheers,
JIRA jira@apache.org wrote:
>
>
> [
> https://issues.apache.org/activemq/browse/CAMEL-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
> Work on CAMEL-1655 started by Jonathan Anstey.
>
>> Groovy Route Editor for WebConsole
>> ----------------------------------
>>
>> Key: CAMEL-1655
>> URL: https://issues.apache.org/activemq/browse/CAMEL-1655
>> Project: Apache Camel
>> Issue Type: New Feature
>> Components: camel-web
>> Reporter: Jonathan Anstey
>> Assignee: Jonathan Anstey
>>
>> Our Google Summer of Code student Xueqiang Mi will be attaching code
>> updates to this JIRA for review. See
>> http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info
>> on the project.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
>
--
View this message in context: http://www.nabble.com/-jira--Created%3A-%28CAMEL-1655%29-Groovy-Route-Editor-for-WebConsole-tp23760686p23846953.html
Sent from the Camel Development mailing list archive at Nabble.com.
[jira] Work started: (CAMEL-1655) Groovy Route Editor for
WebConsole
Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-1655 started by Jonathan Anstey.
> Groovy Route Editor for WebConsole
> ----------------------------------
>
> Key: CAMEL-1655
> URL: https://issues.apache.org/activemq/browse/CAMEL-1655
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-web
> Reporter: Jonathan Anstey
> Assignee: Jonathan Anstey
>
> Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this JIRA for review. See http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info on the project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-1655) Groovy Route Editor for WebConsole
Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Anstey reassigned CAMEL-1655:
--------------------------------------
Assignee: Xueqiang Mi (was: Jonathan Anstey)
> Groovy Route Editor for WebConsole
> ----------------------------------
>
> Key: CAMEL-1655
> URL: https://issues.apache.org/activemq/browse/CAMEL-1655
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-web
> Reporter: Jonathan Anstey
> Assignee: Xueqiang Mi
>
> Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this JIRA for review. See http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info on the project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1655) Groovy Route Editor for WebConsole
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54552#action_54552 ]
Claus Ibsen commented on CAMEL-1655:
------------------------------------
Jonathan, isn't the work on the groovy editor finished? And thus we can close this ticket.
> Groovy Route Editor for WebConsole
> ----------------------------------
>
> Key: CAMEL-1655
> URL: https://issues.apache.org/activemq/browse/CAMEL-1655
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-web
> Reporter: Jonathan Anstey
> Assignee: Xueqiang Mi
> Fix For: 2.1.0
>
> Attachments: camel-web-20090611.patch
>
>
> Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this JIRA for review. See http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info on the project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-1655) Groovy Route Editor for WebConsole
Posted by "Xueqiang Mi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xueqiang Mi updated CAMEL-1655:
-------------------------------
Attachment: camel-web-20090611.patch
Camel-web Groovy and Ruby rotue editing support patch.Now camel-web module allow user to editing routes by using Groovy and Ruby language. These function are supported by camel-groovy and camel-ruby modules.Two examples of editing a route are as follows:
1. Editing a rotue in Groovy.
package org.apache.camel.web.groovy.example
import org.apache.camel.language.groovy.GroovyRouteBuilder;
class GroovyRoutes extends GroovyRouteBuilder {
void configure() {
from("direct:a").to("mock:results")
}
}
2. Editing a route in Ruby.
require 'camel'
include_class "org.apache.camel.ruby.RubyCamel"
class RubyRoutes < Camel::RubyRouteBuilder
def configure
from "direct:a"
to "mock:results"
end
end
RubyCamel.addRouteBuilder(RubyRoutes.new)
There may be some exceptions when typing in error format route configuration. I will fix them ASAP.
> Groovy Route Editor for WebConsole
> ----------------------------------
>
> Key: CAMEL-1655
> URL: https://issues.apache.org/activemq/browse/CAMEL-1655
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-web
> Reporter: Jonathan Anstey
> Assignee: Xueqiang Mi
> Attachments: camel-web-20090611.patch
>
>
> Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this JIRA for review. See http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info on the project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (CAMEL-1655) Groovy Route Editor for
WebConsole
Posted by "Xueqiang Mi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52199#action_52199 ]
Xueqiang Mi edited comment on CAMEL-1655 at 6/26/09 9:13 AM:
-------------------------------------------------------------
Camel-web Groovy and Ruby rotue editing support patch.Now camel-web module allow user to editing routes by using Groovy and Ruby language. These function are supported by camel-groovy and camel-ruby modules.Two examples of editing a route are as follows:
1. Editing a rotue in Groovy.
import org.apache.camel.language.groovy.GroovyRouteBuilder;
class GroovyRoute extends GroovyRouteBuilder {
void configure() {
from("direct:a").to("mock:results")
}
}
2. Editing a route in Ruby.
require 'camel'
include_class "org.apache.camel.ruby.RubyCamel"
class RubyRoute < Camel::RubyRouteBuilder
def configure
from "direct:a"
to "mock:results"
end
end
RubyCamel.addRouteBuilder(RubyRoutes.new)
There may be some exceptions when typing in error format route configuration. I will fix them ASAP.
was (Author: xueqiang.mi):
Camel-web Groovy and Ruby rotue editing support patch.Now camel-web module allow user to editing routes by using Groovy and Ruby language. These function are supported by camel-groovy and camel-ruby modules.Two examples of editing a route are as follows:
1. Editing a rotue in Groovy.
package org.apache.camel.web.groovy.example
import org.apache.camel.language.groovy.GroovyRouteBuilder;
class GroovyRoutes extends GroovyRouteBuilder {
void configure() {
from("direct:a").to("mock:results")
}
}
2. Editing a route in Ruby.
require 'camel'
include_class "org.apache.camel.ruby.RubyCamel"
class RubyRoutes < Camel::RubyRouteBuilder
def configure
from "direct:a"
to "mock:results"
end
end
RubyCamel.addRouteBuilder(RubyRoutes.new)
There may be some exceptions when typing in error format route configuration. I will fix them ASAP.
> Groovy Route Editor for WebConsole
> ----------------------------------
>
> Key: CAMEL-1655
> URL: https://issues.apache.org/activemq/browse/CAMEL-1655
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-web
> Reporter: Jonathan Anstey
> Assignee: Xueqiang Mi
> Attachments: camel-web-20090611.patch
>
>
> Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this JIRA for review. See http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info on the project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-1655) Groovy Route Editor for WebConsole
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-1655:
-------------------------------
Fix Version/s: 2.1.0
> Groovy Route Editor for WebConsole
> ----------------------------------
>
> Key: CAMEL-1655
> URL: https://issues.apache.org/activemq/browse/CAMEL-1655
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-web
> Reporter: Jonathan Anstey
> Assignee: Xueqiang Mi
> Fix For: 2.1.0
>
> Attachments: camel-web-20090611.patch
>
>
> Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this JIRA for review. See http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info on the project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-1655) Groovy Route Editor for WebConsole
Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Anstey resolved CAMEL-1655.
------------------------------------
Resolution: Fixed
Calling this complete.
Xueqiang, feel free to make any changes to the web console under new tickets as they happen.
> Groovy Route Editor for WebConsole
> ----------------------------------
>
> Key: CAMEL-1655
> URL: https://issues.apache.org/activemq/browse/CAMEL-1655
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-web
> Reporter: Jonathan Anstey
> Assignee: Xueqiang Mi
> Fix For: 2.1.0
>
> Attachments: camel-web-20090611.patch
>
>
> Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this JIRA for review. See http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info on the project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1655) Groovy Route Editor for WebConsole
Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52208#action_52208 ]
Jonathan Anstey commented on CAMEL-1655:
----------------------------------------
Xueqiang,
Just committed your patch in revision 783847. Had to do a few minor edits due to the patch failing to apply properly and CheckStyle failing. In the future, you should build with the -Psourcecheck option to ensure proper formatting.
I think before you move on to any other languages, we should get the ability to actually view the RouteDefinitions as Groovy/Ruby in the editor. Your current work only involves saving the route as another language.
James has an idea about this for a future version of Camel (see http://issues.apache.org/activemq/browse/CAMEL-1389), but you can also brainstorm another solution if you like.
> Groovy Route Editor for WebConsole
> ----------------------------------
>
> Key: CAMEL-1655
> URL: https://issues.apache.org/activemq/browse/CAMEL-1655
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-web
> Reporter: Jonathan Anstey
> Assignee: Xueqiang Mi
> Attachments: camel-web-20090611.patch
>
>
> Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this JIRA for review. See http://cwiki.apache.org/confluence/display/CAMEL/GSoC+2009 for more info on the project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.