Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9758

Document data injection via the REST API

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6
    • None
    • documentation
    • None
    • Docs Required

    Description

      There should a documentation on how to post data via the REST API.
       
      Just to capture what was proposed by ilyak over email:
       

      REST API will convert complex BinaryObjects into JSON 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.
       
      This interface should be used:
      https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/ConnectorMessageInterceptor.html. You need to put it into ConnectorConfiguration, which you should put into IgniteConfiguration.

      Attachments

        Activity

          People

            pgarg Prachi Garg
            pavel.petroshenko Pavel Petroshenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: