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

Schedule properties are shown as unknown #319

Closed
fbricon opened this issue Nov 16, 2020 · 0 comments · Fixed by redhat-developer/quarkus-ls#375
Closed

Schedule properties are shown as unknown #319

fbricon opened this issue Nov 16, 2020 · 0 comments · Fixed by redhat-developer/quarkus-ls#375
Assignees
Labels
bug Something isn't working
Milestone

Comments

@fbricon
Copy link
Collaborator

fbricon commented Nov 16, 2020

According to https://quarkus.io/guides/scheduler-reference, given an @Scheduled method using a {myMethod.cron.expr} property, such as:

@ApplicationScoped
public class Scheduler {
    @Scheduled(cron = "{myMethod.cron.expr}")
    public void run() {
        System.err.println("Ran at "+new Date());
    }
}

with application.properties containing:

myMethod.cron.expr=0 15 10 * * ?

myMethod.cron.expr appears to be unknown:
Screenshot 2020-11-16 at 12 12 54

@fbricon fbricon added the bug Something isn't working label Nov 16, 2020
@angelozerr angelozerr added this to the 1.8.0 milestone Nov 20, 2020
rgrunber added a commit to rgrunber/quarkus-ls that referenced this issue Dec 8, 2020
- Fixes redhat-developer/vscode-quarkus#319
- Add testcases

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
rgrunber added a commit to rgrunber/lsp4mp that referenced this issue Dec 10, 2020
- Related #redhat-developer/vscode-quarkus#319
- Rename enum MavenProjectName to static class MicroProfileProjectName
  so that it may be extended in other places
- Replace references of MavenProjectName with a String

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
rgrunber added a commit to rgrunber/lsp4mp that referenced this issue Dec 10, 2020
- Related redhat-developer/vscode-quarkus#319
- Rename enum MavenProjectName to static class MicroProfileProjectName
  so that it may be extended in other places
- Replace references of MavenProjectName with a String

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
rgrunber added a commit to rgrunber/quarkus-ls that referenced this issue Dec 10, 2020
- Fixes redhat-developer/vscode-quarkus#319
- Add testcases

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
rgrunber added a commit to rgrunber/lsp4mp that referenced this issue Dec 10, 2020
…sses

- Related redhat-developer/vscode-quarkus#319
- Rename enum MavenProjectName to static class MicroProfileProjectName
  so that it may be extended in other places
- Replace references of MavenProjectName and GradleProjectName with String
- Remove unused projects that exist only in the quarkus-ls side

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
angelozerr pushed a commit to eclipse/lsp4mp that referenced this issue Dec 11, 2020
…sses

- Related redhat-developer/vscode-quarkus#319
- Rename enum MavenProjectName to static class MicroProfileProjectName
  so that it may be extended in other places
- Replace references of MavenProjectName and GradleProjectName with String
- Remove unused projects that exist only in the quarkus-ls side

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
angelozerr pushed a commit to redhat-developer/quarkus-ls that referenced this issue Jan 4, 2021
- Fixes redhat-developer/vscode-quarkus#319
- Add testcases

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants