Skip to content

Comments

adds support for mongo-oidc#32

Open
xolotlatoani wants to merge 4 commits intoDataGrip:masterfrom
xolotlatoani:feature/mongo-oidc
Open

adds support for mongo-oidc#32
xolotlatoani wants to merge 4 commits intoDataGrip:masterfrom
xolotlatoani:feature/mongo-oidc

Conversation

@xolotlatoani
Copy link

No description provided.

Copy link
Contributor

@IlyaEp IlyaEp left a comment

Choose a reason for hiding this comment

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

Thanks for contributing! I’ll have another look after we address or discuss the current issues

for (String browser : browsers) {
try {
// Check if browser exists
Process process = runtime.exec(new String[] {"which", browser});
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use desktop actions?

Copy link
Author

Choose a reason for hiding this comment

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

not familiar with that. I can try to add if you have an example?

private @Nullable ExecutorService executorService;
private @Nullable Engine sharedEngine;
private @NotNull ShellHolder shellHolder;
private MongoConnection mongoConnection;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do not cache the DB connection. If you need to cache the token, cache that instead

Copy link
Author

Choose a reason for hiding this comment

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

I was trying to find a way to re-use the same connection across the tabs in DG, is there a way to do that?

return null;
}

Server server = new Server();
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to bind the server lifecycle to the driver and initialize it lazily?

Copy link
Author

Choose a reason for hiding this comment

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

i can check on that

Copy link
Author

Choose a reason for hiding this comment

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

or come back later to that?

version update

adds support for mongo-oidc
version update

adds support for mongo-oidc
…/mongo-oidc

# Conflicts:
#	build.gradle
#	src/main/java/com/dbschema/MongoJdbcDriver.java
@xolotlatoani
Copy link
Author

Updated the PR. Sorry for the delay, I finally had time to come back to this.

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.

2 participants