Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

feat(http): add http interface for get_app_envs #321

Merged
merged 19 commits into from
Oct 9, 2019
Merged

feat(http): add http interface for get_app_envs #321

merged 19 commits into from
Oct 9, 2019

Conversation

levy5307
Copy link
Contributor

@levy5307 levy5307 commented Sep 27, 2019

#316
apache/incubator-pegasus#351

add http interface to get envs for a specified app.
The request url is:

{ip}:{port}/meta/app_envs?name={app_name}

for example, assuming that the meta server address is 127.0.0.1:34601, to get app envs for app temp, the request is :

127.0.0.1:34601/meta/app_envs?name=temp

output json:

{
  "replica.enable_slow_query_log": "true",
  "replica.slow_query_threshold": "20"
}

@neverchanje neverchanje changed the title feat: add http interface for get_app_envs feat(http): add http interface for get_app_envs Sep 27, 2019
@neverchanje

This comment has been minimized.

neverchanje
neverchanje previously approved these changes Sep 29, 2019
@neverchanje neverchanje added the component/http HTTP/RESTful support label Sep 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component/http HTTP/RESTful support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants