GORM with REST API

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

GORM with REST API

Hyun Jeong
Hello,
Based on discussions in this group and StackOverflow, the GORM REST client plugin seems to have been abandoned. I do see some recent activity on the rest-client project in grails-data-mapping and was wondering if there are any plans to make it grails 3 compatible? I'd like to contribute and would appreciate any guidance.
Thanks!
Hyun

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/4d7c6661-bc6b-4efa-b63d-97615d0c1828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: GORM with REST API

Jeff Brown

> On Nov 10, 2015, at 2:02 AM, Hyun Jeong <[hidden email]> wrote:
>
> Hello,
> Based on discussions in this group and StackOverflow, the GORM REST client plugin seems to have been abandoned. I do see some recent activity on the rest-client project in grails-data-mapping and was wondering if there are any plans to make it grails 3 compatible? I'd like to contribute and would appreciate any guidance.
> Thanks!
> Hyun
>

Would the plugin do anything aside from add a dependency on the library?



JSB


Jeff Scott Brown
Principal Software Engineer
Grails Development Team
Object Computing Inc.
http://www.ociweb.com/

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
http://www.autismspeaks.org/

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/78926204-4928-4847-BA38-97097EBC8005%40ociweb.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: GORM with REST API

Hyun Jeong
For the "plugin" part, the work seems to require updating GormRestClientGrailsPlugin.  Not sure what the state is for the "grails-datastore-gorm-rest-client" project, but seems to require a spring initializer and maybe some other changes.  I was hoping to get some guidance on making those changes and eventually submitting a pull request.

On Monday, November 9, 2015 at 8:54:58 PM UTC-8, Jeff Scott Brown wrote:

> On Nov 10, 2015, at 2:02 AM, Hyun Jeong <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="EGF2huK-EQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">hje...@...> wrote:
>
> Hello,
> Based on discussions in this group and StackOverflow, the GORM REST client plugin seems to have been abandoned. I do see some recent activity on the rest-client project in grails-data-mapping and was wondering if there are any plans to make it grails 3 compatible? I'd like to contribute and would appreciate any guidance.
> Thanks!
> Hyun
>

Would the plugin do anything aside from add a dependency on the library?



JSB


Jeff Scott Brown
Principal Software Engineer
Grails Development Team
Object Computing Inc.
<a href="http://www.ociweb.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q&#39;;return true;">http://www.ociweb.com/

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
<a href="http://www.autismspeaks.org/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ&#39;;return true;">http://www.autismspeaks.org/

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: GORM with REST API

Graeme Rocher-2
I plan to pick up the work on GORM REST Client again soon to make a 3.x compatible version

Thanks

On 10 Nov 2015, at 18:06, Hyun Jeong <[hidden email]> wrote:

For the "plugin" part, the work seems to require updating GormRestClientGrailsPlugin.  Not sure what the state is for the "grails-datastore-gorm-rest-client" project, but seems to require a spring initializer and maybe some other changes.  I was hoping to get some guidance on making those changes and eventually submitting a pull request.

On Monday, November 9, 2015 at 8:54:58 PM UTC-8, Jeff Scott Brown wrote:

> On Nov 10, 2015, at 2:02 AM, Hyun Jeong <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="EGF2huK-EQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;" class="">hje...@...> wrote:
>
> Hello,
> Based on discussions in this group and StackOverflow, the GORM REST client plugin seems to have been abandoned. I do see some recent activity on the rest-client project in grails-data-mapping and was wondering if there are any plans to make it grails 3 compatible? I'd like to contribute and would appreciate any guidance.
> Thanks!
> Hyun
>

Would the plugin do anything aside from add a dependency on the library?



JSB


Jeff Scott Brown
Principal Software Engineer
Grails Development Team
Object Computing Inc.
<a href="http://www.ociweb.com/" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q';return true;" class="">http://www.ociweb.com/

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
<a href="http://www.autismspeaks.org/" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ';return true;" class="">http://www.autismspeaks.org/


--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/212CCB34-AA6A-48F5-B513-5F925D3F79AA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: GORM with REST API

bobbywarner
Hi Hyun,

Just add this to your build.gradle file.

    compile('org.grails:grails-datastore-rest-client:4.0.7.RELEASE') {
        exclude group: 'javax.servlet', module: 'javax.servlet-api'
        exclude group: 'commons-codec', module: 'commons-codec'
        exclude group: 'org.grails', module: 'grails-plugin-converters'
        exclude group: 'org.grails', module: 'grails-core'
        exclude group: 'org.grails', module: 'grails-web'
    }

