IGNITE-4088

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

IGNITE-4088

Константин Дудков
Hi,

I have done some changes due to jira ticket[1].

I have added new method signatures to modules/core/src/main/java/org/apache/ignite/Ignite.java:

public Collection<IgniteCache> createCaches(Collection<CacheConfiguration> cacheCfgs);
public Collection<IgniteCache> getOrCreateCaches(Collection<CacheConfiguration> cacheCfgs);
public void destroyCaches(Collection<String> cacheNames);

Please review and let me know if any changes required.

[1] https://issues.apache.org/jira/browse/IGNITE-4088
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

Denis Magda
Hi Kosntantin,

Thanks for the contribution! Personally, the API looks good from my standpoint of view. However the overall contribution has to be reviewed my Ignite caching maintainers.

Please learn our development process [1], add new tests that would check your functionality and send a pull-request to the community [2].

[1] https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute <https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute>
[2] https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute#HowtoContribute-1.CreateGitHubpull-request <https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute#HowtoContribute-1.CreateGitHubpull-request>


Denis

> On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]> wrote:
>
> Hi,
>
> I have done some changes due to jira ticket[1].
>
> I have added new method signatures to modules/core/src/main/java/org/apache/ignite/Ignite.java:
>
> public Collection<IgniteCache> createCaches(Collection<CacheConfiguration> cacheCfgs);
> public Collection<IgniteCache> getOrCreateCaches(Collection<CacheConfiguration> cacheCfgs);
> public void destroyCaches(Collection<String> cacheNames);
>
> Please review and let me know if any changes required.
>
> [1] https://issues.apache.org/jira/browse/IGNITE-4088

Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

Pavel Tupitsyn
Hi Konstantin,

I don't see a patch or a pull request in the JIRA item, am I missing
something?

Pavel.

On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <[hidden email]> wrote:

> Hi Kosntantin,
>
> Thanks for the contribution! Personally, the API looks good from my
> standpoint of view. However the overall contribution has to be reviewed my
> Ignite caching maintainers.
>
> Please learn our development process [1], add new tests that would check
> your functionality and send a pull-request to the community [2].
>
> [1] https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute <
> https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute>
> [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
> to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
> https://cwiki.apache.org/confluence/display/IGNITE/How+
> to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
>
> —
> Denis
>
> > On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]> wrote:
> >
> > Hi,
> >
> > I have done some changes due to jira ticket[1].
> >
> > I have added new method signatures to modules/core/src/main/java/
> org/apache/ignite/Ignite.java:
> >
> > public Collection<IgniteCache> createCaches(Collection<CacheConfiguration>
> cacheCfgs);
> > public Collection<IgniteCache> getOrCreateCaches(Collection<CacheConfiguration>
> cacheCfgs);
> > public void destroyCaches(Collection<String> cacheNames);
> >
> > Please review and let me know if any changes required.
> >
> > [1] https://issues.apache.org/jira/browse/IGNITE-4088
>
>
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

Константин Дудков
Have added github branch url to ticket. Should I create PR?

19.10.2016, 20:49, "Pavel Tupitsyn" <[hidden email]>:

> Hi Konstantin,
>
> I don't see a patch or a pull request in the JIRA item, am I missing
> something?
>
> Pavel.
>
> On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <[hidden email]> wrote:
>
>>  Hi Kosntantin,
>>
>>  Thanks for the contribution! Personally, the API looks good from my
>>  standpoint of view. However the overall contribution has to be reviewed my
>>  Ignite caching maintainers.
>>
>>  Please learn our development process [1], add new tests that would check
>>  your functionality and send a pull-request to the community [2].
>>
>>  [1] https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute <
>>  https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute>
>>  [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
>>  https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
>>
>>  —
>>  Denis
>>
>>  > On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]> wrote:
>>  >
>>  > Hi,
>>  >
>>  > I have done some changes due to jira ticket[1].
>>  >
>>  > I have added new method signatures to modules/core/src/main/java/
>>  org/apache/ignite/Ignite.java:
>>  >
>>  > public Collection<IgniteCache> createCaches(Collection<CacheConfiguration>
>>  cacheCfgs);
>>  > public Collection<IgniteCache> getOrCreateCaches(Collection<CacheConfiguration>
>>  cacheCfgs);
>>  > public void destroyCaches(Collection<String> cacheNames);
>>  >
>>  > Please review and let me know if any changes required.
>>  >
>>  > [1] https://issues.apache.org/jira/browse/IGNITE-4088
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

