Changeset 4366


Ignore:
Timestamp:
Feb 27, 2017, 1:40:30 PM (6 years ago)
Author:
Nicklas Nordborg
Message:

References #940: Release importer

Started to work on a release importer plug-in. It connects to a selected FileServer item (we use the generic SSH functionality in the Open Grid extension) and looks for files that the exporter (in Reggie) is supposed to create. Currently it will only count the number of *.json files and check for the exportcomplete file. Once found the plug-in exits.

Location:
extensions/net.sf.basedb.relax/trunk
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.relax/trunk/.classpath

    r4350 r4366  
    88  <classpathentry kind="lib" path="lib/base-core-3.10.0.jar"/>
    99  <classpathentry kind="lib" path="lib/base-webclient-3.10.0.jar"/>
     10  <classpathentry kind="lib" path="lib/opengrid.jar"/>
    1011  <classpathentry kind="output" path=".build"/>
    1112</classpath>
  • extensions/net.sf.basedb.relax/trunk/META-INF/MANIFEST.MF

    r4349 r4366  
    11Manifest-Version: 1.0
     2Class-Path: opengrid.jar
  • extensions/net.sf.basedb.relax/trunk/META-INF/extensions.xml

    r4363 r4366  
    1212    <url>http://baseplugins.thep.lu.se/wiki/net.sf.basedb.relax</url>
    1313  </about>
     14 
     15  <plugin-definition id="ReleaseImporterPlugin">
     16    <about>
     17      <name>Release importer</name>
     18      <description>
     19        Plug-in for imported released data.
     20      </description>
     21    </about>
     22    <plugin-class>net.sf.basedb.relax.plugins.ReleaseImporterPlugin</plugin-class>
     23    <settings>
     24      <property name="everyone-use">0</property>
     25    </settings>
     26  </plugin-definition>
    1427 
    1528  <extension
     
    3750  </extension>
    3851
     52
     53 
     54  <extension
     55    id="net.sf.basedb.relax.test"
     56    extends="net.sf.basedb.clients.web.menu.extensions"
     57    >
     58    <index>10</index>
     59    <about safe-scripts="1">
     60      <name>Test import (admin)</name>
     61      <description>
     62        Menu entry for Relax administrators.
     63      </description>
     64    </about>
     65    <action-factory>
     66      <factory-class>
     67        net.sf.basedb.relax.extensions.RequireRoleMenuItemFactory
     68      </factory-class>
     69      <parameters>
     70        <title>Test import (admin)</title>
     71        <tooltip>Relax administration</tooltip>
     72        <data-url>~/Import.servlet?ID=$SESSION-ID$&amp;cmd=RegisterExportStarted</data-url>
     73        <data-popup>Import, 600, 400</data-popup>
     74        <role>net.sf.basedb.core.Role.ADMINISTRATOR</role>
     75      </parameters>
     76    </action-factory>
     77  </extension>
     78
    3979</extensions>
  • extensions/net.sf.basedb.relax/trunk/build.xml

    r4354 r4366  
    120120      <compilerarg value="${javac.arg}" />
    121121    </javac>
     122    <copy todir="${build}">
     123      <fileset dir="${src}">
     124        <include name="**/*" />
     125        <exclude name="**/*.java" />
     126      </fileset>
     127    </copy>
    122128    <jar
    123129      jarfile="${jar.name}"
Note: See TracChangeset for help on using the changeset viewer.