Showing how to use multiple Feign Clients using different Authorization headers.
Use environment variables to provide the credentials needed to access Jira and Slack APIs:
JIRA_API_USERNAME
JIRA_API_PASSWORD
SLACK_AUTH_TOKEN
In application.yml
define the correct URL for the Jira/Zephyr API that you need to access:
zephyr:
api:
baseUrl: https://jira.my-company.com/jira/rest/zapi/latest