That's all the plugin (currently) does anyway.


Hope that helps!
Bobby

On Thursday, November 19, 2015 at 6:49:38 AM UTC-6, Graeme Rocher wrote:
I plan to pick up the work on GORM REST Client again soon to make a 3.x compatible version

Thanks

On 10 Nov 2015, at 18:06, Hyun Jeong <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="-m4PmgKcFAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">hje...@...> wrote:

For the "plugin" part, the work seems to require updating GormRestClientGrailsPlugin.  Not sure what the state is for the "grails-datastore-gorm-rest-client" project, but seems to require a spring initializer and maybe some other changes.  I was hoping to get some guidance on making those changes and eventually submitting a pull request.

On Monday, November 9, 2015 at 8:54:58 PM UTC-8, Jeff Scott Brown wrote:

> On Nov 10, 2015, at 2:02 AM, Hyun Jeong <[hidden email]> wrote:
>
> Hello,
> Based on discussions in this group and StackOverflow, the GORM REST client plugin seems to have been abandoned. I do see some recent activity on the rest-client project in grails-data-mapping and was wondering if there are any plans to make it grails 3 compatible? I'd like to contribute and would appreciate any guidance.
> Thanks!
> Hyun
>

Would the plugin do anything aside from add a dependency on the library?



JSB


Jeff Scott Brown
Principal Software Engineer
Grails Development Team
Object Computing Inc.
<a href="http://www.ociweb.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q&#39;;return true;">http://www.ociweb.com/

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
<a href="http://www.autismspeaks.org/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ&#39;;return true;">http://www.autismspeaks.org/


--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="-m4PmgKcFAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-dev-discuss+unsubscribe@....
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="-m4PmgKcFAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-de...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;">https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/22bbb93c-54cd-41e5-895e-3d43f4030ad9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: GORM with REST API

Hyun Jeong
Thanks Bobby.  The plugin also calls the GORM enhancer on the domain classes.  I ended up creating my own plugin that includes "grails-datastore-rest-client" as a dependency like you mentioned and also wires the GORM API.

On Wednesday, November 25, 2015 at 8:28:43 AM UTC-8, Bobby Warner wrote:
Hi Hyun,

Just add this to your build.gradle file.

    compile('org.grails:grails-datastore-rest-client:4.0.7.RELEASE') {
        exclude group: 'javax.servlet', module: 'javax.servlet-api'
        exclude group: 'commons-codec', module: 'commons-codec'
        exclude group: 'org.grails', module: 'grails-plugin-converters'
        exclude group: 'org.grails', module: 'grails-core'
        exclude group: 'org.grails', module: 'grails-web'
    }

That's all the plugin (currently) does anyway.


Hope that helps!
Bobby

On Thursday, November 19, 2015 at 6:49:38 AM UTC-6, Graeme Rocher wrote:
I plan to pick up the work on GORM REST Client again soon to make a 3.x compatible version

Thanks

On 10 Nov 2015, at 18:06, Hyun Jeong <[hidden email]> wrote:

For the "plugin" part, the work seems to require updating GormRestClientGrailsPlugin.  Not sure what the state is for the "grails-datastore-gorm-rest-client" project, but seems to require a spring initializer and maybe some other changes.  I was hoping to get some guidance on making those changes and eventually submitting a pull request.

On Monday, November 9, 2015 at 8:54:58 PM UTC-8, Jeff Scott Brown wrote:

> On Nov 10, 2015, at 2:02 AM, Hyun Jeong <[hidden email]> wrote:
>
> Hello,
> Based on discussions in this group and StackOverflow, the GORM REST client plugin seems to have been abandoned. I do see some recent activity on the rest-client project in grails-data-mapping and was wondering if there are any plans to make it grails 3 compatible? I'd like to contribute and would appreciate any guidance.
> Thanks!
> Hyun
>

Would the plugin do anything aside from add a dependency on the library?



JSB


Jeff Scott Brown
Principal Software Engineer
Grails Development Team
Object Computing Inc.
<a href="http://www.ociweb.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q&#39;;return true;">http://www.ociweb.com/

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
<a href="http://www.autismspeaks.org/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ&#39;;return true;">http://www.autismspeaks.org/


--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-discuss+[hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;">https://groups.google.com/d/msgid/grails-dev-discuss/751fa852-27dd-47ce-8461-a2941eae3fbe%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/179ba7fe-cdc6-4394-befa-ade077123a26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.