From 2dc9267423f464414b19718e5c2daa9f58283863 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 6 Dec 2022 11:57:19 -0500 Subject: [PATCH] feat: add attributes and branch for ADS deployments #3095 (#3228) --- .../jans_setup/schema/jans_schema.json | 44 +++++++++++++++++++ .../static/rdbm/sql_data_types.json | 18 ++++++++ .../jans_setup/templates/agama.ldif | 5 +++ 3 files changed, 67 insertions(+) diff --git a/jans-linux-setup/jans_setup/schema/jans_schema.json b/jans-linux-setup/jans_setup/schema/jans_schema.json index c5767e76a4a..1a36820e934 100644 --- a/jans-linux-setup/jans_setup/schema/jans_schema.json +++ b/jans-linux-setup/jans_setup/schema/jans_schema.json @@ -3208,6 +3208,28 @@ "syntax": "1.3.6.1.4.1.1466.115.121.1.15", "x_origin": "Jans created attribute" }, + { + "desc": "Assets of an ADS project", + "equality": "caseIgnoreMatch", + "names": [ + "adsPrjAssets" + ], + "oid": "jansAttr", + "substr": "caseIgnoreSubstringsMatch", + "syntax": "1.3.6.1.4.1.1466.115.121.1.15", + "x_origin": "Jans created attribute" + }, + { + "desc": "Misc details associated to an ADS project", + "equality": "caseIgnoreMatch", + "names": [ + "adsPrjDeplDetails" + ], + "oid": "jansAttr", + "substr": "caseIgnoreSubstringsMatch", + "syntax": "1.3.6.1.4.1.1466.115.121.1.15", + "x_origin": "Jans created attribute" + }, { "desc": "jans Display Name Localized", "equality": "caseIgnoreMatch", @@ -4344,6 +4366,28 @@ ], "x_origin": "Jans created objectclass" }, + { + "kind": "STRUCTURAL", + "may": [ + "jansId", + "jansStartDate", + "jansActive", + "jansEndDate", + "adsPrjAssets", + "adsPrjDeplDetails" + ], + "must": [ + "objectclass" + ], + "names": [ + "adsPrjDeployment" + ], + "oid": "jansObjClass", + "sup": [ + "top" + ], + "x_origin": "Jans created objectclass" + }, { "kind": "STRUCTURAL", "may": [ diff --git a/jans-linux-setup/jans_setup/static/rdbm/sql_data_types.json b/jans-linux-setup/jans_setup/static/rdbm/sql_data_types.json index a560f799534..065a3523803 100644 --- a/jans-linux-setup/jans_setup/static/rdbm/sql_data_types.json +++ b/jans-linux-setup/jans_setup/static/rdbm/sql_data_types.json @@ -861,5 +861,23 @@ "size": 128, "type": "STRING" } + }, + "adsPrjAssets": { + "mysql": { + "type": "LONGTEXT" + }, + "spanner": { + "type": "STRING(MAX)" + } + }, + "adsPrjDeplDetails": { + "mysql": { + "size": 2048, + "type": "VARCHAR" + }, + "spanner": { + "size": 2048, + "type": "STRING" + } } } diff --git a/jans-linux-setup/jans_setup/templates/agama.ldif b/jans-linux-setup/jans_setup/templates/agama.ldif index a872c4137b9..98e6e8ffbf4 100644 --- a/jans-linux-setup/jans_setup/templates/agama.ldif +++ b/jans-linux-setup/jans_setup/templates/agama.ldif @@ -12,3 +12,8 @@ dn: ou=flows,ou=agama,o=jans objectClass: organizationalUnit objectClass: top ou: flows + +dn: ou=deployments,ou=agama,o=jans +objectClass: organizationalUnit +objectClass: top +ou: deployments