IGNITE-12799

2020-03-18 Thread Sergey Chernolyas
Hi igniters!

I ask to review  PR for issue
https://issues.apache.org/jira/browse/IGNITE-12799 . My PR is approved by
TeamCity and ready for merge.

-- 
-

With best regards, Sergey Chernolyas


[jira] [Created] (IGNITE-12799) Set right SpEL at test

2020-03-18 Thread Sergey Chernolyas (Jira)
Sergey Chernolyas created IGNITE-12799:
--

 Summary: Set right SpEL at test
 Key: IGNITE-12799
 URL: https://issues.apache.org/jira/browse/IGNITE-12799
 Project: Ignite
  Issue Type: Bug
  Components: spring
Affects Versions: 2.8.1
Reporter: Sergey Chernolyas
Assignee: Sergey Chernolyas
 Fix For: 2.8.1






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Apache Ignite 2.8.1 RELEASE [Time, Scope, Manager]

2020-03-12 Thread Sergey Chernolyas
Hi!

I don't see  https://issues.apache.org/jira/browse/IGNITE-12582 in future
release plan. Append it too, please

On Thu, 12 Mar 2020 at 17:12, Ilya Kasnacheev 
wrote:

> Hello!
>
> I have marked https://issues.apache.org/jira/browse/IGNITE-12672 to 2.8.1
> since it is an important Spring Data issue with trivial fix.
>
> "Query annotations are not working if statement keywords are in lower case"
>
> We should make sure that all fixes in 2.8.1 also end up in master - needs
> to be re-checked after 2.8.1 freeze, perhaps.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> чт, 12 мар. 2020 г. в 17:05, Maxim Muzafarov :
>
> > Igniters,
> >
> >
> > Let's start a discussion about the next Apache Ignite 2.8.1 bugfix
> > release. The following things need to be discussed:
> >  - time/deadlines
> >  - scope of the release
> >  - a release manager candidate
> >
> >
> > My personal vision that the 2.8.1 release is a bugfix release, so
> > `improvement` issues are not allowed. Anyway, it's up to the release
> > manager which issues can be included but I think the scope must be
> > discussed with the whole community prior to cherry-picking PRs.
> >
> > I've prepared the wiki page [1] with the list of current bugs which
> > needs to be resolved and a release dates. The ignite-2.8.1 [2] branch
> > has been also created.
> >
> >
> > I propose the following dates for 2.8.1 release:
> > Scope Freeze: April 15, 2020
> > Code Freeze: April 22, 2020
> > Voting Date: April 27, 2020
> > Release Date: May 1, 2020
> >
> >
> > Please, share your thoughts.
> >
> >
> > [1]
> https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+2.8.1
> > [2] https://github.com/apache/ignite/tree/ignite-2.8.1
> >
>


-- 
-

With best regards, Sergey Chernolyas


[jira] [Created] (IGNITE-12643) It is needed to set used cache for Spring Data dynamically

2020-02-08 Thread Sergey Chernolyas (Jira)
Sergey Chernolyas created IGNITE-12643:
--

 Summary: It is needed to set used cache for Spring Data dynamically
 Key: IGNITE-12643
 URL: https://issues.apache.org/jira/browse/IGNITE-12643
 Project: Ignite
  Issue Type: New Feature
  Components: documentation
Reporter: Sergey Chernolyas






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Update documentation about using Spring Data for Ignite

2020-02-07 Thread Sergey Chernolyas
Hi igniters!

Feature, which I working on, requires to update the page
https://apacheignite-mix.readme.io/docs/spring-data#section-apache-ignite-repository
.
Because the feature provides additional way to link Spring repository with
particular cache.
I think It is required additional example of code.

-- 
-

With best regards, Sergey Chernolyas


Re: [IGNITE-12582] Configuration by property

2020-02-04 Thread Sergey Chernolyas
Ivan,

Thanks. I have answered.


On Tue, 4 Feb 2020 at 15:03, Ivan Pavlukhin  wrote:

