Skip to content

Releases: krujos/willitconnect

Dependency updates

29 Feb 13:14
Compare
Choose a tag to compare

Use latest boot

Dependency Bump.

22 Jan 22:18
Compare
Choose a tag to compare

keeping up with the joneses.

Bound Services

19 Dec 04:40
Compare
Choose a tag to compare

This release includes many UI improvements and support for bound services

Fix crash introduced in v0.3

03 Oct 03:29
Compare
Choose a tag to compare
v0.3.1

Rev 0.3.1

Add endpoint for host names in bound services (/serviceresults)

03 Oct 01:57
Compare
Choose a tag to compare

This release adds a new endpoint at /serviceresults that displays willitconnect's ability to establish a connection to bound hosts.

The logic looks through all of VCAP_SERVICES for entries with a key that contains the substring host and a port entry as a peer. For example if your VCAP_SERVICES looks like this:

➜  willitconnect git:(master) cf env willitconnect                                                      $
Getting env variables for app willitconnect in org jdk / space development as admin...
OK

System-Provided:
{
 "VCAP_SERVICES": {
  "p-mysql": [
   {
    "credentials": {
     "hostname": "10.0.16.86",
     "jdbcUrl": "jdbc:mysql://10.0.16.86:3306/cf_c52045b3_c6db_43c6_b51e_ac6be978bd6c?user=BvaMPkzQvEDr7qMR\u0026password=0s1gA6YuhqcygC1R",
     "name": "cf_c52045b3_c6db_43c6_b51e_ac6be978bd6c",
     "password": "0s1gA6YuhqcygC1R",
     "port": 3306,
     "uri": "mysql://BvaMPkzQvEDr7qMR:[email protected]:3306/cf_c52045b3_c6db_43c6_b51e_ac6be978bd6c?reconnect=true",
     "username": "BvaMPkzQvEDr7qMR"
    },
    "label": "p-mysql",
    "name": "cities-db",
    "plan": "100mb-dev",
    "tags": [
     "mysql",
     "relational"
    ]
   }
  ]
 }
}
<snip/>...

No staging env variables have been set

You will get output that looks like this:

➜  willitconnect git:(master) curl http://willitconnect.apps.mypcf.com/serviceresults
[{"lastChecked":1443837042716,"entry":"10.0.16.86:3306","canConnect":true,"validHostname":true}]

Now with UI!

26 Sep 14:26
Compare
Choose a tag to compare

@TomGTHD was kind enough to provide us with a UI!

willitconnectscreenshot-png

Initial release

19 Sep 03:48
Compare
Choose a tag to compare

Minimal connection test based on parameters passed in by the user.