Denis Magda
Correct, you have to create a PR and check that your changes don’t break anything by running TeamCity. Please refer to this [1] which contains all the relevant information.

[1] https://cwiki.apache.org/confluence/display/IGNITE/How+ to+Contribute#HowtoContribute-1.CreateGitHubpull-request

> On Oct 20, 2016, at 7:58 AM, Константин Дудков <[hidden email]> wrote:
>
> Have added github branch url to ticket. Should I create PR?
>
> 19.10.2016, 20:49, "Pavel Tupitsyn" <[hidden email]>:
>> Hi Konstantin,
>>
>> I don't see a patch or a pull request in the JIRA item, am I missing
>> something?
>>
>> Pavel.
>>
>> On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <[hidden email]> wrote:
>>
>>>  Hi Kosntantin,
>>>
>>>  Thanks for the contribution! Personally, the API looks good from my
>>>  standpoint of view. However the overall contribution has to be reviewed my
>>>  Ignite caching maintainers.
>>>
>>>  Please learn our development process [1], add new tests that would check
>>>  your functionality and send a pull-request to the community [2].
>>>
>>>  [1] https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute <
>>>  https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute>
>>>  [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>>  to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
>>>  https://cwiki.apache.org/confluence/display/IGNITE/How+
>>>  to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
>>>
>>>  —
>>>  Denis
>>>
>>>  > On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]> wrote:
>>>  >
>>>  > Hi,
>>>  >
>>>  > I have done some changes due to jira ticket[1].
>>>  >
>>>  > I have added new method signatures to modules/core/src/main/java/
>>>  org/apache/ignite/Ignite.java:
>>>  >
>>>  > public Collection<IgniteCache> createCaches(Collection<CacheConfiguration>
>>>  cacheCfgs);
>>>  > public Collection<IgniteCache> getOrCreateCaches(Collection<CacheConfiguration>
>>>  cacheCfgs);
>>>  > public void destroyCaches(Collection<String> cacheNames);
>>>  >
>>>  > Please review and let me know if any changes required.
>>>  >
>>>  > [1] https://issues.apache.org/jira/browse/IGNITE-4088

Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

Константин Дудков
Hi Denis,

I created PR [1], some tests in tc were failed, but it looks like same tests failed in master branch.

[1] https://github.com/apache/ignite/pull/1174

20.10.2016, 18:31, "Denis Magda" <[hidden email]>:

> Correct, you have to create a PR and check that your changes don’t break anything by running TeamCity. Please refer to this [1] which contains all the relevant information.
>
> [1] https://cwiki.apache.org/confluence/display/IGNITE/How+ to+Contribute#HowtoContribute-1.CreateGitHubpull-request
>
>>  On Oct 20, 2016, at 7:58 AM, Константин Дудков <[hidden email]> wrote:
>>
>>  Have added github branch url to ticket. Should I create PR?
>>
>>  19.10.2016, 20:49, "Pavel Tupitsyn" <[hidden email]>:
>>>  Hi Konstantin,
>>>
>>>  I don't see a patch or a pull request in the JIRA item, am I missing
>>>  something?
>>>
>>>  Pavel.
>>>
>>>  On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <[hidden email]> wrote:
>>>
>>>>   Hi Kosntantin,
>>>>
>>>>   Thanks for the contribution! Personally, the API looks good from my
>>>>   standpoint of view. However the overall contribution has to be reviewed my
>>>>   Ignite caching maintainers.
>>>>
>>>>   Please learn our development process [1], add new tests that would check
>>>>   your functionality and send a pull-request to the community [2].
>>>>
>>>>   [1] https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute <
>>>>   https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute>
>>>>   [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>>>   to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
>>>>   https://cwiki.apache.org/confluence/display/IGNITE/How+
>>>>   to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
>>>>
>>>>   —
>>>>   Denis
>>>>
>>>>   > On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]> wrote:
>>>>   >
>>>>   > Hi,
>>>>   >
>>>>   > I have done some changes due to jira ticket[1].
>>>>   >
>>>>   > I have added new method signatures to modules/core/src/main/java/
>>>>   org/apache/ignite/Ignite.java:
>>>>   >
>>>>   > public Collection<IgniteCache> createCaches(Collection<CacheConfiguration>
>>>>   cacheCfgs);
>>>>   > public Collection<IgniteCache> getOrCreateCaches(Collection<CacheConfiguration>
>>>>   cacheCfgs);
>>>>   > public void destroyCaches(Collection<String> cacheNames);
>>>>   >
>>>>   > Please review and let me know if any changes required.
>>>>   >
>>>>   > [1] https://issues.apache.org/jira/browse/IGNITE-4088
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

