umts-microservices-engine 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdec59bf53e6c2906359a2f7d5cebf3b866251ca
4
- data.tar.gz: f904351962ceac74a9863e6908a0b5cd2a83981c
3
+ metadata.gz: e31c36ad32fb81c29bddd959d0daa12d7ee2c0db
4
+ data.tar.gz: a0715607064359d69440323ec5794c6a7c8241c3
5
5
  SHA512:
6
- metadata.gz: 7a09e26f78e7d1ed60bd62faebca3a030fd32d00637ef96b8100ebf492b2bee81a66323ee126b05382ed43c517e215618e28810eb00744a87e4ba6b557b12e06
7
- data.tar.gz: 36050b0d47b35cbcb13461d0ca1a935e9ac5eb198b07fed878556127a02244fb43ad551fed4d24594a716766fa812ac1c005e0ef42da0be9cb92a127bd0ade56
6
+ metadata.gz: 99b5ed0a0434156703f07b5436f69aea1b2d1349dd3196381ae0ec83c7f813d2e3b4691550bbbfcee7186ba5275b63fb988b8acfce4dbd145eab11fd74ac591e
7
+ data.tar.gz: 75adfcc8c1e83a4c7000e01ea65142b2066e8a745cd6357dfdd8fd4282b53ac8b7af8d5e2d08b73c8008678aa51a35a8e0f104f73ab47ba4b66a7e1ac370432d
@@ -16,6 +16,7 @@ service_name = config_data.fetch 'name', &REPORT_MISSING_CONFIG_KEY
16
16
  service_url = config_data.fetch 'uri', &REPORT_MISSING_CONFIG_KEY
17
17
  router_url = config_data.fetch 'router_uri', &REPORT_MISSING_CONFIG_KEY
18
18
  security_token = config_data.fetch 'security_token', &REPORT_MISSING_CONFIG_KEY
19
+ router_url = router_url + '/services/register'
19
20
 
20
21
  res = Net::HTTP.post_form(
21
22
  URI.parse(router_url),
@@ -7,7 +7,6 @@ name: ''
7
7
 
8
8
  # REQUIRED field
9
9
  # The URI for the site hosting the microservice
10
- # NOTE: Do not attach the /v1/data to this.
11
10
  uri: ''
12
11
 
13
12
  # REQUIRED field
@@ -16,6 +15,7 @@ security_token: ''
16
15
 
17
16
  # REQUIRED Field
18
17
  # Endpoint of Microservices router
18
+ # Make sure you do not add a slash to this.
19
19
  router_uri: ''
20
20
 
21
21
  # OPTIONAL field (leave blank if not applicable)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module MicroservicesEngine
3
- VERSION = '0.0.8'
3
+ VERSION = '0.0.9'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umts-microservices-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - UMass Transportation Services