-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #254 from IMBlues/development
feat: 增加了通过 yaml 配置插件 SettingMeta 的能力
- Loading branch information
Showing
34 changed files
with
716 additions
and
138 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
paths: | ||
default: | ||
profile: "profiles" | ||
department: "departments" | ||
api_host: | ||
default: "" | ||
example: "http://example.com" |
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
122 changes: 122 additions & 0 deletions
122
src/api/bkuser_core/categories/plugins/ldap/settings.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
ldap_max_paged_size: | ||
default: 1000 | ||
min_sync_period: | ||
default: 60 | ||
default_sync_period: | ||
default: 120 | ||
|
||
user_member_of: | ||
default: memberOf | ||
example: memberOf | ||
region: group | ||
namespace: fields | ||
user_group_description: | ||
default: description | ||
example: description | ||
required: true | ||
region: group | ||
namespace: fields | ||
user_group_name: | ||
default: cn | ||
example: cn | ||
required: true | ||
region: group | ||
namespace: fields | ||
user_group_filter: | ||
default: (objectclass=groupOfUniqueNames) | ||
example: (objectclass=groupOfUniqueNames) | ||
required: true | ||
region: group | ||
namespace: fields | ||
user_group_class: | ||
default: groupOfUniqueNames | ||
example: groupOfUniqueNames | ||
required: true | ||
region: group | ||
namespace: fields | ||
|
||
telephone: | ||
default: telephonenumber | ||
example: telephonenumber | ||
required: true | ||
region: basic | ||
namespace: fields | ||
email: | ||
default: email | ||
example: email | ||
required: true | ||
region: basic | ||
namespace: fields | ||
display_name: | ||
default: displayName | ||
example: displayName | ||
required: true | ||
region: basic | ||
namespace: fields | ||
username: | ||
default: cn | ||
required: true | ||
region: basic | ||
namespace: fields | ||
organization_class: | ||
default: organizationalUnit | ||
example: organizationalUnit | ||
required: true | ||
region: basic | ||
namespace: fields | ||
user_filter: | ||
default: (objectclass=inetorgperson) | ||
example: (objectclass=inetorgperson) | ||
required: true | ||
region: basic | ||
namespace: fields | ||
user_class: | ||
default: inetorgperson | ||
example: inetorgperson | ||
required: true | ||
region: basic | ||
namespace: fields | ||
basic_pull_node: | ||
required: true | ||
region: basic | ||
namespace: fields | ||
|
||
dynamic_fields_mapping: | ||
required: false | ||
default: {} | ||
region: extend | ||
namespace: fields | ||
|
||
password: | ||
example: password | ||
required: true | ||
namespace: connection | ||
user: | ||
example: username | ||
required: true | ||
namespace: connection | ||
base_dn: | ||
example: CN | ||
required: true | ||
namespace: connection | ||
pull_cycle: | ||
default: 60 | ||
example: 60 | ||
required: true | ||
namespace: connection | ||
timeout_setting: | ||
default: 120 | ||
example: 120 | ||
required: true | ||
namespace: connection | ||
ssl_encryption: | ||
choices: | ||
- "\u65E0" | ||
- SSL | ||
default: "\u65E0" | ||
required: true | ||
namespace: connection | ||
connection_url: | ||
example: ldap://localhost:389 | ||
required: true | ||
namespace: connection |
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
Oops, something went wrong.