Denis Magda
Apache Ignite committers that maintain cache module please review the changes.

Sam, Anton, you’re ideal candidates for that.


Denis

> On Oct 21, 2016, at 4:11 AM, Константин Дудков <[hidden email]> wrote:
>
> Hi Denis,
>
> I created PR [1], some tests in tc were failed, but it looks like same tests failed in master branch.
>
> [1] https://github.com/apache/ignite/pull/1174
>
> 20.10.2016, 18:31, "Denis Magda" <[hidden email]>:
>> Correct, you have to create a PR and check that your changes don’t break anything by running TeamCity. Please refer to this [1] which contains all the relevant information.
>>
>> [1] https://cwiki.apache.org/confluence/display/IGNITE/How+ to+Contribute#HowtoContribute-1.CreateGitHubpull-request
>>
>>>  On Oct 20, 2016, at 7:58 AM, Константин Дудков <[hidden email]> wrote:
>>>
>>>  Have added github branch url to ticket. Should I create PR?
>>>
>>>  19.10.2016, 20:49, "Pavel Tupitsyn" <[hidden email]>:
>>>>  Hi Konstantin,
>>>>
>>>>  I don't see a patch or a pull request in the JIRA item, am I missing
>>>>  something?
>>>>
>>>>  Pavel.
>>>>
>>>>  On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <[hidden email]> wrote:
>>>>
>>>>>   Hi Kosntantin,
>>>>>
>>>>>   Thanks for the contribution! Personally, the API looks good from my
>>>>>   standpoint of view. However the overall contribution has to be reviewed my
>>>>>   Ignite caching maintainers.
>>>>>
>>>>>   Please learn our development process [1], add new tests that would check
>>>>>   your functionality and send a pull-request to the community [2].
>>>>>
>>>>>   [1] https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute <
>>>>>   https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute>
>>>>>   [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>>>>   to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
>>>>>   https://cwiki.apache.org/confluence/display/IGNITE/How+
>>>>>   to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
>>>>>
>>>>>   —
>>>>>   Denis
>>>>>
>>>>>   > On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]> wrote:
>>>>>   >
>>>>>   > Hi,
>>>>>   >
>>>>>   > I have done some changes due to jira ticket[1].
>>>>>   >
>>>>>   > I have added new method signatures to modules/core/src/main/java/
>>>>>   org/apache/ignite/Ignite.java:
>>>>>   >
>>>>>   > public Collection<IgniteCache> createCaches(Collection<CacheConfiguration>
>>>>>   cacheCfgs);
>>>>>   > public Collection<IgniteCache> getOrCreateCaches(Collection<CacheConfiguration>
>>>>>   cacheCfgs);
>>>>>   > public void destroyCaches(Collection<String> cacheNames);
>>>>>   >
>>>>>   > Please review and let me know if any changes required.
>>>>>   >
>>>>>   > [1] https://issues.apache.org/jira/browse/IGNITE-4088

Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

dsetrakyan
In reply to this post by Константин Дудков
Thanks, Konstantin!

The API looks good. I am assuming that all these methods will throw
CacheException. Please add it to the method signature.

You should also document the API in the ticket.

D.

