Add infofasjson info plugin #1

Merged
ryanlerch merged 1 commit from staging-infofasjson into staging 2020-09-14 13:58:07 +00:00
Owner

This adds the initial implementation of the infofasjson plugin, with
support for profile information and groups information. Agreemeents info
coming soon.

Signed-off-by: Ryan Lerch rlerch@redhat.com

This adds the initial implementation of the infofasjson plugin, with support for profile information and groups information. Agreemeents info coming soon. Signed-off-by: Ryan Lerch <rlerch@redhat.com>
First-time contributor

Let's set a more relevant default for the final version.

Let's set a more relevant default for the final version.
First-time contributor

For the final version, those debug lines can go

For the final version, those debug lines can go
First-time contributor

I think catching fasjson_client.errors.ClientError would let us be smarter in our handling of the exception.

I think catching `fasjson_client.errors.ClientError` would let us be smarter in our handling of the exception.
First-time contributor

The FAS plugin returns {} explicitely in case of errors, we should probably do that too. Also, the line above is duplicated.

The FAS plugin returns `{}` explicitely in case of errors, we should probably do that too. Also, the line above is duplicated.
First-time contributor

I'll merge it so we can test it, on the next PR could you please open it on the dev branch? I was planning on using the staging branch only as a branch we merge into from dev, not from PRs (not a big deal at all ;-) )

I'll merge it so we can test it, on the next PR could you please open it on the `dev` branch? I was planning on using the `staging` branch only as a branch we merge into from `dev`, not from PRs (not a big deal at all ;-) )
First-time contributor

Pull-Request has been merged by abompard

Pull-Request has been merged by abompard
First-time contributor

Uhm, remove one of these? Or do we need the error reported twice?

Uhm, remove one of these? Or do we need the error reported twice?
First-time contributor

Oops, missed that Aurélien caught this already. I'm late anyway. 😉

Oops, missed that Aurélien caught this already. I'm late anyway. :wink:
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Infrastructure/ipsilon-fedora#1
No description provided.