Commit Graph

317 Commits

Author SHA1 Message Date
Kris De Volder
d56937591c Undo the changes that show missing toplevel property at end of file 2017-04-03 16:59:14 -07:00
Kris De Volder
5de3963e91 Tweak: try to make problem marker at end of document more visible. 2017-04-03 16:02:30 -07:00
Kris De Volder
08f83c8824 Tweak: try to make problem marker at end of document more visible. 2017-04-03 15:34:17 -07:00
Kris De Volder
dcd871631c Additional improvements for PT-140709005
For missing properties in toplevel nodes, place the error marker at the
end of the document.
2017-04-03 14:57:59 -07:00
Kris De Volder
f96495e3ef Additional improvements for PT-140709005
For missing properties in nodes in a sequence, try to underline the corresponding '-' in the input associated with the sequence node,  instead of
underlining the entire node that is missing the property.
2017-04-03 14:33:12 -07:00
Kris De Volder
88013ef803 Fix PT-140709005 better underlining for missing property warnings
Try to underline corresponding parent property key instead of the entire node that is missing the property.
2017-04-03 12:11:34 -07:00
Kris De Volder
f64b90e19c Refactor so that 'missing property' marker is created in one place
This is in preparation to change the logic of how marker location is determined.
2017-04-03 11:36:58 -07:00
Kris De Volder
6191c23b23 Fix a bug and fix tests so it catches that kind of bug in future.
Bug caused by using == to compare Language ids instead of .equals
2017-04-03 10:27:55 -07:00
Kris De Volder
18c5fc2ebc Add deprecated warning for 'image_resource' and 'image' in embedded task 2017-04-03 09:40:35 -07:00
Kris De Volder
2790976983 Fix PT-142788419 more accurate checking of constraints
The use of 'image' and 'image_resource' in an embedded task config is only
required if it is not already defined in the task itself.
2017-03-31 17:42:55 -07:00
Kris De Volder
8c752ebdbd Add regression test (disabled) for 'relaxed indent context' feature
Suspending work on this for now, to be resumed later.
2017-03-08 11:21:08 -08:00
Martin Lippert
7b4db21465 added reference handler mechanism 2017-03-06 10:02:43 +01:00
Kris De Volder
6dec704f3c Avoid crashing language server for 'strange' content assist contexts.
When outside of a meaningful yaml document (i.e. somewhere before
the document marker that starts the first yaml document), invoking content
assist crashed the language server.

Now it just produces no completions instead.
2017-03-03 14:56:54 -08:00
Kris De Volder
ff531d3a9b Fix PT_140711495: triple dash disrupts content assist 2017-03-03 13:47:50 -08:00
Kris De Volder
3267d1de7c Property constraint violations in concourse editor are warnings. 2017-03-01 16:49:18 -08:00
BoykoAlex
f2486c1a8b Shut down Gradle daemons right away. 2017-02-28 19:34:48 -05:00
Kris De Volder
3f3e0f2c90 Fix failing test case 2017-02-27 16:12:39 -08:00
Kris De Volder
bcebac6923 Update lsp4j to 2.0 snapshot version 2017-02-27 15:53:14 -08:00
Kris De Volder
bfb41d2dcb Fix issue with .classpath file 2017-02-27 15:08:18 -08:00
Kris De Volder
c81fc7609c Cleanups: spaces and tabs 2017-02-27 15:07:50 -08:00
BoykoAlex
4bb58c21bd Removed unused code 2017-02-15 18:14:16 -05:00
Martin Lippert
01c31f29e1 PT ##139933339: simple language server responds correctly to a shutdown message now, and exists itself when exit message arrives 2017-02-15 16:22:38 +01:00
Martin Lippert
9033da0e93 moved FuzzyMap to commons-util module 2017-02-14 14:15:04 +01:00
nsingh
e0dd23498f Added unknown host test for domains 2017-02-10 13:21:26 -08:00
nsingh
fbcbc47b98 Added support for CF dynamic values for domains 2017-02-10 12:12:54 -08:00
nsingh
d12b9cfbe2 Update reactor to 3.0.5 due to broken CF support. 2017-02-10 12:04:16 -08:00
BoykoAlex
55f4e897f2 Upgrade slf4j 2017-02-07 21:49:14 -05:00
BoykoAlex
9bef1b8a6b Initial support for Gradle projects 2017-02-07 19:45:59 -05:00
BoykoAlex
c1a86f7407 Attempt to fix race condition between reconciler and CA 2017-02-06 19:31:05 -05:00
nsingh
6b93599ee8 Fixed compilation error due to new v2 client changes
2.4.0 version of the v2 client operations now returns a list of
ServiceInstanceSummary rather than ServiceInstance
2017-02-06 10:48:08 -08:00
Kris De Volder
ffb4c62ca0 More diagnostic output when build of test project fails. 2017-02-02 14:17:45 -08:00
Kris De Volder
f0fdf0895b Put the "No Org/Space" message constant where it belongs 2017-02-02 13:58:21 -08:00
Kris De Volder
c24b4be073 Handle case were Cli params provider finds empty org and space in target 2017-02-02 13:17:29 -08:00
Kris De Volder
4f6b42c8da Cleanup: indentation 2017-02-02 10:06:06 -08:00
Kris De Volder
955139bd57 Fix another suspected race condition in test harness 2017-02-01 20:07:13 -08:00
Kris De Volder
363b0c38a3 Lps4j 0.1.0 was released. Use the release. 2017-02-01 19:51:48 -08:00
Kris De Volder
1810056a46 Fix race conditions in test harness 2017-02-01 19:42:22 -08:00
nsingh
c1bc20029a Fix for long hang on reconcile 2017-02-01 16:01:00 -08:00
Kris De Volder
47d8e1ee1f Merge branch 'master' of github.com:spring-projects/sts4 2017-02-01 11:18:30 -08:00
Kris De Volder
d4b0e89a50 Pom fix: reactor version should match-up with what cf client uses 2017-02-01 11:18:15 -08:00
nsingh
86a9452de0 Added minor documentation 2017-02-01 11:17:22 -08:00
Kris De Volder
a8b5c72427 Pom fixes:
- cleanups around the 'repos' section
 - update version number of cf java client to 2.4.0.BS
2017-02-01 11:14:16 -08:00
nsingh
8ebbdc1158 Simplify connection error handling to show only one message for now 2017-01-31 19:45:34 -08:00
nsingh
dfd5cac945 Limit size of target and client cache to 1 2017-01-31 16:11:31 -08:00
nsingh
de5226ff61 Added CF callable context to better handle client errors
Also added junits to commons-cf that test the error handling.
2017-01-31 15:52:17 -08:00
Kris De Volder
039c954df1 Cleanup some debug logging 2017-01-31 14:14:12 -08:00
Kris De Volder
4a075f2433 Don't block CA completely when there's a 'slow' provider in the mix. 2017-01-31 11:45:29 -08:00
nsingh
5a2bcaa5fc Add comment about message separator 2017-01-31 10:04:17 -08:00
nsingh
d31ac32498 Changes to the CF target and client caching
Cache client and target based on a CF client params key that does not
include the credentials.
Also added logic to refresh a target if error encountered during last
call on target.
2017-01-30 15:18:27 -08:00
Kris De Volder
42239fd952 Support for semver resource 2017-01-30 13:49:59 -08:00