> Sergey,
>
> Thank you for your efforts! I left some comments in the ticket [1].
>
> [1] https://issues.apache.org/jira/browse/IGNITE-12582
>
> сб, 1 февр. 2020 г. в 18:35, Sergey Chernolyas <
> sergey.chernol...@gmail.com>:
> >
> > Hi Ivan!
> >
> > https://github.com/apache/ignite/pull/7347 . It is link to PR.
> Criticism
> > is welcome :-)
> >
> > On Sat, 1 Feb 2020 at 18:15, Ivan Pavlukhin  wrote:
> >
> > > Sergey,
> > >
> > > Could you please share your prototype, I would like to have a look.
> > >
> > > сб, 1 февр. 2020 г. в 16:59, schernolyas  >:
> > > >
> > > > Hi Ivan !
> > > >
> > > > Yes, I have the prototype.  Right now, main question is can we remove
> > > spring
> > > > data modules into project with extensions for Ignite.
> > > >
> > > >
> > > >
> > > > --
> > > > Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Ivan Pavlukhin
> > >
> >
> >
> > --
> > -
> >
> > With best regards, Sergey Chernolyas
>
>
>
> --
> Best regards,
> Ivan Pavlukhin
>


-- 
-

With best regards, Sergey Chernolyas


Move Spring Data modules into Ignite extension project

2020-02-02 Thread Sergey Chernolyas
Hi igniters!

I would ask the community to allow for moving Spring Data modules to
project Ignite extensions.  The base reason for it is Spring Data modules
aren’t Ignite modules. They are modules which allow using Ignite more
simpler and corresponds to Spring Framework. I mean that the modules isn’t
included to Ignite core, they are implementation of Spring Data interface.
I think it is more logical to move the modules to extension project. Plus,
Ignite (and its core modules)  has long development cycle (about 6 months).
It is an additional reason to move modules with short development cycle to
extension project.

May we do it? When (which release for?) and how?

-

With best regards, Sergey Chernolyas


Re: [IGNITE-12582] Configuration by property

2020-02-01 Thread Sergey Chernolyas
Hi Ivan!

https://github.com/apache/ignite/pull/7347 . It is link to PR.  Criticism
is welcome :-)

On Sat, 1 Feb 2020 at 18:15, Ivan Pavlukhin  wrote:

> Sergey,
>
> Could you please share your prototype, I would like to have a look.
>
> сб, 1 февр. 2020 г. в 16:59, schernolyas :
> >
> > Hi Ivan !
> >
> > Yes, I have the prototype.  Right now, main question is can we remove
> spring
> > data modules into project with extensions for Ignite.
> >
> >
> >
> > --
> > Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
>
>
>
> --
> Best regards,
> Ivan Pavlukhin
>


-- 
-

With best regards, Sergey Chernolyas


[IGNITE-12582] Configuration by property

2020-01-30 Thread Sergey Chernolyas
Hi igniters!

Presently, Spring Data for Ignite can't be configured dynamically. I mean ,
than I defines repository by the code:

@Repository
@RepositoryConfig(cacheName = "Calendar")
public interface CalendarRepository extends IgniteRepository {
List findByName(String name);
}

But I need to configure used cache dynamically ( at runtime). To solve
this problem is proposed to use Spring Expression Language. By the
way, I will have possibility to use the code:

@Repository
@RepositoryConfig(cacheName = "${cache.calendar.name}")
public interface CalendarRepository extends IgniteRepository {
List findByName(String name);
}

And property "cache.calendar.name" can be configured as usual property
at Spring Framework.

But way brakes current configuration way and I would ask about how we
can set cache name by  expression or constant string.

I see options:

1) field "cacheName" will be able to process expression and constant
string. The code of repository factory will analyse the field.

2) create new field for expressions


What is best way?


-- 
---------

With best regards, Sergey Chernolyas


[IGNITE-12582] Configuration by property

2020-01-30 Thread Sergey Chernolyas
Hi igniters!

