Commit Graph

259 Commits

Author SHA1 Message Date
Kris De Volder
ae3218ba66 Define basic structure for task.yml files 2017-01-26 12:20:18 -08:00
Kris De Volder
df4929f93a Add test for task toplevel property reconcile
Note: The test is still failing
2017-01-26 10:47:39 -08:00
Kris De Volder
2493e928f6 Merge branch 'master' of github.com:spring-projects/sts4 2017-01-26 10:05:04 -08:00
Kris De Volder
6fc28357aa Enable concourse editor for task files. 2017-01-26 10:04:46 -08:00
nsingh
d34b00f28b Fix order of checking subtype 2017-01-25 16:23:54 -08:00
nsingh
bc6181d3df Allow subtypes in ExceptionUtil method 2017-01-25 16:05:11 -08:00
nsingh
4dc0665bdb Create CF service instances via a factory 2017-01-25 14:38:37 -08:00
nsingh
c81bafc95f Added a basic CF test harness
Does not use mockito. An alternative way to test CF as well as the
manifest-yaml framework's ability to accept any CF client factory and
still provide expected results for CA and reconcile.
2017-01-25 14:03:50 -08:00
Kris De Volder
caa554d288 Improving some error marker messages 2017-01-24 19:07:37 -08:00
Kris De Volder
89aabeef64 Improve some error messages. 2017-01-24 17:57:37 -08:00
Kris De Volder
b45fba324d Merge branch 'master' of github.com:spring-projects/sts4 2017-01-24 17:49:10 -08:00
Kris De Volder
f70d4b584d resource-type name reconciling 2017-01-24 17:48:58 -08:00
nsingh
69976eeac8 Fixed bug where no-targets error still contains appended information 2017-01-24 15:46:48 -08:00
Kris De Volder
e43da3d6d4 Reconcile deprecated properties in Pipeline yaml 2017-01-24 14:18:29 -08:00
Kris De Volder
68b4582f07 Merge branch 'goto-definition' 2017-01-24 12:10:23 -08:00
Kris De Volder
099c19bba3 Goto definition iin pipeline editor, working for resources 2017-01-24 12:05:15 -08:00
nsingh
52129ab105 Fix issue where blank service shows as warning instead of error
Parse issues on service name still will show as warnings
2017-01-24 11:45:28 -08:00
nsingh
9312d6e6c6 Reduce cache expiration time for services 2017-01-24 10:42:36 -08:00
nsingh
80716fe8b8 Removed unused timeouts 2017-01-24 10:32:03 -08:00
nsingh
c8e30b3d55 Add value parse exception back 2017-01-23 21:34:37 -08:00
nsingh
dfe8cd1e8d Allow services parsing to show as warning instead of error 2017-01-23 21:26:28 -08:00
nsingh
fc852cab15 Do not print CF information by default
In particular, ensure that no secret information is printed when
creating CF targets.
2017-01-23 15:21:03 -08:00
nsingh
68e550867d Minor method name change 2017-01-23 15:10:23 -08:00
nsingh
ef00527a9e Added value parse exception
This allows distinct cases where error messages resulting from value
parse exception should not include additional information.
2017-01-23 15:08:41 -08:00
nsingh
26544461b8 Allow CF CLI config check on all OS 2017-01-23 13:21:53 -08:00
nsingh
2e3f4f8cb8 Renamed method in ExceptionUtil 2017-01-23 10:56:40 -08:00
Kris De Volder
5087c8a647 Add docker-image infos to PipelineYamlSchema 2017-01-22 10:51:26 -08:00
Kris De Volder
0eabef9787 GitResource 'get' params support 2017-01-21 10:49:03 -08:00
Kris De Volder
1fb5c6ddeb Required properties in Concourse Editor 2017-01-20 18:13:55 -08:00
Kris De Volder
a2d8bba697 Merge branch 'master' of github.com:spring-projects/sts4 2017-01-20 15:42:23 -08:00
Kris De Volder
adb27f7862 Cleanup and simplify uses of DynamicSchemaContext 2017-01-20 15:41:38 -08:00
Kris De Volder
7fc85b79c9 Bugfix: incorrect bounds check in IntegerRange 2017-01-20 15:40:20 -08:00
Kris De Volder
a322835368 Support for required property checking. All tests passing. 2017-01-20 15:22:03 -08:00
Kris De Volder
6eeeb0bb2a Add support for validation of expected number of documents in a YamlFileAst
Use it to produce some errors for manifest.yml files.
2017-01-20 13:47:15 -08:00
nsingh
ae2a68709a Fixed issue where exception name was shown in CF proposal 2017-01-20 12:10:17 -08:00
Martin Lippert
68949b3074 refactored startup code to launch language server as standalone app, listening for clients to connect, into commons code 2017-01-20 13:20:54 +01:00
nsingh
4bd7f47380 Removed unnecessary value and score fields for ErrorProposal 2017-01-19 19:17:50 -08:00
nsingh
c1b5ff1021 Fixed some issues with CF proposals
Proposals for CF still returning empty value hints rather than throwing
exception.
2017-01-19 19:04:05 -08:00
Kris De Volder
bed871e5f5 Add tests for CF reconcile on 'broken' client 2017-01-19 16:33:02 -08:00
nsingh
d479de3da7 Further changes to error completion proposal 2017-01-19 14:15:27 -08:00
nsingh
6ce2947663 Allow exceptions in hint providers to be handled by the framework
Changed the hint providers to throw exception when resolving hints, and
the framework now handles the errors by creating a suitable error
completion.
2017-01-19 13:37:05 -08:00
Kris De Volder
edb4ed1f2e Cosmetic code-style fix. 2017-01-19 11:45:19 -08:00
nsingh
2c0e536026 Fixed error in printing values in the Enum value parser 2017-01-19 11:35:03 -08:00
nsingh
eef84c37c3 Handle case where text is blank in the enum parser
This is to avoid calling the hints provider when it is not necessary and
to better handle the case when no text is present (error should be
thrown)
2017-01-18 15:48:31 -08:00
nsingh
86501b0889 Improvements to error handling for CF dynamic values 2017-01-18 15:27:30 -08:00
Kris De Volder
7849516ca1 Merge branch 'master' of github.com:spring-projects/sts4 2017-01-18 15:19:32 -08:00
Kris De Volder
5e9429b284 Start adding tests for hover on GitResourceSource attributes
And make the tests pass.
2017-01-18 15:19:09 -08:00
nsingh
ef8b6b8bdc Updated v2 CF Java client
Also removed any unused v2 operations and associated wrapper types
2017-01-18 11:38:41 -08:00
nsingh
31698c10dc Use StringUtil to check for set refresh token 2017-01-17 16:09:35 -08:00
nsingh
e9516055b3 Fixed bug when checking if refresh token is set in CLI config.json 2017-01-17 11:28:21 -08:00