Commit b1488be6 authored by Dariusz Kędzierski's avatar Dariusz Kędzierski

Hivemind address and port are now read from env variable

parent 952b0b37
......@@ -5,5 +5,5 @@
variables:
service:
proto: http
server: 127.0.0.1
port: 8080
server: "{tavern.env_vars.HIVEMIND_ADDRESS}"
port: "{tavern.env_vars.HIVEMIND_PORT}"
......@@ -10,7 +10,7 @@
stages:
- name: get_post_header
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -41,7 +41,7 @@
stages:
- name: get_discussion
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -72,7 +72,7 @@
stages:
- name: get_post
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -103,7 +103,7 @@
stages:
- name: get_account_posts
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -134,7 +134,7 @@
stages:
- name: get_ranked_posts
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -163,7 +163,7 @@
stages:
- name: get_profile
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -192,7 +192,7 @@
stages:
- name: get_trending_topics
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -221,7 +221,7 @@
stages:
- name: post_notifications
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -250,7 +250,7 @@
stages:
- name: account_notifications
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -279,7 +279,7 @@
stages:
- name: unread_notifications
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -310,7 +310,7 @@
stages:
- name: get_payout_stats
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -341,7 +341,7 @@
stages:
- name: get_community
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -370,7 +370,7 @@
stages:
- name: list_communities
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -399,7 +399,7 @@
stages:
- name: list_community_roles
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -428,7 +428,7 @@
stages:
- name: list_subscribers
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -457,7 +457,7 @@
stages:
- name: list_all_subscriptions
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......
......@@ -10,7 +10,7 @@
stages:
- name: get_post_header
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -36,7 +36,7 @@
stages:
- name: get_discussion
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -62,7 +62,7 @@
stages:
- name: get_post
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -88,7 +88,7 @@
stages:
- name: get_account_posts
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -114,7 +114,7 @@
stages:
- name: get_ranked_posts
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -140,7 +140,7 @@
stages:
- name: get_profile
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -166,7 +166,7 @@
stages:
- name: get_trending_topics
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -192,7 +192,7 @@
stages:
- name: post_notifications
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -218,7 +218,7 @@
stages:
- name: account_notifications
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -244,7 +244,7 @@
stages:
- name: unread_notifications
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -270,7 +270,7 @@
stages:
- name: get_payout_stats
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -298,7 +298,7 @@
stages:
- name: get_community
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -324,7 +324,7 @@
stages:
- name: list_communities
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -350,7 +350,7 @@
stages:
- name: list_community_roles
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -376,7 +376,7 @@
stages:
- name: list_subscribers
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -402,7 +402,7 @@
stages:
- name: list_all_subscriptions
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......
......@@ -10,7 +10,7 @@
stages:
- name: get_followers
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -39,7 +39,7 @@
stages:
- name: get_following
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -68,7 +68,7 @@
stages:
- name: get_follow_count
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -99,7 +99,7 @@
stages:
- name: get_content
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -130,7 +130,7 @@
stages:
- name: get_content_replies
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -161,7 +161,7 @@
stages:
- name: get_state
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -192,7 +192,7 @@
stages:
- name: get_trending_tags
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -223,7 +223,7 @@
stages:
- name: get_discussions_by_trending
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -254,7 +254,7 @@
stages:
- name: get_discussions_by_hot
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -285,7 +285,7 @@
stages:
- name: get_discussions_by_promoted
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -316,7 +316,7 @@
stages:
- name: get_discussions_by_created
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -347,7 +347,7 @@
stages:
- name: get_discussions_by_blog
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -376,7 +376,7 @@
stages:
- name: get_discussions_by_feed
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -407,7 +407,7 @@
stages:
- name: get_discussions_by_comments
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -438,7 +438,7 @@
stages:
- name: get_replies_by_last_update
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -469,7 +469,7 @@
stages:
- name: get_discussions_by_author_before_date
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -500,7 +500,7 @@
stages:
- name: get_post_discussions_by_payout
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -531,7 +531,7 @@
stages:
- name: get_comment_discussions_by_payout
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -562,7 +562,7 @@
stages:
- name: get_blog
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -591,7 +591,7 @@
stages:
- name: get_blog_entries
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -620,7 +620,7 @@
stages:
- name: get_account_reputations
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -649,7 +649,7 @@
stages:
- name: get_reblogged_by
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -678,7 +678,7 @@
stages:
- name: get_accounts
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -709,7 +709,7 @@
stages:
- name: get_active_votes
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......
......@@ -10,7 +10,7 @@
stages:
- name: get_followers
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -36,7 +36,7 @@
stages:
- name: get_following
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -62,7 +62,7 @@
stages:
- name: get_follow_count
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -88,7 +88,7 @@
stages:
- name: get_content
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -116,7 +116,7 @@
stages:
- name: get_state
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -142,7 +142,7 @@
stages:
- name: get_trending_tags
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -168,7 +168,7 @@
stages:
- name: get_discussions_by_trending
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -194,7 +194,7 @@
stages:
- name: get_discussions_by_hot
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -220,7 +220,7 @@
stages:
- name: get_discussions_by_promoted
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -246,7 +246,7 @@
stages:
- name: get_discussions_by_created
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -274,7 +274,7 @@
stages:
- name: get_discussions_by_blog
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -300,7 +300,7 @@
stages:
- name: get_discussions_by_feed
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -326,7 +326,7 @@
stages:
- name: get_discussions_by_comments
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -352,7 +352,7 @@
stages:
- name: get_replies_by_last_update
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -378,7 +378,7 @@
stages:
- name: get_discussions_by_author_before_date
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -404,7 +404,7 @@
stages:
- name: get_post_discussions_by_payout
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
......@@ -430,7 +430,7 @@
stages:
- name: get_comment_discussions_by_payout