On Fri, Oct 21, 2016 at 4:11 AM, Константин Дудков <[hidden email]> wrote:

> Hi Denis,
>
> I created PR [1], some tests in tc were failed, but it looks like same
> tests failed in master branch.
>
> [1] https://github.com/apache/ignite/pull/1174
>
> 20.10.2016, 18:31, "Denis Magda" <[hidden email]>:
> > Correct, you have to create a PR and check that your changes don’t break
> anything by running TeamCity. Please refer to this [1] which contains all
> the relevant information.
> >
> > [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
> to+Contribute#HowtoContribute-1.CreateGitHubpull-request
> >
> >>  On Oct 20, 2016, at 7:58 AM, Константин Дудков <[hidden email]> wrote:
> >>
> >>  Have added github branch url to ticket. Should I create PR?
> >>
> >>  19.10.2016, 20:49, "Pavel Tupitsyn" <[hidden email]>:
> >>>  Hi Konstantin,
> >>>
> >>>  I don't see a patch or a pull request in the JIRA item, am I missing
> >>>  something?
> >>>
> >>>  Pavel.
> >>>
> >>>  On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <[hidden email]>
> wrote:
> >>>
> >>>>   Hi Kosntantin,
> >>>>
> >>>>   Thanks for the contribution! Personally, the API looks good from my
> >>>>   standpoint of view. However the overall contribution has to be
> reviewed my
> >>>>   Ignite caching maintainers.
> >>>>
> >>>>   Please learn our development process [1], add new tests that would
> check
> >>>>   your functionality and send a pull-request to the community [2].
> >>>>
> >>>>   [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
> to+Contribute <
> >>>>   https://cwiki.apache.org/confluence/display/IGNITE/How+
> to+Contribute>
> >>>>   [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>>>   to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
> >>>>   https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>>>   to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
> >>>>
> >>>>   —
> >>>>   Denis
> >>>>
> >>>>   > On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]>
> wrote:
> >>>>   >
> >>>>   > Hi,
> >>>>   >
> >>>>   > I have done some changes due to jira ticket[1].
> >>>>   >
> >>>>   > I have added new method signatures to modules/core/src/main/java/
> >>>>   org/apache/ignite/Ignite.java:
> >>>>   >
> >>>>   > public Collection<IgniteCache> createCaches(Collection<
> CacheConfiguration>
> >>>>   cacheCfgs);
> >>>>   > public Collection<IgniteCache> getOrCreateCaches(Collection<
> CacheConfiguration>
> >>>>   cacheCfgs);
> >>>>   > public void destroyCaches(Collection<String> cacheNames);
> >>>>   >
> >>>>   > Please review and let me know if any changes required.
> >>>>   >
> >>>>   > [1] https://issues.apache.org/jira/browse/IGNITE-4088
>
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

Константин Дудков
Dmitriy,

Thank you for your answer. As far as I see, other methods f.e. createCache throw CacheException too, but have nothing about that fact in signature or javadoc.
Should we review all API methods to have same unchecked exception documenting rules?

27.10.2016, 08:41, "Dmitriy Setrakyan" <[hidden email]>:

> Thanks, Konstantin!
>
> The API looks good. I am assuming that all these methods will throw
> CacheException. Please add it to the method signature.
>
> You should also document the API in the ticket.
>
> D.
>
> On Fri, Oct 21, 2016 at 4:11 AM, Константин Дудков <[hidden email]> wrote:
>
>>  Hi Denis,
>>
>>  I created PR [1], some tests in tc were failed, but it looks like same
>>  tests failed in master branch.
>>
>>  [1] https://github.com/apache/ignite/pull/1174
>>
>>  20.10.2016, 18:31, "Denis Magda" <[hidden email]>:
>>  > Correct, you have to create a PR and check that your changes don’t break
>>  anything by running TeamCity. Please refer to this [1] which contains all
>>  the relevant information.
>>  >
>>  > [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  to+Contribute#HowtoContribute-1.CreateGitHubpull-request
>>  >
>>  >> On Oct 20, 2016, at 7:58 AM, Константин Дудков <[hidden email]> wrote:
>>  >>
>>  >> Have added github branch url to ticket. Should I create PR?
>>  >>
>>  >> 19.10.2016, 20:49, "Pavel Tupitsyn" <[hidden email]>:
>>  >>> Hi Konstantin,
>>  >>>
>>  >>> I don't see a patch or a pull request in the JIRA item, am I missing
>>  >>> something?
>>  >>>
>>  >>> Pavel.
>>  >>>
>>  >>> On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <[hidden email]>
>>  wrote:
>>  >>>
>>  >>>> Hi Kosntantin,
>>  >>>>
>>  >>>> Thanks for the contribution! Personally, the API looks good from my
>>  >>>> standpoint of view. However the overall contribution has to be
>>  reviewed my
>>  >>>> Ignite caching maintainers.
>>  >>>>
>>  >>>> Please learn our development process [1], add new tests that would
>>  check
>>  >>>> your functionality and send a pull-request to the community [2].
>>  >>>>
>>  >>>> [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  to+Contribute <
>>  >>>> https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  to+Contribute>
>>  >>>> [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  >>>> to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
>>  >>>> https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  >>>> to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
>>  >>>>
>>  >>>> —
>>  >>>> Denis
>>  >>>>
>>  >>>> > On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]>
>>  wrote:
>>  >>>> >
>>  >>>> > Hi,
>>  >>>> >
>>  >>>> > I have done some changes due to jira ticket[1].
>>  >>>> >
>>  >>>> > I have added new method signatures to modules/core/src/main/java/
>>  >>>> org/apache/ignite/Ignite.java:
>>  >>>> >
>>  >>>> > public Collection<IgniteCache> createCaches(Collection<
>>  CacheConfiguration>
>>  >>>> cacheCfgs);
>>  >>>> > public Collection<IgniteCache> getOrCreateCaches(Collection<
>>  CacheConfiguration>
>>  >>>> cacheCfgs);
>>  >>>> > public void destroyCaches(Collection<String> cacheNames);
>>  >>>> >
>>  >>>> > Please review and let me know if any changes required.
>>  >>>> >
>>  >>>> > [1] https://issues.apache.org/jira/browse/IGNITE-4088
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

dsetrakyan
I would prefer that we would declare all exceptions thrown at method
signature level, just so they appear in Javadoc and we can document them.
So, to answer your question, please fix other methods, if you don't mind.

D.

On Thu, Oct 27, 2016 at 1:55 AM, Константин Дудков <[hidden email]> wrote:

> Dmitriy,
>
> Thank you for your answer. As far as I see, other methods f.e. createCache
> throw CacheException too, but have nothing about that fact in signature or
> javadoc.
> Should we review all API methods to have same unchecked exception
> documenting rules?
>
> 27.10.2016, 08:41, "Dmitriy Setrakyan" <[hidden email]>:
> > Thanks, Konstantin!
> >
> > The API looks good. I am assuming that all these methods will throw
> > CacheException. Please add it to the method signature.
> >
> > You should also document the API in the ticket.
> >
> > D.
> >
> > On Fri, Oct 21, 2016 at 4:11 AM, Константин Дудков <[hidden email]>
> wrote:
> >
> >>  Hi Denis,
> >>
> >>  I created PR [1], some tests in tc were failed, but it looks like same
> >>  tests failed in master branch.
> >>
> >>  [1] https://github.com/apache/ignite/pull/1174
> >>
> >>  20.10.2016, 18:31, "Denis Magda" <[hidden email]>:
> >>  > Correct, you have to create a PR and check that your changes don’t
> break
> >>  anything by running TeamCity. Please refer to this [1] which contains
> all
> >>  the relevant information.
> >>  >
> >>  > [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  to+Contribute#HowtoContribute-1.CreateGitHubpull-request
> >>  >
> >>  >> On Oct 20, 2016, at 7:58 AM, Константин Дудков <[hidden email]>
> wrote:
> >>  >>
> >>  >> Have added github branch url to ticket. Should I create PR?
> >>  >>
> >>  >> 19.10.2016, 20:49, "Pavel Tupitsyn" <[hidden email]>:
> >>  >>> Hi Konstantin,
> >>  >>>
> >>  >>> I don't see a patch or a pull request in the JIRA item, am I
> missing
> >>  >>> something?
> >>  >>>
> >>  >>> Pavel.
> >>  >>>
> >>  >>> On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <[hidden email]>
> >>  wrote:
> >>  >>>
> >>  >>>> Hi Kosntantin,
> >>  >>>>
> >>  >>>> Thanks for the contribution! Personally, the API looks good from
> my
> >>  >>>> standpoint of view. However the overall contribution has to be
> >>  reviewed my
> >>  >>>> Ignite caching maintainers.
> >>  >>>>
> >>  >>>> Please learn our development process [1], add new tests that would
> >>  check
> >>  >>>> your functionality and send a pull-request to the community [2].
> >>  >>>>
> >>  >>>> [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  to+Contribute <
> >>  >>>> https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  to+Contribute>
> >>  >>>> [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  >>>> to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
> >>  >>>> https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  >>>> to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
> >>  >>>>
> >>  >>>> —
> >>  >>>> Denis
> >>  >>>>
> >>  >>>> > On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]>
> >>  wrote:
> >>  >>>> >
> >>  >>>> > Hi,
> >>  >>>> >
> >>  >>>> > I have done some changes due to jira ticket[1].
> >>  >>>> >
> >>  >>>> > I have added new method signatures to
> modules/core/src/main/java/
> >>  >>>> org/apache/ignite/Ignite.java:
> >>  >>>> >
> >>  >>>> > public Collection<IgniteCache> createCaches(Collection<
> >>  CacheConfiguration>
> >>  >>>> cacheCfgs);
> >>  >>>> > public Collection<IgniteCache> getOrCreateCaches(Collection<
> >>  CacheConfiguration>
> >>  >>>> cacheCfgs);
> >>  >>>> > public void destroyCaches(Collection<String> cacheNames);
> >>  >>>> >
> >>  >>>> > Please review and let me know if any changes required.
> >>  >>>> >
> >>  >>>> > [1] https://issues.apache.org/jira/browse/IGNITE-4088
>
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

Константин Дудков
Hi Dmitriy,

I've done changes, please take a look. Hope I didn't miss something. I've also documented API methods in ticket.

27.10.2016, 20:41, "Dmitriy Setrakyan" <[hidden email]>:

> I would prefer that we would declare all exceptions thrown at method
> signature level, just so they appear in Javadoc and we can document them.
> So, to answer your question, please fix other methods, if you don't mind.
>
> D.
>
> On Thu, Oct 27, 2016 at 1:55 AM, Константин Дудков <[hidden email]> wrote:
>
>>  Dmitriy,
>>
>>  Thank you for your answer. As far as I see, other methods f.e. createCache
>>  throw CacheException too, but have nothing about that fact in signature or
>>  javadoc.
>>  Should we review all API methods to have same unchecked exception
>>  documenting rules?
>>
>>  27.10.2016, 08:41, "Dmitriy Setrakyan" <[hidden email]>:
>>  > Thanks, Konstantin!
>>  >
>>  > The API looks good. I am assuming that all these methods will throw
>>  > CacheException. Please add it to the method signature.
>>  >
>>  > You should also document the API in the ticket.
>>  >
>>  > D.
>>  >
>>  > On Fri, Oct 21, 2016 at 4:11 AM, Константин Дудков <[hidden email]>
>>  wrote:
>>  >
>>  >> Hi Denis,
>>  >>
>>  >> I created PR [1], some tests in tc were failed, but it looks like same
>>  >> tests failed in master branch.
>>  >>
>>  >> [1] https://github.com/apache/ignite/pull/1174
>>  >>
>>  >> 20.10.2016, 18:31, "Denis Magda" <[hidden email]>:
>>  >> > Correct, you have to create a PR and check that your changes don’t
>>  break
>>  >> anything by running TeamCity. Please refer to this [1] which contains
>>  all
>>  >> the relevant information.
>>  >> >
>>  >> > [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  >> to+Contribute#HowtoContribute-1.CreateGitHubpull-request
>>  >> >
>>  >> >> On Oct 20, 2016, at 7:58 AM, Константин Дудков <[hidden email]>
>>  wrote:
>>  >> >>
>>  >> >> Have added github branch url to ticket. Should I create PR?
>>  >> >>
>>  >> >> 19.10.2016, 20:49, "Pavel Tupitsyn" <[hidden email]>:
>>  >> >>> Hi Konstantin,
>>  >> >>>
>>  >> >>> I don't see a patch or a pull request in the JIRA item, am I
>>  missing
>>  >> >>> something?
>>  >> >>>
>>  >> >>> Pavel.
>>  >> >>>
>>  >> >>> On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <[hidden email]>
>>  >> wrote:
>>  >> >>>
>>  >> >>>> Hi Kosntantin,
>>  >> >>>>
>>  >> >>>> Thanks for the contribution! Personally, the API looks good from
>>  my
>>  >> >>>> standpoint of view. However the overall contribution has to be
>>  >> reviewed my
>>  >> >>>> Ignite caching maintainers.
>>  >> >>>>
>>  >> >>>> Please learn our development process [1], add new tests that would
>>  >> check
>>  >> >>>> your functionality and send a pull-request to the community [2].
>>  >> >>>>
>>  >> >>>> [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  >> to+Contribute <
>>  >> >>>> https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  >> to+Contribute>
>>  >> >>>> [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  >> >>>> to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
>>  >> >>>> https://cwiki.apache.org/confluence/display/IGNITE/How+
>>  >> >>>> to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
>>  >> >>>>
>>  >> >>>> —
>>  >> >>>> Denis
>>  >> >>>>
>>  >> >>>> > On Oct 19, 2016, at 6:46 AM, Константин Дудков <[hidden email]>
>>  >> wrote:
>>  >> >>>> >
>>  >> >>>> > Hi,
>>  >> >>>> >
>>  >> >>>> > I have done some changes due to jira ticket[1].
>>  >> >>>> >
>>  >> >>>> > I have added new method signatures to
>>  modules/core/src/main/java/
>>  >> >>>> org/apache/ignite/Ignite.java:
>>  >> >>>> >
>>  >> >>>> > public Collection<IgniteCache> createCaches(Collection<
>>  >> CacheConfiguration>
>>  >> >>>> cacheCfgs);
>>  >> >>>> > public Collection<IgniteCache> getOrCreateCaches(Collection<
>>  >> CacheConfiguration>
>>  >> >>>> cacheCfgs);
>>  >> >>>> > public void destroyCaches(Collection<String> cacheNames);
>>  >> >>>> >
>>  >> >>>> > Please review and let me know if any changes required.
>>  >> >>>> >
>>  >> >>>> > [1] https://issues.apache.org/jira/browse/IGNITE-4088
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-4088

dsetrakyan
Looks good.

On Fri, Oct 28, 2016 at 6:05 AM, Константин Дудков <[hidden email]> wrote:

> Hi Dmitriy,
>
> I've done changes, please take a look. Hope I didn't miss something. I've
> also documented API methods in ticket.
>
> 27.10.2016, 20:41, "Dmitriy Setrakyan" <[hidden email]>:
> > I would prefer that we would declare all exceptions thrown at method
> > signature level, just so they appear in Javadoc and we can document them.
> > So, to answer your question, please fix other methods, if you don't mind.
> >
> > D.
> >
> > On Thu, Oct 27, 2016 at 1:55 AM, Константин Дудков <[hidden email]>
> wrote:
> >
> >>  Dmitriy,
> >>
> >>  Thank you for your answer. As far as I see, other methods f.e.
> createCache
> >>  throw CacheException too, but have nothing about that fact in
> signature or
> >>  javadoc.
> >>  Should we review all API methods to have same unchecked exception
> >>  documenting rules?
> >>
> >>  27.10.2016, 08:41, "Dmitriy Setrakyan" <[hidden email]>:
> >>  > Thanks, Konstantin!
> >>  >
> >>  > The API looks good. I am assuming that all these methods will throw
> >>  > CacheException. Please add it to the method signature.
> >>  >
> >>  > You should also document the API in the ticket.
> >>  >
> >>  > D.
> >>  >
> >>  > On Fri, Oct 21, 2016 at 4:11 AM, Константин Дудков <[hidden email]>
> >>  wrote:
> >>  >
> >>  >> Hi Denis,
> >>  >>
> >>  >> I created PR [1], some tests in tc were failed, but it looks like
> same
> >>  >> tests failed in master branch.
> >>  >>
> >>  >> [1] https://github.com/apache/ignite/pull/1174
> >>  >>
> >>  >> 20.10.2016, 18:31, "Denis Magda" <[hidden email]>:
> >>  >> > Correct, you have to create a PR and check that your changes don’t
> >>  break
> >>  >> anything by running TeamCity. Please refer to this [1] which
> contains
> >>  all
> >>  >> the relevant information.
> >>  >> >
> >>  >> > [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  >> to+Contribute#HowtoContribute-1.CreateGitHubpull-request
> >>  >> >
> >>  >> >> On Oct 20, 2016, at 7:58 AM, Константин Дудков <[hidden email]>
> >>  wrote:
> >>  >> >>
> >>  >> >> Have added github branch url to ticket. Should I create PR?
> >>  >> >>
> >>  >> >> 19.10.2016, 20:49, "Pavel Tupitsyn" <[hidden email]>:
> >>  >> >>> Hi Konstantin,
> >>  >> >>>
> >>  >> >>> I don't see a patch or a pull request in the JIRA item, am I
> >>  missing
> >>  >> >>> something?
> >>  >> >>>
> >>  >> >>> Pavel.
> >>  >> >>>
> >>  >> >>> On Wed, Oct 19, 2016 at 8:26 PM, Denis Magda <
> [hidden email]>
> >>  >> wrote:
> >>  >> >>>
> >>  >> >>>> Hi Kosntantin,
> >>  >> >>>>
> >>  >> >>>> Thanks for the contribution! Personally, the API looks good
> from
> >>  my
> >>  >> >>>> standpoint of view. However the overall contribution has to be
> >>  >> reviewed my
> >>  >> >>>> Ignite caching maintainers.
> >>  >> >>>>
> >>  >> >>>> Please learn our development process [1], add new tests that
> would
> >>  >> check
> >>  >> >>>> your functionality and send a pull-request to the community
> [2].
> >>  >> >>>>
> >>  >> >>>> [1] https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  >> to+Contribute <
> >>  >> >>>> https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  >> to+Contribute>
> >>  >> >>>> [2] https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  >> >>>> to+Contribute#HowtoContribute-1.CreateGitHubpull-request <
> >>  >> >>>> https://cwiki.apache.org/confluence/display/IGNITE/How+
> >>  >> >>>> to+Contribute#HowtoContribute-1.CreateGitHubpull-request>
> >>  >> >>>>
> >>  >> >>>> —
> >>  >> >>>> Denis
> >>  >> >>>>
> >>  >> >>>> > On Oct 19, 2016, at 6:46 AM, Константин Дудков <
> [hidden email]>
> >>  >> wrote:
> >>  >> >>>> >
> >>  >> >>>> > Hi,
> >>  >> >>>> >
> >>  >> >>>> > I have done some changes due to jira ticket[1].
> >>  >> >>>> >
> >>  >> >>>> > I have added new method signatures to
> >>  modules/core/src/main/java/
> >>  >> >>>> org/apache/ignite/Ignite.java:
> >>  >> >>>> >
> >>  >> >>>> > public Collection<IgniteCache> createCaches(Collection<
> >>  >> CacheConfiguration>
> >>  >> >>>> cacheCfgs);
> >>  >> >>>> > public Collection<IgniteCache> getOrCreateCaches(Collection<
> >>  >> CacheConfiguration>
> >>  >> >>>> cacheCfgs);
> >>  >> >>>> > public void destroyCaches(Collection<String> cacheNames);
> >>  >> >>>> >
> >>  >> >>>> > Please review and let me know if any changes required.
> >>  >> >>>> >
> >>  >> >>>> > [1] https://issues.apache.org/jira/browse/IGNITE-4088
>