I would ask you to estimate the proposed solution and say how correct is.
It is proposed to set repository name by Spring Expression Language.
But ... it leads one question for discussion.
Where do we need to write the expression?
I see two options:
1) at field "cacheName". The code will analyse type of content (clear
string or expression)
2) at new field.
I mean annotation
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/springdata20/repository/config/RepositoryConfig.html


-- 
-

With best regards, Sergey Chernolyas


Re: [IGNITE-12582] Configuration by property

2020-01-29 Thread Sergey Chernolyas
Hi!

Main subject is the example
https://apacheignite-mix.readme.io/docs/spring-data#section-apache-ignite-repository
demonstrates
mapping between particular repository and particular cache  by annotation
"RepositoryConfig".
I need to do it by spring configuration. For example, property "
*spring.data.mongodb.uri*" from spring data repository for mongodb

On Wed, 29 Jan 2020 at 15:16, Sergey Chernolyas 
wrote:

> Hi!
>
>   It is seemed what I need.
>
> On Wed, 29 Jan 2020 at 15:14, Nikolay Izhikov  wrote:
>
>> Hello, Sergey.
>>
>> What is «repository»? How it relates to the Ignite?
>>
>> ignite-spring-boot-autoconfigure confirms your requirements?
>>
>>
>> https://github.com/apache/ignite-extensions/blob/master/modules/spring-boot-autoconfigure/examples/main/resources/application.yml
>>
>> ```
>> ignite:
>>   igniteInstanceName: properties-instance-name
>>   communicationSpi:
>> localPort: 
>>   dataStorageConfiguration:
>> defaultDataRegionConfiguration:
>>   initialSize: 10485760 #10MB
>> dataRegionConfigurations:
>>   - name: my-dataregion
>> initialSize: 104857600 #100MB
>>   cacheConfiguration:
>> - name: accounts
>>   queryEntities:
>>   - tableName: ACCOUNTS
>> keyFieldName: ID
>> keyType: java.lang.Long
>> valueType: java.lang.Object
>>     fields:
>>   ID: java.lang.Long
>>   amount: java.lang.Double
>>   updateDate: java.util.Date
>> - name: my-cache2
>> ```
>>
>>
>> > 29 янв. 2020 г., в 15:09, Sergey Chernolyas <
>> sergey.chernol...@gmail.com> написал(а):
>> >
>> > Hi Nikolay!
>> > I need to configure particulate repository by usual Spring configuration
>> > without  using
>> >
>> https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/springdata20/repository/config/RepositoryConfig.html
>> >
>> > Am I investing to a bicycle?
>> >
>> > On Wed, 29 Jan 2020 at 14:58, Nikolay Izhikov 
>> wrote:
>> >
>> >> Hello, Sergey.
>> >>
>> >> Your proposal is not clear for me
>> >> Can you, please, describe the issue you are trying to solve?
>> >> And the way you want to do it.
>> >>
>> >>
>> >>> 29 янв. 2020 г., в 14:53, Sergey Chernolyas <
>> sergey.chernol...@gmail.com>
>> >> написал(а):
>> >>>
>> >>> Hi!
>> >>> It is proposed to use the structure for configuration.
>> >>>
>> >>> spring.data.ignite:
>> >>>  - name: cache1
>> >>> sqlSchema: schema1
>> >>> atomicityMode: TRANSACTIONAL_SNAPSHOT
>> >>>  - name: cache2
>> >>> sqlSchema: schema2
>> >>> storeKeepBinary: true
>> >>>  - name: cache3
>> >>>sqlQuery: CREATE TABLE IF NOT EXISTS Person (id int, city_id int,
>> >> name
>> >>> varchar, age int,  company varchar, PRIMARY KEY (id, city_id))
>> >>>
>> >>> Other ideas ?
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> -
>> >>>
>> >>> With best regards, Sergey Chernolyas
>> >>
>> >>
>> >
>> > --
>> > -
>> >
>> > With best regards, Sergey Chernolyas
>>
>>
>
> --
> -
>
> With best regards, Sergey Chernolyas
>


