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

kie-tools#2497: Set local cluster as default in the sonataflow-dev-ui #2498

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

Conversation

wmedvede
Copy link
Contributor

No description provided.

@@ -108,14 +108,15 @@ public CardPageBuildItem pages(

String openapiPath = getProperty(configurationBuildItem, systemPropertyBuildItems, "quarkus.smallrye-openapi.path");
String devUIUrl = getProperty(configurationBuildItem, systemPropertyBuildItems, "kogito.dev-ui.url");
String dataIndexUrl = getProperty(configurationBuildItem, systemPropertyBuildItems, "kogito.data-index.url");
//String dataIndexUrl = getProperty(configurationBuildItem, systemPropertyBuildItems, "kogito.data-index.url");

Choose a reason for hiding this comment

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

I think we should remove rather than commenting

@@ -58,7 +58,8 @@ public SonataFlowQuarkusExtensionJsonRPCService(Vertx vertx) {

@PostConstruct
public void init() {
isLocalCluster = ConfigProvider.getConfig().getOptionalValue(IS_LOCAL_CLUSTER, Boolean.class).orElse(false);
//temporary, set isLocalCluster always true since sonataflow-dev-ui works in k8s cluster.
isLocalCluster = ConfigProvider.getConfig().getOptionalValue(IS_LOCAL_CLUSTER, Boolean.class).orElse(true);

Choose a reason for hiding this comment

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

As commented in a previous PR, I think this should have been done through injection

@tiagobento tiagobento changed the title kie-tools-2497: Set local cluster as default in the sonataflow-dev-ui kie-tools#2497: Set local cluster as default in the sonataflow-dev-ui Aug 2, 2024
Copy link
Contributor

@tiagobento tiagobento left a comment

Choose a reason for hiding this comment

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

@wmedvede Please include the issue link on the description of the PR, or provide a good description at least...

@tiagobento
Copy link
Contributor

Hi! Any updates here? I see some conflicts have built up here too... Thanks!

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.

3 participants