-
Notifications
You must be signed in to change notification settings - Fork 129
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
Feature : Handle portal's entities #289
Comments
Developers further present an additional challenge: when you create a developer, you provide fields (e.g. password) that are not visible on the final object. Thus, with a naive approach, if you perform an initial sync and then an additional sync after using the same state file, deck will detect a diff and send a PATCH to try and set the "missing" fields. Unsure if that request can actually succeed (Kong ignores the fields and returns a 200) or not (Kong rejects the problem fields and returns a 400). This requires either that you manually dump state after developer creation and use that as a basis for subsequent syncs (which is quite inconvenient) or that deck's diff logic be aware of the problem fields and handle them gracefully. |
In my use cases I manage developers with basic and openid-connect authentication. On the first synchronization the password is used to create the developer. |
The same way others entities of the gateway are handled by deck we should be able to handle the portal's entities : developers and developer's roles.
There could be a flag --portal-only to ensure to allow separation of concern between gateway and portal's entities. They're not incompatible of course, but portal's entities doesn't support tags so it cannot be used with select-tag option
The text was updated successfully, but these errors were encountered: