Re: ComplexObjects via REST API?

2018-09-30 Thread Pavel Petroshenko
Thanks, Ilya.

> REST API will convert complex BinaryObjects into REST by default

You mean "into JSON"?

Is this documented anywhere? Any examples that you can share a link to?

P.

On Sun, Sep 30, 2018 at 10:06 PM Ilya Kasnacheev 
wrote:

> Hello!
>
> Yes, this is supported. REST API will convert complex BinaryObjects into
> REST by default. But to put such objects via REST you will need to define
> your own ConnectorMessageInterceptor and plug it in. You will need to
> define string to entity mapping in onReceive. You can leave onSend
> returning arg.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> пн, 1 окт. 2018 г. в 3:51, Pavel Petroshenko :
>
> > Igniters,
> >
> > Is there a way to put user defined objects (in BinaryObject or whatever
> > another format) via the REST APIs [1]? According to the docs it's not
> > supported, but I wonder if by any chance it's implemented somewhere and
> is
> > just not officially released yet...
> >
> > Thanks,
> > Pavel
> >
> > [1] https://apacheignite.readme.io/docs/rest-api
> >
>


Re: ComplexObjects via REST API?

2018-09-30 Thread Ilya Kasnacheev
Hello!

Yes, this is supported. REST API will convert complex BinaryObjects into
REST by default. But to put such objects via REST you will need to define
your own ConnectorMessageInterceptor and plug it in. You will need to
define string to entity mapping in onReceive. You can leave onSend
returning arg.

Regards,
-- 
Ilya Kasnacheev


пн, 1 окт. 2018 г. в 3:51, Pavel Petroshenko :

> Igniters,
>
> Is there a way to put user defined objects (in BinaryObject or whatever
> another format) via the REST APIs [1]? According to the docs it's not
> supported, but I wonder if by any chance it's implemented somewhere and is
> just not officially released yet...
>
> Thanks,
> Pavel
>
> [1] https://apacheignite.readme.io/docs/rest-api
>


ComplexObjects via REST API?

2018-09-30 Thread Pavel Petroshenko
Igniters,

Is there a way to put user defined objects (in BinaryObject or whatever
another format) via the REST APIs [1]? According to the docs it's not
supported, but I wonder if by any chance it's implemented somewhere and is
just not officially released yet...

Thanks,
Pavel

[1] https://apacheignite.readme.io/docs/rest-api