Re: GraphQL API for OFBiz

2020-03-26 Thread Pierre Smits
Great initiative, Girish.

Op do 26 mrt. 2020 16:48 schreef Girish Vasmatkar <
girish.vasmat...@hotwaxsystems.com>:

> Hi All
>
> I'm planning an introduction of the OFBiz-GraphQL component that we have
> developed so far. Please find below the hangout meet details -
>
> Date : 03/27/2020 9:00 PM IST, 11:30 AM EST, 3:30 PM GMT.
> Join Hangout Meet : https://meet.google.com/gja-jdwt-wpi
> Join By Phone : +1 661-237-5173‬ PIN: ‪585 477 050‬#
>
> Meeting agenda -
>
>- GraphQL briefing
>   - Queries
>   - Mutations
>- OFBiz-GraphQL component
>   - Architecture
>   - Entity Fetchers
>   - Service Fetchers
>- What Next
>   - Pagination
>   - Interface
>   - Batching
>   - Subscriptions
>
>
> Best Regards
> Girish Vasmatkar
>
>
>
> On Wed, Feb 12, 2020 at 7:04 PM Girish Vasmatkar <
> girish.vasmat...@hotwaxsystems.com> wrote:
>
> > Thanks Pierre.
> >
> > Here's the ticket for the same. I'll keep posting updates to it.
> >
> > https://issues.apache.org/jira/browse/OFBIZ-11347
> >
> > Best,
> > Girish
> >
> > On Mon, Feb 10, 2020 at 4:48 PM Pierre Smits 
> > wrote:
> >
> >> Hi Girish,
> >>
> >> Thank you for making the greater OFBiz community aware of this
> endeavour.
> >> I
> >> welcome such initiatives as it increases the appeal of our main product.
> >> Not only does it increase the appeal of OFBiz for (potential) adopters,
> >> but
> >> it may also lead to more parties willing to contribute.
> >>
> >> Best regards,
> >>
> >> Pierre Smits
> >> *Proud* *contributor* (but without privileges)* of* Apache OFBiz
> >> , since 2008
> >>
> >> *Apache Trafodion , Vice President*
> >> *Apache Directory , PMC Member*
> >> Apache Incubator , committer
> >> Apache Steve , committer
> >>
> >>
> >> On Mon, Feb 10, 2020 at 11:40 AM Girish Vasmatkar <
> >> girish.vasmat...@hotwaxsystems.com> wrote:
> >>
> >> > Hello
> >> >
> >> > I had been working on adding GraphQL support to OFBiz and could come
> up
> >> > with something that might be of interest to the community. Wanted to
> >> gauge
> >> > community's interest on the same.
> >> >
> >> > Essentially, I have first tried to enable GraphQL support such that
> >> OFBiz
> >> > is able to server GraphQL queries, mutations and subscriptions as per
> >> the
> >> > GraphQL specification (http://spec.graphql.org/). The Java GraphQL
> >> library
> >> > mostly takes care of it.
> >> >
> >> > The other major part is writing GraphQL schema and I have tried to
> >> include
> >> > both SDL and programmatic approach to generate the schema. Included a
> >> demo
> >> > query in the SDL approach to showcase hw OFBiz can server GraphQL
> >> requests.
> >> >
> >> > This is the part that I feel needs more work in order to make it more
> >> > generalised and I am still working on this.
> >> >
> >> > I have included GraphiQL(https://github.com/graphql/graphiql) and
> >> > Playground (https://github.com/prisma-labs/graphql-playground) as two
> >> > visual editor tools as well.
> >> >
> >> > Here's the github link for the plug in.
> >> > https://github.com/hotwax/ofbiz-graphql
> >> >
> >> > Any feedback, questions, concerns or suggestions are welcome.
> >> >
> >> > Best,
> >> > Girish
> >> >
> >>
> >
>


Re: GraphQL API for OFBiz

2020-03-26 Thread Girish Vasmatkar
Hi All

I'm planning an introduction of the OFBiz-GraphQL component that we have
developed so far. Please find below the hangout meet details -

Date : 03/27/2020 9:00 PM IST, 11:30 AM EST, 3:30 PM GMT.
Join Hangout Meet : https://meet.google.com/gja-jdwt-wpi
Join By Phone : +1 661-237-5173‬ PIN: ‪585 477 050‬#

Meeting agenda -

   - GraphQL briefing
  - Queries
  - Mutations
   - OFBiz-GraphQL component
  - Architecture
  - Entity Fetchers
  - Service Fetchers
   - What Next
  - Pagination
  - Interface
  - Batching
  - Subscriptions


Best Regards
Girish Vasmatkar



On Wed, Feb 12, 2020 at 7:04 PM Girish Vasmatkar <
girish.vasmat...@hotwaxsystems.com> wrote:

> Thanks Pierre.
>
> Here's the ticket for the same. I'll keep posting updates to it.
>
> https://issues.apache.org/jira/browse/OFBIZ-11347
>
> Best,
> Girish
>
> On Mon, Feb 10, 2020 at 4:48 PM Pierre Smits 
> wrote:
>
>> Hi Girish,
>>
>> Thank you for making the greater OFBiz community aware of this endeavour.
>> I
>> welcome such initiatives as it increases the appeal of our main product.
>> Not only does it increase the appeal of OFBiz for (potential) adopters,
>> but
>> it may also lead to more parties willing to contribute.
>>
>> Best regards,
>>
>> Pierre Smits
>> *Proud* *contributor* (but without privileges)* of* Apache OFBiz
>> , since 2008
>>
>> *Apache Trafodion , Vice President*
>> *Apache Directory , PMC Member*
>> Apache Incubator , committer
>> Apache Steve , committer
>>
>>
>> On Mon, Feb 10, 2020 at 11:40 AM Girish Vasmatkar <
>> girish.vasmat...@hotwaxsystems.com> wrote:
>>
>> > Hello
>> >
>> > I had been working on adding GraphQL support to OFBiz and could come up
>> > with something that might be of interest to the community. Wanted to
>> gauge
>> > community's interest on the same.
>> >
>> > Essentially, I have first tried to enable GraphQL support such that
>> OFBiz
>> > is able to server GraphQL queries, mutations and subscriptions as per
>> the
>> > GraphQL specification (http://spec.graphql.org/). The Java GraphQL
>> library
>> > mostly takes care of it.
>> >
>> > The other major part is writing GraphQL schema and I have tried to
>> include
>> > both SDL and programmatic approach to generate the schema. Included a
>> demo
>> > query in the SDL approach to showcase hw OFBiz can server GraphQL
>> requests.
>> >
>> > This is the part that I feel needs more work in order to make it more
>> > generalised and I am still working on this.
>> >
>> > I have included GraphiQL(https://github.com/graphql/graphiql) and
>> > Playground (https://github.com/prisma-labs/graphql-playground) as two
>> > visual editor tools as well.
>> >
>> > Here's the github link for the plug in.
>> > https://github.com/hotwax/ofbiz-graphql
>> >
>> > Any feedback, questions, concerns or suggestions are welcome.
>> >
>> > Best,
>> > Girish
>> >
>>
>


Re: [TEST] Test "POC for CSRF Token"

2020-03-26 Thread James Yong
+1 with CSRF defense enabled in Demo
 
> Hi,
> 
> I thought about that a bit more. I suggest to let the stable version (soon, 
> R17) as is, ie with  CSRF defense enabled. This way users, mostly 
> interested in stable, would  see the real situation.
> 
> And to use the NoCsrfDefenseStrategy in trunk. So developers, often brought 
> to use the trunk for development reasons, would have more latitude; as 
> they certainly will do locally.
> 
> If nobody disagree we will do so at 
> https://issues.apache.org/jira/browse/OFBIZ-11472 with Swapnil
> 
> If we do so, the link 
> https://demo-stable.ofbiz.apache.org/ordermgr/control/main?USERNAME=admin=ofbiz=Y
>  will no longer work.
> 
> https://demo-stable.ofbiz.apache.org/ordermgr should be used and we need to 
> update https://ofbiz.apache.org/ofbiz-demos.html for that.
> 
> Jacques
> 
>