Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IN-PROGRESS] GORA-698 Geode DataStore #273

Merged
merged 7 commits into from
Sep 19, 2023

Conversation

himanshuacharya95
Copy link
Contributor

Pending Items Test Cases

private Region<K, T> region;
private Properties geodeProperties;


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove extra spaces

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra spaces removed

geodeProperties = properties;

Properties clientProperties = clientCache.getDistributedSystem().getProperties();
if (userName != null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if username is null and password is not? How about throwing an exception in that case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some code to throw exception


@Override
public Result<K, T> execute(Query<K, T> query) {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove extra space

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space removed

@@ -0,0 +1,187 @@
package org.apache.gora.geode.store;

import org.apache.geode.cache.*;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please not use wildcard imports

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced wildcard import statements with only required ones.

* Tests extending {@link DataStoreTestBase}
* which run the base JUnit test suite for Gora.
*/
public class TestGeodeStore extends DataStoreTestBase {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add more tests?

@djkevincr
Copy link
Member

@CalvinKirs Do you have any input on the PR related to Geode work?

@CalvinKirs
Copy link
Member

@CalvinKirs Do you have any input on the PR related to Geode work?

I will take a look later :)

@djkevincr
Copy link
Member

@himanshuacharya95 Can you please address the remaining request changes?

@djkevincr djkevincr merged commit 6c6b06c into apache:master Sep 19, 2023
@djkevincr
Copy link
Member

Theres some in complete work left in this PR, I will merge this PR for now and take things forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants