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 |
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 |
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 > > |
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 |
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 |
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 |
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 |
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 > |
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 |
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 > |
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 |
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 > |
Free forum by Nabble | Edit this page |