-- 
-

With best regards, Sergey Chernolyas


Re: [IGNITE-12582] Configuration by property

2020-01-29 Thread Sergey Chernolyas
Hi!

  It is seemed what I need.

On Wed, 29 Jan 2020 at 15:14, Nikolay Izhikov  wrote:

> Hello, Sergey.
>
> What is «repository»? How it relates to the Ignite?
>
> ignite-spring-boot-autoconfigure confirms your requirements?
>
>
> https://github.com/apache/ignite-extensions/blob/master/modules/spring-boot-autoconfigure/examples/main/resources/application.yml
>
> ```
> ignite:
>   igniteInstanceName: properties-instance-name
>   communicationSpi:
> localPort: 
>   dataStorageConfiguration:
> defaultDataRegionConfiguration:
>   initialSize: 10485760 #10MB
> dataRegionConfigurations:
>   - name: my-dataregion
> initialSize: 104857600 #100MB
>   cacheConfiguration:
> - name: accounts
>   queryEntities:
>   - tableName: ACCOUNTS
> keyFieldName: ID
> keyType: java.lang.Long
> valueType: java.lang.Object
> fields:
>   ID: java.lang.Long
>   amount: java.lang.Double
>   updateDate: java.util.Date
> - name: my-cache2
> ```
>
>
> > 29 янв. 2020 г., в 15:09, Sergey Chernolyas 
> написал(а):
> >
> > Hi Nikolay!
> > I need to configure particulate repository by usual Spring configuration
> > without  using
> >
> https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/springdata20/repository/config/RepositoryConfig.html
> >
> > Am I investing to a bicycle?
> >
> > On Wed, 29 Jan 2020 at 14:58, Nikolay Izhikov 
> wrote:
> >
> >> Hello, Sergey.
> >>
> >> Your proposal is not clear for me
> >> Can you, please, describe the issue you are trying to solve?
> >> And the way you want to do it.
> >>
> >>
> >>> 29 янв. 2020 г., в 14:53, Sergey Chernolyas <
> sergey.chernol...@gmail.com>
> >> написал(а):
> >>>
> >>> Hi!
> >>> It is proposed to use the structure for configuration.
> >>>
> >>> spring.data.ignite:
> >>>  - name: cache1
> >>> sqlSchema: schema1
> >>> atomicityMode: TRANSACTIONAL_SNAPSHOT
> >>>  - name: cache2
> >>> sqlSchema: schema2
> >>>     storeKeepBinary: true
> >>>  - name: cache3
> >>>sqlQuery: CREATE TABLE IF NOT EXISTS Person (id int, city_id int,
> >> name
> >>> varchar, age int,  company varchar, PRIMARY KEY (id, city_id))
> >>>
> >>> Other ideas ?
> >>>
> >>>
> >>>
> >>> --
> >>> -
> >>>
> >>> With best regards, Sergey Chernolyas
> >>
> >>
> >
> > --
> > -
> >
> > With best regards, Sergey Chernolyas
>
>

-- 
-

With best regards, Sergey Chernolyas


Re: [IGNITE-12582] Configuration by property

2020-01-29 Thread Sergey Chernolyas
Hi Nikolay!
I need to configure particulate repository by usual Spring configuration
without  using
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/springdata20/repository/config/RepositoryConfig.html

Am I investing to a bicycle?

On Wed, 29 Jan 2020 at 14:58, Nikolay Izhikov  wrote:

> Hello, Sergey.
>
> Your proposal is not clear for me
> Can you, please, describe the issue you are trying to solve?
> And the way you want to do it.
>
>
> > 29 янв. 2020 г., в 14:53, Sergey Chernolyas 
> написал(а):
> >
> > Hi!
> > It is proposed to use the structure for configuration.
> >
> > spring.data.ignite:
> >   - name: cache1
> >  sqlSchema: schema1
> >  atomicityMode: TRANSACTIONAL_SNAPSHOT
> >   - name: cache2
> >  sqlSchema: schema2
> >  storeKeepBinary: true
> >   - name: cache3
> > sqlQuery: CREATE TABLE IF NOT EXISTS Person (id int, city_id int,
> name
> > varchar, age int,  company varchar, PRIMARY KEY (id, city_id))
> >
> > Other ideas ?
> >
> >
> >
> > --
> > -
> >
> > With best regards, Sergey Chernolyas
>
>

