I've prepared a working example here:
https://github.com/ptupitsyn/ignite-net-examples/tree/master/REST-API-config
1. To enable Ignite REST API, we have to add ignite-rest-http module to the
classpath (IgniteConfiguration.JvmClasspath)
This exposes the API on port 8080
2. To tweak REST API config
Hi,
Thanks for the tips.. in spring config XML, what's kind of configuration
need to add for rest http module..
What's the property name in config XML ?so that I can mention the path of
rest http module...
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Hi,
There is a solution in the thread that you have linked.
IgniteConfiguratuion.SpringConfigUrl allows us to configure REST API with
Spring.
Does this work for you?
On Sat, Apr 4, 2020 at 10:03 AM JP wrote:
> Hi, is there any workaround to configure an HTTP rest endpoints in dot net
> nodes?
Hi, is there any workaround to configure an HTTP rest endpoints in dot net
nodes?
http://apache-ignite-users.70518.x6.nabble.com/REST-API-Configuration-for-Ignite-net-td11879.html
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
You can combine app.config and Spring XML.
app.config:
http://ignite.apache.org/schema/dotnet/IgniteConfigurationSection";
springConfigUrl="my-spring-config.xml">
-Xms512m
-Xmx702m
-DOPT25
Note that it points
Thanks, Pavel
In fact I already understand that I have to use spring xml, but I couldn't
find how to configure the REST API in spring xml.
At app.config, I can set some options like this:
-Xmx5g
-XX:ParallelGCThreads=8
-XX:ConcGCThreads=8
-XX:+UseG1GC-->
Ignite.NET does not support such things in configuration natively,
but you can always configure them in Spring XML and use
IgniteConfiguration.SpringConfigUrl property to specify the path.
Ignite will load Spring XML first, then apply all non-default properties
from .NET IgniteConfiguration on top
I previously opened a thread here:
http://apache-ignite-users.70518.x6.nabble.com/Configuration-using-spring-xml-log4j-error-td11872.html
But I think in that thread I made things complicated. My simpler question
is: how to configure REST API for Ignite.net?
By default, it uses 8080 port and I suc