camel-tooling / camel-tooling/camel-language-server

camel.main.run-controller is not recognized

Open
#1,358 0 comments 0 reactions 0 assignees View on GitHub
BUG
Dominant language
Java
Stars
56
Forks
26
PR merge metrics
No merged PRs in 30d

Description

camel.springboot.* has been replaced by camel.main.xxx https://issues.apache.org/jira/browse/CAMEL-21862
some camel.main.xxx properties are recognized but not this one. to investigate .

in theory i tis picking them from the Catalog model: https://github.com/camel-tooling/camel-language-server/blob/main/src/main/java/com/github/cameltooling/lsp/internal/instancemodel/propertiesfile/CamelGroupPropertyKey.java#L50

it is a property which is used by default when creating a Camel on SpringBoot project with Camel JBang

Contributor guide

Open the contributing guide

Research direction

Start in src/main/java/com/github/cameltooling/lsp/internal/instancemodel/propertiesfile/CamelGroupPropertyKey.java at the referenced line, then trace how Catalog model properties are recognized. Check why camel.main.run-controller is omitted while other camel.main.xxx properties are recognized; done means this property is recognized in a Camel on Spring Boot project created with Camel JBang.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.