Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Make the following changes in OLE to enable searching of external datasources with Z39.50 protocol

Setting up external dependencies for jz3950 library for connecting to Z39.50 datasources.

  1. Get source code from https://jz3950.svn.sourceforge.net/svnroot/jz3950/trunk and build the jar file.
  2. Create maven dependency for the above created jar file using below command;
mvn install:install-file -DgroupId=net.sf.jz3950 -DartifactId=jz3950 -Dversion=1.0-SNAPSHOT -Dfile=<path_to_your_jar_file> -Dpackaging=jar -DgeneratePom=true

Changes in ole-docstore-search project

File pom.xml

Uncomment the following lines.

<!--
      <dependency>
          <groupId>net.sf.jz3950</groupId>
          <artifactId>jz3950</artifactId>
          <version>1.0-SNAPSHOT</version>
      </dependency>
      <dependency>
          <groupId>org.jzkit</groupId>
          <artifactId>a2j</artifactId>
          <version>2.0.4</version>
      </dependency>
-->

Class Z3950DataSource

Uncomment the code in this class.

Changes in ole project

Class ImportBibController

Uncomment the following line.

//List<String> results = externalDataSource.searchForBibs(searchParams,dataSourceConfig);

File ImportBibSearchPage.xml

Uncomment the commented line in the following snippet.

<bean id="search_button" parent="Uif-SecondaryActionButton-Small"
                      p:methodToCall="search" p:actionLabel="Search"/>
                      <!--p:methodToCall="search" p:actionLabel="Search" p:refreshId="ExternalSourceResults-Section"/>-->

<!--<ref bean="ExternalSourceSearch-Buttons"/>-->
<!--<ref bean="ExternalSourceResults-Section"/>-->
<!--<ref bean="externalNext-Button"/>-->

Creating an external data source:

Importing records from external source:

  • Navigate to Describe tab in OLE home page.

  • Click “Import Bib” link.

  • Select tab “Import from External Data Source”.

  • Select the source which you are created.

  • Enter the search criteria and click “Search” button.

     

     

 

  • No labels