214 Commits

Author SHA1 Message Date
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
Kris De Volder
087f504691 Revert "PT #165890357: Adopt exploded LS jar for all eclipse LSs"
This reverts commit c29b1043f8.
2019-05-10 12:59:57 -07:00
BoykoAlex
c29b1043f8 PT #165890357: Adopt exploded LS jar for all eclipse LSs 2019-05-10 15:34:53 -04:00
Kris De Volder
17e5cf91a3 More output to debug test fails in CI builds 2019-05-10 10:21:57 -07:00
Kris De Volder
738d7ffceb More output to debug test fails in CI builds 2019-05-10 09:23:10 -07:00
Kris De Volder
84f0e6f668 Change error message for positive integer 2019-05-09 09:15:24 -07:00
Kris De Volder
005fbcbfda Add S3Source.initial_version and related props to Schema 2019-05-03 12:36:25 -07:00
Martin Lippert
28c0637395 moved language server system property set call to main method to have that happening as early as possible in the JVM lifetime 2019-05-03 17:43:54 +02:00
Spring Operator
af8b7f975d URL Cleanup. RMs not on localhost https URL.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://gophercloud.io/docs/ (200) with 1 occurrences could not be migrated:
   ([https](https://gophercloud.io/docs/) result SSLHandshakeException).
* [ ] http://man7.org/linux/man-pages/man7/glob.7.html (200) with 1 occurrences could not be migrated:
   ([https](https://man7.org/linux/man-pages/man7/glob.7.html) result AnnotatedConnectException).
* [ ] http://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/p2-repository/ (200) with 1 occurrences could not be migrated:
   ([https](https://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/p2-repository/) result SSLHandshakeException).

These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://cfapps.io:1000/hello (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1000/hello ([https](https://cfapps.io:1000/hello) result ConnectTimeoutException).
* [ ] http://cfapps.io:1001/hello (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1001/hello ([https](https://cfapps.io:1001/hello) result ConnectTimeoutException).
* [ ] http://cfapps.io:1002/hello (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1002/hello ([https](https://cfapps.io:1002/hello) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/ (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/ ([https](https://cfapps.io:1111/) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/fromEnv/hello-world (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/fromEnv/hello-world ([https](https://cfapps.io:1111/fromEnv/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/fromenvironment/hello-world (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/fromenvironment/hello-world ([https](https://cfapps.io:1111/fromenvironment/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/fromlaunchconfig/hello-world (ConnectTimeoutException) with 10 occurrences migrated to:
  https://cfapps.io:1111/fromlaunchconfig/hello-world ([https](https://cfapps.io:1111/fromlaunchconfig/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/frompropsfile/hello-world (ConnectTimeoutException) with 8 occurrences migrated to:
  https://cfapps.io:1111/frompropsfile/hello-world ([https](https://cfapps.io:1111/frompropsfile/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/hello-world (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/hello-world ([https](https://cfapps.io:1111/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/inner-class (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/inner-class ([https](https://cfapps.io:1111/inner-class) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/inner-inner-class (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/inner-inner-class ([https](https://cfapps.io:1111/inner-inner-class) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/mockedpath/hello-world (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/mockedpath/hello-world ([https](https://cfapps.io:1111/mockedpath/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/find (ConnectTimeoutException) with 14 occurrences migrated to:
  https://cfapps.io:999/find ([https](https://cfapps.io:999/find) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/goodbye (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:999/goodbye ([https](https://cfapps.io:999/goodbye) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/greetings (ConnectTimeoutException) with 4 occurrences migrated to:
  https://cfapps.io:999/greetings ([https](https://cfapps.io:999/greetings) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/hello (ConnectTimeoutException) with 4 occurrences migrated to:
  https://cfapps.io:999/hello ([https](https://cfapps.io:999/hello) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/mockedpath/greetings (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:999/mockedpath/greetings ([https](https://cfapps.io:999/mockedpath/greetings) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/mockedpath/hello (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:999/mockedpath/hello ([https](https://cfapps.io:999/mockedpath/hello) result ConnectTimeoutException).
* [ ] http://cloud-controller-ng.service.cf.internal:9022 (UnknownHostException) with 1 occurrences migrated to:
  https://cloud-controller-ng.service.cf.internal:9022 ([https](https://cloud-controller-ng.service.cf.internal:9022) result UnknownHostException).
* [ ] http://org.eclipse.ui.intro/execute?command= (UnknownHostException) with 2 occurrences migrated to:
  https://org.eclipse.ui.intro/execute?command= ([https](https://org.eclipse.ui.intro/execute?command=) result UnknownHostException).
* [ ] http://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly (403) with 1 occurrences migrated to:
  https://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly ([https](https://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly) result 403).
* [ ] http://foobar.com/munhings.tar.gz (404) with 1 occurrences migrated to:
  https://foobar.com/munhings.tar.gz ([https](https://foobar.com/munhings.tar.gz) result 404).

These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://dist.springsource.com/snapshot/STS4/nightly-distributions.html with 5 occurrences migrated to:
  https://dist.springsource.com/snapshot/STS4/nightly-distributions.html ([https](https://dist.springsource.com/snapshot/STS4/nightly-distributions.html) result 200).
* [ ] http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html ([https](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) result 200).
* [ ] http://maven.apache.org/xsd/maven-4.0.0.xsd with 2 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* [ ] http://stackoverflow.com with 1 occurrences migrated to:
  https://stackoverflow.com ([https](https://stackoverflow.com) result 200).
* [ ] http://stackoverflow.com/questions/6132529/antlr-parsing-java-properties with 1 occurrences migrated to:
  https://stackoverflow.com/questions/6132529/antlr-parsing-java-properties ([https](https://stackoverflow.com/questions/6132529/antlr-parsing-java-properties) result 200).
* [ ] http://stackoverflow.com/tags/spring-tools-4 with 1 occurrences migrated to:
  https://stackoverflow.com/tags/spring-tools-4 ([https](https://stackoverflow.com/tags/spring-tools-4) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* [ ] http://www.apple.com/DTDs/PropertyList-1.0.dtd with 7 occurrences migrated to:
  https://www.apple.com/DTDs/PropertyList-1.0.dtd ([https](https://www.apple.com/DTDs/PropertyList-1.0.dtd) result 200).
* [ ] http://www.eclipse.org/legal/epl-v10.html with 64 occurrences migrated to:
  https://www.eclipse.org/legal/epl-v10.html ([https](https://www.eclipse.org/legal/epl-v10.html) result 200).
* [ ] http://www.java.com/en/download/help/error_hotspot.xml with 1 occurrences migrated to:
  https://www.java.com/en/download/help/error_hotspot.xml ([https](https://www.java.com/en/download/help/error_hotspot.xml) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200).
* [ ] http://www.springframework.org/schema/data/jpa/spring-jpa.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/data/jpa/spring-jpa.xsd ([https](https://www.springframework.org/schema/data/jpa/spring-jpa.xsd) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/tx/spring-tx.xsd ([https](https://www.springframework.org/schema/tx/spring-tx.xsd) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).

These URLs were intentionally ignored.

* http://localhost:3000 with 8 occurrences
* http://localhost:8080/greeting with 1 occurrences
* http://localhost:9000 with 6 occurrences
* http://maven.apache.org/POM/4.0.0 with 4 occurrences
* http://www.springframework.org/schema/beans with 4 occurrences
* http://www.springframework.org/schema/context with 2 occurrences
* http://www.springframework.org/schema/data/jpa with 2 occurrences
* http://www.springframework.org/schema/p with 1 occurrences
* http://www.springframework.org/schema/tx with 2 occurrences
* http://www.w3.org/1999/XSL/Transform with 4 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 3 occurrences

Create https URLs for RMs not on local host
2019-03-21 12:02:19 -04:00
Kris De Volder
d86becebe7 http -> https 2019-03-08 15:48:38 -08:00
Martin Lippert
a72fd15878 housekeeping 2019-03-06 16:08:28 +01:00
Kris De Volder
2c76782686 Add test for concourse hierarchical document symbols 2019-02-12 15:03:57 -08:00
Kris De Volder
c3d5c19f0c Fix compilation problem in bosh language server 2019-02-12 14:34:51 -08:00