Please disregard question #2, It seems to be possible to have only one partition :)
What version of apacheds-core-integ <https://mvnrepository.com/artifact/org.apache.directory.server/apacheds-core-integ> should I use? AM25 seems to be the latest, but its sources artifact somehow contains sources for 1 java file only :( is this known issue? (just double checked [1]) [1] http://central.maven.org/maven2/org/apache/directory/server/apacheds-core-integ/2.0.0.AM25/ On Mon, 29 Oct 2018 at 19:29, Maxim Solodovnik <[email protected]> wrote: > Thanks for the answer Stefan, > > I'm trying to write my first test > > Here are some findings and questions: > > 1) It seems `org.apache.directory.api:api-all` and > `org.apache.directory.api:api-ldap-schema-data` have conflicting ldif > bundled, is it safe to exclude api-ldap-schema-data from > `org.apache.directory.server:apacheds-server-integ` ? > > 2) it seems it is impossible to have more than 1 DN in ldif file being > loaded with @ApplyLdifFiles. And as far as I understand from > logs @CreatePartition is required for every DN, is this correct? > > 3) Maybe simple test with working config is available somewhere? > > I'll try to create PR for docs as soon as my first test will work :) > > > > On Sun, 28 Oct 2018 at 23:01, Stefan Seelmann <[email protected]> > wrote: > >> Hi Maxim, >> >> we no longer use the Confluence wiki for maintaining the documentation. >> All the pages there are really old (your example was updated 2010), and >> refer to ApacheDS 1.5 instead of 2.0. Maybe the wiki pages should be >> deleted or at least marked as "outdated", let's discuss and decide that >> in a separate thread. >> >> Documentation was moved to the Apache CMS, but is far from being >> completed. The page you refer should probably be below [1] but is empty. >> So if you want to help better move it there, the source is [2]. As you >> see, documentation is not in a good shape, help is very appreciated. >> >> Kind Regards, >> Stefan >> >> [1] >> >> https://directory.apache.org/apacheds/advanced-ug/7-embedding-apacheds.html >> [2] >> >> https://svn.apache.org/repos/asf/directory/site/trunk/content/apacheds/advanced-ug/7-embedding-apacheds.mdtext >> >> >> On 10/28/18 4:27 PM, Maxim Solodovnik wrote: >> > Hello Emmanuel, >> > >> > It seems this wiki page >> > >> https://cwiki.apache.org/confluence/display/DIRxSRVx11/4.2.+Using+ApacheDS+for+unit+tests >> > Have broken formatting >> > Can you please fix it? >> > Or I can try to do it (but currently don't have enough karma :( ) >> > >> > Thanks in advance! >> > >> >> > > -- > WBR > Maxim aka solomax > -- WBR Maxim aka solomax
