Code Monkey home page Code Monkey logo

Comments (11)

dboissier avatar dboissier commented on August 15, 2024

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.

judepereira avatar judepereira commented on August 15, 2024

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.

judepereira avatar judepereira commented on August 15, 2024

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.

dboissier avatar dboissier commented on August 15, 2024

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.

dboissier avatar dboissier commented on August 15, 2024

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.

judepereira avatar judepereira commented on August 15, 2024

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.

judepereira avatar judepereira commented on August 15, 2024

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.

judepereira avatar judepereira commented on August 15, 2024

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.

judepereira avatar judepereira commented on August 15, 2024

@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.

judepereira avatar judepereira commented on August 15, 2024

@dboissier have you got a chance to look at that test case?

from nosql4idea.

dboissier avatar dboissier commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.