Commit Graph

446 Commits

Author SHA1 Message Date
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
64b92bab2f Ensure that null CF hints are returned.
The parser used by reconciler expects null if values cannot be resolved
by the hints provider.
2017-01-20 13:10:29 -08:00
nsingh
ae2a68709a Fixed issue where exception name was shown in CF proposal 2017-01-20 12:10:17 -08:00
Kris De Volder
d044e5d5a6 PT- 138052499: Allow enabling verbose trace messages optionally
So its not turned on by default anymore
2017-01-20 10:33:21 -08:00
Kris De Volder
f610338702 Send message to eclipse-tools slack on CI build failure 2017-01-20 10:31:41 -08:00
Martin Lippert
75afcfc599 updated to manifest language server 0.0.2-SNAPSHOT 2017-01-20 14:09:21 +01:00
Martin Lippert
0496a906ce added new property to connect to standalone language server 2017-01-20 14:07:39 +01:00
Martin Lippert
aff3fe5888 refactored the code to connect to a standalone language server process into the commons module 2017-01-20 13:56:50 +01: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
nsingh
d62b58beb0 Fixed bug in mock CF junits
Also enabled CF mock test cases for reconcile that were failing before
but now pass due to related fixes.
2017-01-19 17:04:34 -08:00
nsingh
1e74028539 Propagate CF hints errors to framework 2017-01-19 16:41:45 -08:00
Kris De Volder
bed871e5f5 Add tests for CF reconcile on 'broken' client 2017-01-19 16:33:02 -08:00
Kris De Volder
99b28a2885 Add a 'Minimal manifest' snippet 2017-01-19 15:31:18 -08:00
Kris De Volder
258ac089b7 Change language-id for manifest.yml files 2017-01-19 14:30:16 -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
48cf75d228 Only log CF errors resulting from actual CF or client issues. 2017-01-19 11:35:03 -08:00
Kris De Volder
c7b040c1f6 Name (version) of fat jar changed. So main.ts broke. Fixing it. 2017-01-19 11:21:09 -08:00
Martin Lippert
929f5de954 added experiment to parse java source code using JDTs parser 2017-01-19 14:51:10 +01:00
Martin Lippert
c217dec738 added mode to connect vscode extension to running language server 2017-01-19 14:50:15 +01:00
Martin Lippert
1ec2e739b6 fixed deprecated properties in vscode launch config 2017-01-19 14:49:34 +01:00
Martin Lippert
b38ecaefe2 updated version of manifest language server artifact to 0.0.2 to match vscode extension version 2017-01-19 11:32:50 +01:00
Kris De Volder
8317884ca8 Add hovers for all GitResourceSource props 2017-01-18 17:09:47 -08:00
Kris De Volder
65c25b271c Add test for completions in GitResourceSource 2017-01-18 16:33:40 -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
5dd6812a87 Fixed issue with wrong YAtomicType name for service instances
Also removed the short timeout for services which was causing
IllegalStateException.
2017-01-18 13:39:14 -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
Martin Lippert
bd62b6f732 replaced yedit syntax coloring implementation with textmate.java 2017-01-18 13:07:04 +01: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
nsingh
5d00f4447e Better handling of IOException in CF connection errors 2017-01-17 11:05:14 -08:00
nsingh
f25d2c9c94 Fixed regression in error handling in CF support 2017-01-17 10:29:59 -08:00
nsingh
eec7f0423f Moved common types out of the v2 package 2017-01-17 09:49:29 -08:00
nsingh
c53b04528b Re-enable validation on CF services 2017-01-16 17:32:46 -08:00
nsingh
1abda9aedf Added caching of services, buildpacks and targets using guava caching 2017-01-16 16:57:45 -08:00
Kris De Volder
9519a790fe Fix Cancelation related errors and other problem in case of 'slow' completion
computers.
2017-01-16 14:35:57 -08:00
Kris De Volder
720f89f462 Remove unused / confusing DEBUG variable 2017-01-16 12:40:33 -08:00
Kris De Volder
46eee65b9a Fix PT-137722057 extra space in name completion directly after a '-' 2017-01-16 09:55:46 -08:00
Kris De Volder
f47020af5e GitResourceSource type: all properties defined. 2017-01-16 08:34:56 -08:00