Quantcast

New Plugin Request

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

New Plugin Request

johnrengelman
I've started work on a Grails plugin for Spring Batch, I'm going to be incrementally adding functionality to it, so the first release will be very basic.

My grails.org username is: jengelman

Plugins:
grails-spring-batch
grails-spring-batch-admin

--
John

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New Plugin Request

mlawler
Hi John,

I will be interested in what you come up with. We've been using spring-batch with grails in an enterprise data app for a while now.

regards,
Michael

On 12/04/2012, at 9:03 AM, John Engelman wrote:

> I've started work on a Grails plugin for Spring Batch, I'm going to be incrementally adding functionality to it, so the first release will be very basic.
>
> My grails.org username is: jengelman
>
> Plugins:
> grails-spring-batch
> grails-spring-batch-admin
>
> --
> John
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New Plugin Request

a.shneyderman
In reply to this post by johnrengelman
do you have a github repo? I would be interested in using/contributing.

On Thu, Apr 12, 2012 at 1:03 AM, John Engelman
<[hidden email]> wrote:

> I've started work on a Grails plugin for Spring Batch, I'm going to be
> incrementally adding functionality to it, so the first release will be very
> basic.
>
> My grails.org username is: jengelman
>
> Plugins:
> grails-spring-batch
> grails-spring-batch-admin
>
> --
> John
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New Plugin Request

pledbrook
In reply to this post by johnrengelman
> I've started work on a Grails plugin for Spring Batch, I'm going to be
> incrementally adding functionality to it, so the first release will be very
> basic.
>
> My grails.org username is: jengelman
>
> Plugins:
> grails-spring-batch
> grails-spring-batch-admin

Permission granted.

--
Peter Ledbrook
Grails Advocate
SpringSource - A Division of VMware

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New Plugin Request

johnrengelman
In reply to this post by a.shneyderman
Repos are at:

I have a very basic implementation in the core project that provides new Grails Artefacts types for Job, Step, and Tasklet. I thought about it some more last night and I'm going to change it up a bit. My goal is to be able to declare the following class:
class FooJob {
   def static stepOrder = ['process', 'report']
}

class FooProcessStep {
   def static tasklet = true
}

class FooReportStep {}

class FooProcessTasklet {}

and this will all get wired up inside of Spring Batch without any XML. I also plan to automatically detect things like Validators and Listeners using convention.

As for the Spring Batch Admin, I tried to add the spring batch admin project to my Grails project and exposes it's Spring MVC framework, but I couldn't get it to work properly. I could get the main page to display at my specified servletPath (/batch in this case), but none of the sub pages would get picked up (like /batch/jobs). I've never used Spring MVC by itself, so I'm sure it's just some knowledge I don't have. It appears that the GrailsServletDispatcher is handling my requests for the sub pages. If someone wants to look at that, that would be awesome. My thought is that the Spring Batch Admin plugin would provide the generic Spring Batch Admin pages tied to the dataSource bean defined by the Grails application…thus again, no configuration.

I also need to add scripts to the core plugin to add the spring batch tables….though I'm not sure how to get the tables dynamically added by GORM unless I create domain objects for them…which I guess is a possibility.

--
John

On Thursday, April 12, 2012 at 1:13 AM, Alex Shneyderman wrote:

do you have a github repo? I would be interested in using/contributing.

On Thu, Apr 12, 2012 at 1:03 AM, John Engelman
I've started work on a Grails plugin for Spring Batch, I'm going to be
incrementally adding functionality to it, so the first release will be very
basic.

My grails.org username is: jengelman

Plugins:
grails-spring-batch
grails-spring-batch-admin

--
John

---------------------------------------------------------------------
To unsubscribe from this list, please visit:


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New Plugin Request

johnrengelman
In reply to this post by pledbrook
Peter -
I'm having problems publishing to Grails Central.
I receive the following when attempting to publish:
$grails publish-plugin
application.properties found, using $GRAILS_HOME of /Users/john/devtools/grails/grails-2.0.3
| Plugin packaged grails-spring-batch-0.1.zip
| Plugin packaged grails-spring-batch-0.1.zip
| POM generated: /Users/john/workspace/grails-spring-batch/target/pom.xml
WARN: No SCM provider installed.
Publishing to Grails Central
Publishing to http://grails.org/api/v1.0/publish/spring-batch/0.1
| Error Error executing script PublishPlugin: java.lang.RuntimeException: Server returned error deploying to Grails central repository: 302 (Use --stacktrace to see the full trace)

I think I saw a message about this before and it something wrong with the permission string for the user. Would you mind taking a look? Thanks!

--
John

On Thursday, April 12, 2012 at 2:50 AM, Peter Ledbrook wrote:

I've started work on a Grails plugin for Spring Batch, I'm going to be
incrementally adding functionality to it, so the first release will be very
basic.

My grails.org username is: jengelman

Plugins:
grails-spring-batch
grails-spring-batch-admin

Permission granted.

--
Peter Ledbrook
Grails Advocate
SpringSource - A Division of VMware

---------------------------------------------------------------------
To unsubscribe from this list, please visit:


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New Plugin Request

pledbrook
> Publishing to http://grails.org/api/v1.0/publish/spring-batch/0.1

I now realise we need to be clearer on what constitutes the plugin
name :) I added permissions for 'grails-spring-batch' as per the
request but the name is in fact 'spring-batch'. A touch confusing I
know, sorry.

Anyway, please try again and let us know if it works.

Peter

--
Peter Ledbrook
Grails Advocate
SpringSource - A Division of VMware

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New Plugin Request

johnrengelman
Ah yes. Sorry about that on my side too. 

-- 
John Engelman
Sent with Sparrow

On Friday, April 13, 2012 at 2:49 AM, Peter Ledbrook wrote:

Publishing to http://grails.org/api/v1.0/publish/spring-batch/0.1

I now realise we need to be clearer on what constitutes the plugin
name :) I added permissions for 'grails-spring-batch' as per the
request but the name is in fact 'spring-batch'. A touch confusing I
know, sorry.

Anyway, please try again and let us know if it works.

Peter

--
Peter Ledbrook
Grails Advocate
SpringSource - A Division of VMware

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Loading...