Comments (11)
Hi,
Great news and thanks for supporting it.
About Mongo, many features are in the backlog:
- Complete migration to the mongo-java-driver-3.0 (some methods or classes are deprecated)
- Implementing a lazing loading with
Cursor
returned by the driver. - an interesting requested feature
- Show Index infos of a collection
- Show the number of results returned by the query (there is a lot of space at the right of the toolbar)
Tell me which of them you would like to code.
Reards
from nosql4idea.
Thanks for the update, I'll start on migrating mongo to the 3.0 driver. That'll give me a good overlay of your code structure.
from nosql4idea.
I've managed to upgrade the entire core to the new driver and classes.
Somehow the JPanel classes seem to fail running their tests. For example, line 30 of RedisAuthenticationPanel throws a null pointer exception. It used to work before. Any idea why so?
from nosql4idea.
HI,
You should create a fork from the github project. So I will be able to have a look on your modifications and help you on the issue you encounter.
Regards
from nosql4idea.
Regarding the code structure, there is still some dirty area I have to refactor. If you have any suggestion, please fell free to submit ;)
from nosql4idea.
You can see my changes here: master...judepereira:Upgrading-to
I've refactored the names of your classes MongoCollection and and MongoClient to SingleMongoCollection and SingleMongoClient respectively, as the 3.x driver has similarly named classes.
from nosql4idea.
The most weird part is that the redis swing test worked even after my changes, but then suddenly stopped working. Not sure why.
from nosql4idea.
Funny, a project rebuilt solved the issue.
I'm facing only one test case issue now, will let you know if I can't update it correctly.
from nosql4idea.
@dboissier Looks like I've managed to update it all to the latest driver :)
All the test cases are passing now, except for one - test displayTreeWithASimpleArray in MongoResultPanelTest. This one attempts to create a MongoResult object with an array. Does mongo ever return an array to any query?
My update to MongoResult class only accepts Document objects. In your test there, you're looking to load strings into the MongoResult object.
from nosql4idea.
@dboissier have you got a chance to look at that test case?
from nosql4idea.
Hi,
sorry for being idle these weeks (prefessional matters).
Here a proposal:
- Disable the test case by adding @ignored annotation
- When you sumbit the pull request, I will have a look on it.
Regards,
David
from nosql4idea.
Related Issues (10)
- Connect over ssh HOT 1
- ClassCastException
- Mongo X509 Authentication missing
- snapshot uninstallable HOT 1
- Cannot add server item HOT 4
- There is no response when i clicked ok button. HOT 3
- 'CONFIG' call breaks this for hosted Redis instances HOT 3
- Add parameters for mongodb HOT 1
- Can't view more than 300 items per collection. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nosql4idea.