You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-17Lines changed: 20 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# discovery-python
2
2
3
-
Programmatically find service endpoints.
3
+
This library programmatically finds endpoints for dependencies. Similar to [discovery-go](https://github.com/Clever/discovery-go) and [disocvery-node](https://github.com/Clever/discovery-node).
4
4
5
-
This library currently is just an abstraction around reading environment variables used for dependent services.
5
+
See [Service Discovery](https://github.com/Clever/infra-docs/blob/master/deploy/service_discovery.md)for more details.
6
6
7
7
## Installation
8
8
@@ -55,21 +55,6 @@ except discovery.MissingEnvironmentVariableError as e:
55
55
56
56
```
57
57
58
-
## Environment Variables
59
-
60
-
This library currently requires environment variables to be defined in the following format:
These environment variables are autogenerated by [fab](http://github.com/Clever/fabulaws) and [catapult](http://github.com/Clever/catapult) during app deployment. Three env-vars are created for each app listed in the `dependencies` section of caller's launch yaml.
80
+
81
+
For example, if an app lists `district-authorizations` as a dependency, fab and catapult will generate this env-vars triplet:
0 commit comments