-- 
-

With best regards, Sergey Chernolyas


[IGNITE-12582] Configuration by property

2020-01-29 Thread Sergey Chernolyas
Hi!
It is proposed to use the structure for configuration.

spring.data.ignite:
   - name: cache1
  sqlSchema: schema1
  atomicityMode: TRANSACTIONAL_SNAPSHOT
   - name: cache2
  sqlSchema: schema2
  storeKeepBinary: true
   - name: cache3
 sqlQuery: CREATE TABLE IF NOT EXISTS Person (id int, city_id int, name
varchar, age int,  company varchar, PRIMARY KEY (id, city_id))

Other ideas ?



-- 
-

With best regards, Sergey Chernolyas


Re: New channel about integration with Spring Framework

2020-01-29 Thread Sergey Chernolyas
Do you mean channel at Telegram ?

On Wed, 29 Jan 2020 at 11:20, Maksim Stepachev 
wrote:

> Okey, but our channel has 90+ active members.
>
> ср, 29 янв. 2020 г. в 11:15, Sergey Chernolyas <
> sergey.chernol...@gmail.com
> >:
>
> > Hi Maksim!
> >
> > The link is unavailable :-(  I can't open it. I think Slack is more
> > preferable.
> >
> > On Wed, 29 Jan 2020 at 11:13, Maksim Stepachev <
> maksim.stepac...@gmail.com
> > >
> > wrote:
> >
> > > Hi,
> > >
> > > Could we use the telegram channel for it for the Russian community?
> > >
> > > https://t.me/RU_Ignite
> > >
> > > ср, 29 янв. 2020 г. в 10:53, Sergey Chernolyas <
> > > sergey.chernol...@gmail.com
> > > >:
> > >
> > > > Hi igniters!
> > > >
> > > > I have created new channel "#ignite-spring-framework" for discussion
> > > about
> > > > integration with Spring Framework.
> > > >
> > > > --
> > > > -
> > > >
> > > > With best regards, Sergey Chernolyas
> > > >
> > >
> >
> >
> > --
> > -
> >
> > With best regards, Sergey Chernolyas
> >
>


-- 
-

With best regards, Sergey Chernolyas


Re: Hello

2020-01-29 Thread Sergey Chernolyas
Hi!

Cool! Thank you very much! Can I put your answer to new channel?  Also ...
do you have Skype,Viber or Whatup for direct communication ?

On Wed, 29 Jan 2020 at 11:19, Maksim Stepachev 
wrote:

> Hi,
>
> I going to work with spring data. My plans add flux and mono to it. A few
> days ago Nikolay Izhikov finished the new spring boot starter.
> https://github.com/apache/ignite-extensions/tree/master/modules
>
> You may add the spring data module.
>
>
> ср, 29 янв. 2020 г. в 10:46, Sergey Chernolyas <
> sergey.chernol...@gmail.com
> >:
>
> > Hi Ivan!
> >
> > Thank you very much for your email. Yes, I need some assistance because I
> > am new at contribution to the the project. But .. I did some PR to Ignite
> > project two years ago. In spice of it, I need a assistance.
> >
> > I have created ticket https://issues.apache.org/jira/browse/IGNITE-12582
> .
> > My customer is needs to the feature and I want to implement it.  I will
> try
> > to configure my developer environment as it wrote in the guide. Also ...
> > do  you know contributors who works with Spring Data?
> >
> >
> > On Wed, 29 Jan 2020 at 08:51, Ivan Pavlukhin 
> wrote:
> >
> > > Hi Sergey,
> > >
> > > Welcome to the Apache Ignite Community.
> > >
> > > Do you need some assistance? Or might be you have something to tell
> > > the Community. Do not hesitate to write back.
> > >
> > > I see that your Jira account was already added to the contributors
> > > list. You can find some contribution guidelines at
> > > https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute
> > >
> > > вт, 28 янв. 2020 г. в 22:26, Sergey Chernolyas <
> > > sergey.chernol...@gmail.com>:
> > >
> > > >
> > > > My jiraId is schernolyas
> > > >
> > > > --
> > > > -
> > > >
> > > > With best regards, Sergey Chernolyas
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Ivan Pavlukhin
> > >
> >
> >
> > --
> > -
> >
> > With best regards, Sergey Chernolyas
> >
>


-- 
-

With best regards, Sergey Chernolyas


Re: New channel about integration with Spring Framework

2020-01-29 Thread Sergey Chernolyas
Hi Maksim!

The link is unavailable :-(  I can't open it. I think Slack is more
preferable.

On Wed, 29 Jan 2020 at 11:13, Maksim Stepachev 
wrote:

> Hi,
>
> Could we use the telegram channel for it for the Russian community?
>
> https://t.me/RU_Ignite
>
> ср, 29 янв. 2020 г. в 10:53, Sergey Chernolyas <
> sergey.chernol...@gmail.com
> >:
>
> > Hi igniters!
> >
> > I have created new channel "#ignite-spring-framework" for discussion
> about
> > integration with Spring Framework.
> >
> > --
> > -
> >
> > With best regards, Sergey Chernolyas
> >
>


-- 
-

With best regards, Sergey Chernolyas


New channel about integration with Spring Framework

2020-01-28 Thread Sergey Chernolyas
Hi igniters!

I have created new channel "#ignite-spring-framework" for discussion about
integration with Spring Framework.

-- 
-

With best regards, Sergey Chernolyas


Hello

2020-01-28 Thread Sergey Chernolyas
My jiraId is schernolyas

-- 
-

With best regards, Sergey Chernolyas


Hello

2020-01-28 Thread Sergey Chernolyas
-- 
-

With best regards, Sergey Chernolyas


[jira] [Created] (IGNITE-12582) It is needed to set used cache for Spring Data by property

2020-01-27 Thread Sergey Chernolyas (Jira)
Sergey Chernolyas created IGNITE-12582:
--

 Summary: It is needed to set used cache  for Spring Data  by 
property
 Key: IGNITE-12582
 URL: https://issues.apache.org/jira/browse/IGNITE-12582
 Project: Ignite
  Issue Type: Improvement
  Components: spring
Affects Versions: 2.7.6
Reporter: Sergey Chernolyas
Assignee: Sergey Chernolyas


Hi!

My project needs to configure  used  cache by property, like 
""[spring.data|http://spring.data/].mongodb.uri: 
mongodb://:@:/" from Spring Data for MongoDB. 
Now, I can set cache for particular repository by annotation "RepositoryConfig" 
only.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


need rights for assign IGNITE-6286

2017-09-21 Thread Sergey Chernolyas
Hi!

I wish to fix the issue but I haven't rights for assign the issue to self.
Please, get me a rights for assign the issue.

A lot of thanks!

-- 
-

With best regards, Sergey Chernolyas


[jira] [Created] (IGNITE-6286) incorrect 'setObject' call

2017-09-06 Thread Sergey Chernolyas (JIRA)
Sergey Chernolyas created IGNITE-6286:
-

 Summary: incorrect 'setObject' call
 Key: IGNITE-6286
 URL: https://issues.apache.org/jira/browse/IGNITE-6286
 Project: Ignite
  Issue Type: Bug
  Components: sql
Affects Versions: 2.1
Reporter: Sergey Chernolyas


Incorrect set value of parameter. See 
https://github.com/apache/ignite/blob/ignite-2.1/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java#L510

The code leads to problem. See explanation in  
https://groups.google.com/forum/#!topic/h2-database/fiUw3tqRb1o



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)