Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New API for employees #6

Merged
merged 11 commits into from
Dec 23, 2018
Merged

New API for employees #6

merged 11 commits into from
Dec 23, 2018

Conversation

hgwood
Copy link
Member

@hgwood hgwood commented Dec 21, 2018

This API has better names for fields and pulls employees for all countries instead of just France.

⚠️ The 3 leaders of Zenika (those who do not have a manager) are not of type "EMPLOYEE" in Alibeez so they don't show up in the list returned by this API.

The old API is still there and will keep working.

@hgwood hgwood self-assigned this Dec 21, 2018
@hgwood
Copy link
Member Author

hgwood commented Dec 21, 2018

@Bugsyaya @yodur2potassium I will merge this because we need it for December 25 to make the Humeur du mois work with other countries but please review. :)

log.error("You have misconfigured your application! It should not" +
"run with both the 'dev' and 'cloud' profiles at the same time.");
}
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no change in this method, it was simply moved by automated formatting.

base-url: https://zenika.my.alibeez.com/api/query
key:
# newer Alibeez connector config for API v2
instances:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not scale to multiple endpoints but for now it's good enough.

@hgwood hgwood merged commit ed90b82 into master Dec 23, 2018
@hgwood hgwood deleted the support-for-multiple-keys branch December 23, 2018 13:42
hgwood added a commit to Zenika/humeur-du-mois that referenced this pull request Dec 23, 2018
This makes Humeur pull employees of all countries.

See Zenika/proxybeez#6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant