-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Enable register with environment names and environment types
* Allow to register also with environment names. It is possible to use environment names with username & password and activation-keys & organization authentication * It is not allowed to use `environmets` and `environment_names` registration options together, because it is not possible to use env. IDs and names together on candlepin server * Introduce environment_type as another registration_option * When consumer object is returned and it contains environments, then all environments are checked if type of environment matches given environment_type. If type is missing or is different, then system is unregistered and exception is raised * Modified few unit tests related to environments * Added few unit tests
- Loading branch information
1 parent
5eee229
commit 7092ac7
Showing
3 changed files
with
141 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters