directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1493608 - in /directory/site/trunk/content/apacheds/basic-ug: ./ images/
Date Sun, 16 Jun 2013 23:12:54 GMT
Author: elecharny
Date: Sun Jun 16 23:12:54 2013
New Revision: 1493608

URL: http://svn.apache.org/r1493608
Log:
Updated the schema modification page

Added:
    directory/site/trunk/content/apacheds/basic-ug/images/connected-schema-project.png   (with
props)
    directory/site/trunk/content/apacheds/basic-ug/images/create-schema.png   (with props)
    directory/site/trunk/content/apacheds/basic-ug/images/eclipse-showview-schemas.png   (with
props)
    directory/site/trunk/content/apacheds/basic-ug/images/export-schema.png   (with props)
    directory/site/trunk/content/apacheds/basic-ug/images/import-schema.png   (with props)
    directory/site/trunk/content/apacheds/basic-ug/images/schema-editor.png   (with props)
    directory/site/trunk/content/apacheds/basic-ug/images/schema-for-apacheds.png   (with
props)
    directory/site/trunk/content/apacheds/basic-ug/images/schemas-view-with-loaded.png   (with
props)
    directory/site/trunk/content/apacheds/basic-ug/images/select-target-server.png   (with
props)
Modified:
    directory/site/trunk/content/apacheds/basic-ug/2.3.1-adding-schema-elements.mdtext

Modified: directory/site/trunk/content/apacheds/basic-ug/2.3.1-adding-schema-elements.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/2.3.1-adding-schema-elements.mdtext?rev=1493608&r1=1493607&r2=1493608&view=diff
==============================================================================
--- directory/site/trunk/content/apacheds/basic-ug/2.3.1-adding-schema-elements.mdtext (original)
+++ directory/site/trunk/content/apacheds/basic-ug/2.3.1-adding-schema-elements.mdtext Sun
Jun 16 23:12:54 2013
@@ -152,4 +152,53 @@ Our file sevenSeas.schema looks like thi
             MAY ( numberOfGuns $ description ) 
      )
 
+In Eclipse with the Apache Directory Studio plugins installed (or alternatively the standalone
RCP application of Apache Directory Studio, if you prefer this), open the Schemas Editor :
 
+![Schema Editor](images/schema-editor.png)
+
+Now, create a new schema project. Here, you have a choice :
+ * either you create a offline schema project
+ * or you create a project that will pull the schema from an existing ApacheDS server (it
must be running, and a connection must have been created in Studio)
+
+### Offline schema project
+
+You need to create a new schema project, and to select the targeted server (either ApacheDS
or OpenLDAP) :
+
+![Select target server](images/select-target-server.png)
+
+Then select all the schema you want to use this is necessary if you are to extend an AttributeType
or an ObjectClass in your own schema)
+
+### Connected schema project
+
+In this case, you will see all the existing schema in the ApacheDS server you are connected
to :
+
+![Connected Schema Project](images/connected-schema-project.png)
+
+### Creating the new schema
+
+Create the new schema you want to add by clicking on the 'schema creation' icon, as shown
in the following picture :
+
+![Create Schema](images/create-schema.png)
+
+Now, you can add the Attribute Type or ObjectClasses you need in this added schema (see how
to create schema elements in Apache Directory Studio documentation).
+
+<DIV class="warning" markdown="1">
+Sadly, in this version, the modifications you have made on a schema won't be injected into
the server. In fact, the existing schemas are loaded from the server, and every modification
is applied locally, not on the remote server.
+
+In order to inject the modified schema, you need to export the modifications in LDIF format
for ApacheDS, and to import this LDIF into the targeted ApacheDS server.
+</DIV>
+
+Once this is done, you hav to export the modifications in a format that will fit what is
expected by ApacheDS. Right click on the schemas windows, select 'export-> Schemas for
ApacheDS', and in the popup, select the schema you have added :
+
+![Export Schema](images/export-schema.png)
+
+### Importing the schema
+
+The last step is to import the newly created LDIF into your ApacheDS instance. Just import
it as any other LDIF, it will create a new element in your server schema :
+![Import Schema](images/import-schema.png)
+
+You should see your schema into the list of supported schemas.
+
+<DIV class="warning" markdown="1">
+You must restart the server if you want to use the added AttributeTypes or ObjectClasses.
The schema is currently not dynamic in ApacheDS
+</DIV>

Added: directory/site/trunk/content/apacheds/basic-ug/images/connected-schema-project.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/images/connected-schema-project.png?rev=1493608&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/apacheds/basic-ug/images/connected-schema-project.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/site/trunk/content/apacheds/basic-ug/images/create-schema.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/images/create-schema.png?rev=1493608&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/apacheds/basic-ug/images/create-schema.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/site/trunk/content/apacheds/basic-ug/images/eclipse-showview-schemas.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/images/eclipse-showview-schemas.png?rev=1493608&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/apacheds/basic-ug/images/eclipse-showview-schemas.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/site/trunk/content/apacheds/basic-ug/images/export-schema.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/images/export-schema.png?rev=1493608&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/apacheds/basic-ug/images/export-schema.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/site/trunk/content/apacheds/basic-ug/images/import-schema.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/images/import-schema.png?rev=1493608&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/apacheds/basic-ug/images/import-schema.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/site/trunk/content/apacheds/basic-ug/images/schema-editor.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/images/schema-editor.png?rev=1493608&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/apacheds/basic-ug/images/schema-editor.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/site/trunk/content/apacheds/basic-ug/images/schema-for-apacheds.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/images/schema-for-apacheds.png?rev=1493608&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/apacheds/basic-ug/images/schema-for-apacheds.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/site/trunk/content/apacheds/basic-ug/images/schemas-view-with-loaded.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/images/schemas-view-with-loaded.png?rev=1493608&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/apacheds/basic-ug/images/schemas-view-with-loaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/site/trunk/content/apacheds/basic-ug/images/select-target-server.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/images/select-target-server.png?rev=1493608&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/apacheds/basic-ug/images/select-target-server.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message