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

feat: Create a Quarkus Dev Explorer in the IDE #1178

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

angelozerr
Copy link
Contributor

feat: Create a Quarkus Dev Explorer in the IDE

Fixes #1175

@angelozerr
Copy link
Contributor Author

angelozerr commented Sep 25, 2023

I created a draft PR just to initialize Quarkus Explorer but it is very very basic for now. It displays Quarkus projects in the view and when you click on Start node it create a run config (or use an existing run config) to start the Quarkus application:

image

Please don't be disappointed, it is just a start of PR.

@mohitsuman @fbricon we discuss with @adietish and we think we could use this Quarkus Explorer to provide several actions like:

  • Deploy to OpenShift
  • Deploy to Minikube

Those actions could install IJ kubernetes / Openshift which will provide the code of the action.

  • for user point of view, I think it can be very interesting
  • for IJ kubernetes / OpenShift it could promote them.

The main idea is to use the Quarkus Explorer to provide main entries for Quarkus project like

  • start Quarkus application
  • open Quarkus application
  • open dev UI
  • add extensions
  • Deploy to ...

@angelozerr angelozerr force-pushed the quarkus-explorer branch 2 times, most recently from 2ea8d22 to e46c27f Compare September 26, 2023 15:01
@angelozerr
Copy link
Contributor Author

@ia3andy here the current status of the PR

The explorer displays the Quarkus projects and click on Run... and run a Quarkus run config (created in memory):

image

The Run.. item is bind with the state of the Quarkus application (starting (process), started (the application is available), stopping (process), stopped).

When the Quarkus appication is started, the tree is refreshed and show available action (like Open Dev UI)

image

When Quarkus application is stopped, the actions disappear

@ia3andy
Copy link

ia3andy commented Sep 26, 2023

It looks amazing so far!!!! 🙌

@angelozerr angelozerr force-pushed the quarkus-explorer branch 4 times, most recently from a384463 to 1ff1864 Compare September 27, 2023 07:48
@ia3andy
Copy link

ia3andy commented Sep 29, 2023

@angelozerr @fbricon I just installed it, and TBH this is amazzzzinnnng I am stocked!

@ia3andy
Copy link

ia3andy commented Sep 29, 2023

Kapture 2023-09-29 at 14 30 32
So cool!!!

@angelozerr
Copy link
Contributor Author

@ia3andy it is just a POC and we wonder with @fbricon if we will use Services tab view to manage this explorer. So perhaps this explorer will not exist. It was just an experimentation.

@ia3andy
Copy link

ia3andy commented Sep 29, 2023

@angelozerr you should remove the ms from the time (just keep the seconds)

@ia3andy
Copy link

ia3andy commented Sep 29, 2023

@ia3andy it is just a POC and we wonder with @fbricon if we will use Services tab view to manage this explorer. So perhaps this explorer will not exist. It was just an experimentation.

I don't think the services tab view is as intuitive and visible?

@angelozerr
Copy link
Contributor Author

I don't think the services tab view is as intuitive and visible?

+1 I agree with you, but:

  • IJ Ultimate seems doing like this
  • For us it will avoid maintaing a new view

Let us investigate Services view to take a decision.

@sonarcloud
Copy link

sonarcloud bot commented Oct 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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

Successfully merging this pull request may close these issues.

Create a Quarkus Dev Explorer in the IDE
2 participants