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

Adding new action which registers ADB connection #5291

Merged
merged 2 commits into from
Jan 17, 2023

Conversation

jhorvath
Copy link
Contributor

Adding a new action which registers database connection for ADB from Oracle Cloud

@jhorvath jhorvath requested a review from sdedic January 13, 2023 13:40
@mbien mbien added LSP [ci] enable Language Server Protocol tests enterprise [ci] enable enterprise job labels Jan 13, 2023
@mbien
Copy link
Member

mbien commented Jan 13, 2023

added LSP label and restarting tests to enable the right jobs.

@apache apache locked and limited conversation to collaborators Jan 13, 2023
@apache apache unlocked this conversation Jan 13, 2023
List<CompartmentItem> compartments = CompartmentNode.getCompartments().apply(selectedTenancy.get());
selectedCompartment = chooseOneItem(compartments, Bundle.SelectCompartment());
}
Optional<DatabaseItem> selectedDatabase = Optional.empty();
Copy link
Member

Choose a reason for hiding this comment

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

why Optional and not simply DatabaseItem that can be checked for null ?

}

}
} else if (ociItems.size() == 1) {
Copy link
Member

Choose a reason for hiding this comment

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

Seems that the size() > 0 branch is executed instead of this one ?

@jhorvath jhorvath requested a review from sdedic January 13, 2023 17:33
Copy link
Member

@sdedic sdedic left a comment

Choose a reason for hiding this comment

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

Thanks!

@mbien mbien added this to the NB17 milestone Jan 14, 2023
@jhorvath jhorvath merged commit 8fbcf30 into apache:master Jan 17, 2023
MartinBalin pushed a commit that referenced this pull request Jan 18, 2023
* Adding new action which registers ADB connection

* minor fixes in AddABAction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise [ci] enable enterprise job LSP [ci] enable Language Server Protocol tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants