From d99d01363f3aab673a037ce152c660ca99e9d126 Mon Sep 17 00:00:00 2001 From: tdj_tx <tdj_tx@localhost> Date: Fri, 09 Mar 2007 22:47:43 +0000 Subject: [PATCH] ldif files needed for the dynamic schema tests for issues 366 and 367 --- opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema.ldif | 7 ++ opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/05-DynamicSchemaAdd.ldif | 6 ++ opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema1.ldif | 34 +++++++++++ opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema4.ldif | 29 +++++++++ opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema2.ldif | 13 ++++ opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema2.ldif | 34 +++++++++++ opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema3.ldif | 29 +++++++++ opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema3.ldif | 7 ++ 8 files changed, 159 insertions(+), 0 deletions(-) diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/05-DynamicSchemaAdd.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/05-DynamicSchemaAdd.ldif new file mode 100644 index 0000000..d088ed0 --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/05-DynamicSchemaAdd.ldif @@ -0,0 +1,6 @@ +dn: cn=schema +objectClass: top +objectClass: ldapSubentry +objectClass: subschema +attributeTypes: ( addschema1at-oid NAME 'addschema1AT' ) +objectClasses: ( addschema1oc-oid NAME 'addschema1OC' STRUCTURAL MUST addschema1AT ) diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema1.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema1.ldif new file mode 100644 index 0000000..12c5934 --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema1.ldif @@ -0,0 +1,34 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying * information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2007 Sun Microsystems, Inc. +# + +dn: dc=dynamic-schema-tests,dc=example,dc=com +dc: dynamic-schema-tests +objectclass: top +objectclass: domain + +dn: addschema1AT=schema1,dc=dynamic-schema-tests,dc=example,dc=com +objectclass: top +objectclass: addschema1OC +addschema1AT: schema1 diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema2.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema2.ldif new file mode 100644 index 0000000..18431ce --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema2.ldif @@ -0,0 +1,34 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying * information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2007 Sun Microsystems, Inc. +# + +dn: dc=dynamic-schema-tests-2,DC=example,dc=com +dc: dynamic-schema-tests-2 +objectclass: top +objectclass: domain + +dn: addschema2AT=schema2,dc=dynamic-schema-tests-2,dc=example,dc=com +objectclass: top +objectclass: addschema2OC +addschema2AT: schema2 diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema3.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema3.ldif new file mode 100644 index 0000000..b7d15cf --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema3.ldif @@ -0,0 +1,29 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying * information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2007 Sun Microsystems, Inc. +# + +dn: addschema3AT=schema3,dc=dynamic-schema-tests-2,dc=example,dc=com +objectclass: top +objectclass: addschema3OC +addschema3AT: schema3 diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema4.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema4.ldif new file mode 100644 index 0000000..7f6f420 --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/dynamic_schema4.ldif @@ -0,0 +1,29 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying * information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2007 Sun Microsystems, Inc. +# + +dn: addschema3AT=schema4,dc=dynamic-schema-tests-2,dc=example,dc=com +objectclass: top +objectclass: addschema3OC +addschema3AT: schema4 diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema.ldif new file mode 100644 index 0000000..5d9d40d --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema.ldif @@ -0,0 +1,7 @@ +dn: cn=schema +changetype:modify +add: attributeTypes +attributeTypes: ( addschema2at-oid NAME 'addschema2AT' ) +- +add: objectClasses +objectClasses: ( addschema2oc-oid NAME 'addschema2OC' STRUCTURAL MUST addschema2AT ) diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema2.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema2.ldif new file mode 100644 index 0000000..99c0ab5 --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema2.ldif @@ -0,0 +1,13 @@ +dn: cn=schema +changetype:modify +delete: objectClasses +objectClasses: ( addschema2oc-oid NAME 'addschema2OC' STRUCTURAL MUST addschema2AT ) +- +delete: attributeTypes +attributeTypes: ( addschema2at-oid NAME 'addschema2AT' ) +- +add: attributeTypes +attributeTypes: ( addschema3at-oid NAME 'addschema3AT' ) +- +add: objectClasses +objectClasses: ( addschema3oc-oid NAME 'addschema3OC' STRUCTURAL MUST addschema3AT ) diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema3.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema3.ldif new file mode 100644 index 0000000..0d9b51b --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/schema/ldifs/updateSchema3.ldif @@ -0,0 +1,7 @@ +dn: cn=schema +changetype:modify +delete: objectClasses +objectClasses: ( addschema3oc-oid NAME 'addschema3OC' STRUCTURAL MUST addschema3AT ) +- +delete: attributeTypes +attributeTypes: ( addschema3at-oid NAME 'addschema3AT' ) -- Gitblit v1.10.0