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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e31c36ad32fb81c29bddd959d0daa12d7ee2c0db
|
4
|
+
data.tar.gz: a0715607064359d69440323ec5794c6a7c8241c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|