Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 97465 invoked from network); 24 Jan 2007 21:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2007 21:48:25 -0000 Received: (qmail 4270 invoked by uid 500); 24 Jan 2007 21:48:30 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 4242 invoked by uid 500); 24 Jan 2007 21:48:30 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 4231 invoked by uid 99); 24 Jan 2007 21:48:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 13:48:30 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of akarasulu@gmail.com designates 64.233.184.231 as permitted sender) Received: from [64.233.184.231] (HELO wr-out-0506.google.com) (64.233.184.231) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 13:48:20 -0800 Received: by wr-out-0506.google.com with SMTP id i21so250415wra for ; Wed, 24 Jan 2007 13:47:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:organization:user-agent:mime-version:to:subject:content-type:sender; b=tpyv9p6tClndADg7FePrNY46kL+toM38FyNyXjG7C5kuW355RuVBSivMhCThPoUIA0NaVohQYWMVJ43IlUu8yWnArJJBH+0ToO4+7VjrrG8mEsTDBcAggmO+HD3EeahE6AVEXntpBRocNjEojg64zL+0uRQ+0zVeZgqnG6L1XcU= Received: by 10.90.113.18 with SMTP id l18mr1343497agc.1169675279699; Wed, 24 Jan 2007 13:47:59 -0800 (PST) Received: from ?172.16.1.7? ( [65.80.200.112]) by mx.google.com with ESMTP id 13sm2927507wrl.2007.01.24.13.47.58; Wed, 24 Jan 2007 13:47:58 -0800 (PST) Message-ID: <45B7D477.7090800@apache.org> Date: Wed, 24 Jan 2007 16:49:43 -0500 From: Alex Karasulu Reply-To: akarasulu@apache.org Organization: Apache Software Foundation User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: Apache Directory Developers List Subject: [ApacheDS] STATUS: Schema subsystem Content-Type: multipart/mixed; boundary="------------080006090407090406010607" Sender: Alex Karasulu X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------080006090407090406010607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, As you may already know I've been trying to revamp the limited read-only schema subsystem we have to allow for dynamic updates. Here's some initial design documentation about this schema revamp: http://cwiki.apache.org/DIRxSRVx11/schema-subsystem-redesign.html Where are we? ============= At this point I've added to trunks the fixed ou=schema namingContext partition which is preloaded with all known schema we have here at Directory. Not all schema are activated so they are not loaded into registries. I have enabled code that updates registries when schema entities described by the meta schema are updated. Thanks to Emmanuel for formulating this meta schema; it's working out well for our needs with minor changes. For now I have covered the basic schema types: o SyntaxDescriptions o MatchingRuleDescriptions o AttributeTypeDescriptions o ObjectClassDescriptions Functionality for following schema entities have been stubbed out: o MatchingRuleUseDescriptions o DITContentRules o DITStructureRules o NameForms What needs to be done? ====================== I still have to add code that will determine what to do when a schema is modified (name changed) etc. I also have to add the X-SCHEMA and X-IS-HUMAN-READABLE schema extensions. Now my goal is to move the global subschemaSubentry from cn=schema,ou=system to cn=schema to reflect the contents of the ou=schema meta data in RFC based Syntaxes for the various schema elements: SyntaxDescriptions, MatchingRuleDescriptions, AttributeTypeDescriptions, ObjectClassDescriptions etc ... Then I would like to make sure updates to the schemaSubentry work properly for the default (protocol accepted) manner in which schema is updated in LDAP servers. This is where Stefan Seelmann's parsers will come in handy. Need functionality for following schema entities which can be added later: o MatchingRuleUseDescriptions o DITContentRules o DITStructureRules o NameForms The wiki page on the design above covers having separate schema autonomous areas (SAA) where right now I did not have time to include this. It was more important to me to just get this thing done so schema can be dynamically updated. Ersin and I talked and he thinks later he can retrofit this feature. Ersin also expressed interested in add functionality for nameForms, dITStructureRules, dITContentRules and matchingRuleUses. Summary ======= It's looking good as is but I have had trouble working as much as I want to on this in the past couple weeks. I tried to distribute some time to triplesec and apacheds so we can bring djencks more up to speed. Since he looks ok for now I'm going to revert back a bit to working on this stuff. Hopefully it can be finished in another week or two. Alex --------------080006090407090406010607 Content-Type: text/x-vcard; charset=utf-8; name="akarasulu.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="akarasulu.vcf" begin:vcard fn:Alex Karasulu n:Karasulu;Alex org:Apache Software Foundation;Apache Directory adr:;;1005 N. Marsh Wind Way;Ponte Vedra ;FL;32082;USA email;internet:akarasulu@apache.org title:Member, V.P. tel;work:(904) 791-2766 tel;fax:(904) 808-4789 tel;home:(904) 808-4789 tel;cell:(904) 315-4901 note;quoted-printable:AIM: alexokarasulu=0D=0A= MSN: aok123@bellsouth.net=0D=0A= Yahoo!: alexkarasulu=0D=0A= IRC: aok=0D=0A= PGP ID: 1024D/4E1370F8 BBCC E8D8 8756 2D51 C3D4 014A 3662 F96F 4E13 70F8=0D=0A= x-mozilla-html:FALSE url:http://people.apache.org/~akarasulu version:2.1 end:vcard --------------080006090407090406010607--