diff --git a/docs/config.png b/docs/config.png index 7e2bf4fa..d32bc8a5 100644 Binary files a/docs/config.png and b/docs/config.png differ diff --git a/docs/config.puml b/docs/config.puml index 8f0a4400..0a1d0b21 100644 --- a/docs/config.puml +++ b/docs/config.puml @@ -73,12 +73,14 @@ class "JwtConfiguration" as src.models.config.JwtConfiguration { username_claim : str } class "JwtRoleRule" as src.models.config.JwtRoleRule { + compiled_regex jsonpath : str negate : bool operator roles : list[str] value : Any check_jsonpath() -> Self + check_regex_pattern() -> Self check_roles() -> Self } class "LlamaStackConfiguration" as src.models.config.LlamaStackConfiguration { diff --git a/docs/config.svg b/docs/config.svg index 8ec02c99..97b3e8fe 100644 --- a/docs/config.svg +++ b/docs/config.svg @@ -1,5 +1,5 @@ - + @@ -15,13 +15,13 @@ - - - - Action - - name - + + + + Action + + name + @@ -134,13 +134,13 @@ - - - - JsonPathOperator - - name - + + + + JsonPathOperator + + name + @@ -155,35 +155,37 @@ - - - - JwtConfiguration - - role_rules : Optional[list[JwtRoleRule]] - user_id_claim : str - username_claim : str - + + + + JwtConfiguration + + role_rules : Optional[list[JwtRoleRule]] + user_id_claim : str + username_claim : str + - - - - JwtRoleRule - - jsonpath : str - negate : bool - operator - roles : list[str] - value : Any - - check_jsonpath() -> Self - check_roles() -> Self + + + + JwtRoleRule + + compiled_regex + jsonpath : str + negate : bool + operator + roles : list[str] + value : Any + + check_jsonpath() -> Self + check_regex_pattern() -> Self + check_roles() -> Self - + LlamaStackConfiguration @@ -197,7 +199,7 @@ - + ModelContextProtocolServer @@ -209,7 +211,7 @@ - + PostgreSQLDatabaseConfiguration @@ -228,17 +230,17 @@ - - - - SQLiteDatabaseConfiguration - - db_path : str - + + + + SQLiteDatabaseConfiguration + + db_path : str + - + ServiceConfiguration @@ -256,7 +258,7 @@ - + TLSConfiguration @@ -269,7 +271,7 @@ - + UserDataCollection @@ -283,160 +285,160 @@ - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - - + + - + - + - + - + authentication - + cors - + database - + inference - - - operator + + + operator - - + + jwt_configuration - + llama_stack - - - sqlite + + + sqlite - + service - + tls_config - + user_data_collection - +