Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include "console.iol"
- execution { single }
- interface ConsulGetterInterface {
- RequestResponse:
- GITHUB_ACCESS_TOKEN( void )( undefined )
- }
- outputPort ConsulGetter {
- Location: "socket://10.24.3.1:8500/v1/kv/"
- Interfaces: ConsulGetterInterface
- Protocol: http { .method = "get" }
- }
- // run tests
- main
- {
- GITHUB_ACCESS_TOKEN@ConsulGetter()( out );
- println@Console( out )()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement