Commit Graph

176 Commits

Author SHA1 Message Date
Kris De Volder
6945fe18fc Fix https://github.com/spring-projects/sts4/issues/639
Basic support for using glob pattern in concourse group declarations.
2021-05-18 15:09:41 -07:00
Kris De Volder
a1fb33f21e Add support for load_var step
See: https://github.com/spring-projects/sts4/issues/633
2021-05-05 11:45:28 -07:00
Kris De Volder
f825c2e797 Add old_name property to Resource schema
See: https://github.com/spring-projects/sts4/issues/633
2021-05-05 11:45:28 -07:00
Martin Lippert
a37469a86d fix http URLs 2021-03-07 13:50:59 +01:00
Josh Ghiloni
6e51ca93c3 Remove unused imports 2021-03-04 13:48:52 -07:00
Josh Ghiloni
6be4e4c014 Add display property to pipeline schema
In Concourse 6.6, a feature was introduced to allow pipeline developers
to set custom background images to their pipelines. This commit adds
support for that field to the language server.
2021-03-04 13:38:54 -07:00
Martin Lippert
89ee243a5c switched completion handling to use CompletableFuture instead of reactor Mono and added cancel handling 2021-02-28 17:18:40 +01:00
Martin Lippert
607781779e added cancel handling to definition requests 2021-02-26 12:16:33 +01:00
Martin Lippert
4a3650c0b1 added cancel handling to hover requests 2021-02-26 12:03:48 +01:00
Martin Lippert
8238c1dc90 initial re-work of async behavior of language server, looking at the text document service first 2021-02-10 10:51:26 +01:00
Kris De Volder
93b6a704d5 Re-enable and fix failing concourse editor tests
Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2020-12-02 15:10:41 -08:00
Martin Lippert
4132302a6b ignore two failing test cases in the Concourse editor test for now to allow build to pass 2020-11-26 12:54:54 +01:00
Kris De Volder
be1d0ea9c9 Add a more complex test case for #483
... and fix problem it triggers.
2020-11-16 14:39:51 -08:00
Kris De Volder
2a02e28d85 Deal better with anchors and references in outline
See: https://github.com/spring-projects/sts4/issues/483

Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2020-11-13 16:28:26 -08:00
Kris De Volder
e15307f151 Add `skip_downloads' attribute to RegistryImageGetParams schema
See https://github.com/spring-projects/sts4/issues/523
2020-08-24 11:14:32 -07:00
Kris De Volder
7ba9c07bc6 Fix failing test cases from PR 464
See https://github.com/spring-projects/sts4/pull/464

Problems found:

- issues with formatting of the test case examples. Spaces vs tabs
  issues and weird indentation of the examples causing problems
  for editor to parse examples.

- added 'set_pipeline' step caused some other tests fail
  because they should correctly expect this as a valid
  completion, but tests had not been updated to reflect
  that.
2020-05-21 12:14:48 -07:00
dmohan200
c01a99f3eb [concourse] Add support for set-pipeline step 2020-05-21 11:32:16 -07:00
Martin Lippert
edf29d2d93 updated lsp4j to 0.9.0 release 2020-05-08 16:50:09 +02:00
Kris De Volder
ebb4596543 Cleanup: Spelling/grammar in comments 2020-01-15 12:35:11 -08:00
Kris De Volder
d1d90feb8c Concourse: validate params for resource_type definition 2019-11-13 15:55:23 -08:00
Kris De Volder
ba6cd26b53 Mark 'aggregate' as deprecated in concourse schema
See: https://www.pivotaltracker.com/story/show/166988686
2019-11-08 09:36:35 -08:00
Kris De Volder
28cc7216ec [concourse] Add support for build_log_retention attribute
See: https://github.com/spring-projects/sts4/issues/389
2019-11-01 14:27:50 -07:00
Kris De Volder
b68bf48c8e Merge pull request #387 from z4ce/master
Fix concourse task schema
2019-11-01 11:58:17 -07:00
Kris De Volder
180b48c73b [concourse] Add support for old_name Job attribute
See: https://github.com/spring-projects/sts4/issues/388
2019-11-01 11:52:17 -07:00
Kris De Volder
10d1e620ad [concourse] Add support for on_error Job attribute
See: https://github.com/spring-projects/sts4/issues/383
2019-11-01 11:43:50 -07:00
Kris De Volder
9256934ce8 Add support for check_every in concourse 'ResourceType' and other...
missing ResourceType attributes

See: https://github.com/spring-projects/sts4/issues/382
2019-10-31 15:39:39 -07:00
Ian Zink
d6ed8c6d93 Fix concourse task schema
Currently the language server throws an error like
"Expected string, got sequence" when you use yaml
as a default for a parameter in a task yaml.
See added test for an example that triggers the
behavior.

Co-Authored-By: Thad Craft <tcraft@pivotal.io>
2019-10-31 14:52:17 -05:00
Kris De Volder
0aac76979a Add schemas for RegistryImageRespource Parameters 2019-10-21 11:26:00 -07:00
Kris De Volder
9ebac23419 Enable trigger characters for vscode-concourse 2019-10-17 12:21:23 -07:00
Kris De Volder
9a82eafbc5 Minimal support for 'registry-image' resource type
See: https://github.com/spring-projects/sts4/issues/380
2019-10-17 11:29:36 -07:00
BoykoAlex
bb79221cfe PT #165911996: Switch to LocationLink from Location for definitions 2019-10-15 14:05:35 -04:00
Kris De Volder
01c0498f8e Better handling of union types in Yaml completions
Schema-based completion engine provides the
completions for every subtype of a union type
(unless more specific subtype can be inferred).

See: https://github.com/spring-projects/sts4/issues/345#issuecomment-523069469

Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2019-08-20 10:24:15 -07:00
Kris De Volder
89ee405fdd Add support for in_parallel sub-properties
See: https://github.com/spring-projects/sts4/issues/345

Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2019-08-19 12:12:43 -07:00
Kris De Volder
a856330738 Add support for 'inputs' in PutStep in concourse editor
See: https://github.com/spring-projects/sts4/issues/341

Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2019-08-15 09:10:14 -07:00
Kris De Volder
d9f48ed693 Fix for PT-167494938
Snippet completion was broken for concourse resource type
'extra insertions'.
2019-07-25 16:46:00 -07:00
Kris De Volder
d30a82d04f Add additional constraint to cf resource schema
Details: username/password and client_id/client_secret should
not be used together. We now check for this and show a warning
in the concourse editor.
2019-07-24 11:30:19 -07:00
Kris De Volder
ecd2393a98 Add support for missing properties in...
... CF resource 'put' params in Concourse Editor.

Adding support for the following:

- vars
- vars_files
- docker_username
- docker_password
- show_app_log
- no_start

See: https://github.com/spring-projects/sts4/issues/330
2019-07-23 15:20:25 -07:00
Kris De Volder
e7d166cd10 Add support for 'verbose' in...
... CF resource 'source' in Concourse Editor.

See: https://github.com/spring-projects/sts4/issues/330
2019-07-23 14:36:45 -07:00
Kris De Volder
5b3f951a11 Add support for 'client_id' and 'client_secret' in...
... CF resource 'source' in Concourse Editor.

See: https://github.com/spring-projects/sts4/issues/330
2019-07-23 14:24:03 -07:00
Kris De Volder
f42b6763bc Revert "Introduce compile error"
This reverts commit de0696a6a8.
2019-07-08 10:13:59 -07:00
BoykoAlex
3e7dce11d6 Fix test concourse yaml 2019-07-08 13:08:29 -04:00
Kris De Volder
de0696a6a8 Introduce compile error
... deliberately, to test whetehr our slack hook
still works and sends messages about build failures from
the pipeline.
2019-07-08 10:06:23 -07:00
Kris De Volder
073d6fa98a Add TaskStep.vars to PipelineYamlSchema
See: https://github.com/spring-projects/sts4/issues/307
2019-06-18 09:53:11 -07:00
Kris De Volder
8efc5cafc8 Resolve/fix nohttp violations 2019-06-05 15:58:30 -07:00
Josh Ghiloni
877b0e217f Support icon attribute on resource definitions
Resolves #303. Allows the language server to recognize the `icon`
attribute supported on resources in Concourse 5.x
2019-05-29 16:01:11 -06:00
Josh Ghiloni
f62fecdc02 Replace HTML description with Markdown 2019-05-29 10:38:52 -06:00
Josh Ghiloni
bcd1f20a5a Add support for Concourse 5.x in_parallel step
Resolves #300. Because `in_parallel` is a drop-in replacement for
`aggregate`, the code has been designed to mimic `aggregate` exactly.
2019-05-29 08:38:49 -06:00
Kris De Volder
30f8e2d48c Fix IndexOutOfBoundsException from GithubValueParser 2019-05-15 11:25:23 -07:00
BoykoAlex
0fc1b0a2ca PT #165890357: Polishing 2019-05-10 17:56:06 -04:00
BoykoAlex
d037b41903 PT #165890357: Adopt exploded LS jar for all eclipse LSs 2019-05-10 17:15:11 -04:00