This code repository is no longer being actively managed by the Data To Insight Center at Indiana University Bloomington. Neither the center nor its principals assume responsibility for vulnerabilities that the code may have acquired over time.
Source repository for SEAD 2.0 publishing services. As of Fall 2016, the SEAD2 publishing services, which are several, each has its own active code base, greatly simplifying the offerings. We enourage you to visit us there. SEAD 2.0 is funded in large part by a grant from the National Science Foundation to Sustainable Environments Actionable Data (SEAD) under grant #OCI0940824.
Curbee: a lightweight publishing workflow. Active code base for Curbee now at: https://github.com/Data-to-Insight-Center/Curbee
People Data Things (PDT): a mongoDB repository of profiles or links to profiles for the people, data, and repositories used in identifying the best location to which to publish a data object. Active code base for PDT now at https://github.com/Data-to-Insight-Center/PDT
Matchmaker: recommendation tool that selects repositories for deposit using information from PDT; services suite for a hybrid HPC storage server/repository that accepts deposits from the SEAD services. Active code base for Matchmaker that is used in SEAD is now at https://github.com/Data-to-Insight-Center/Matchmaker and a newer, more fully functioning version is available at https://github.com/Data-to-Insight-Center/Data-MatchMaker
IU SEAD Cloud: a persistent store at Indiana University to which the SEAD publishing services publish. IU SEAD Cloud is backed by a large scale HPC storage server. Active code base for IU SEAD Cloud now at https://github.com/Data-to-Insight-Center/IU-SEAD-Cloud
thanks,
the Data To Insight Center team at Indiana University
Move the to root directory and execute following command.
mvn clean install -DskipTests (Skipping tests will help as there's an intermittent test failure in sead-doi-service)
This should build all micro services.
The services require two running instances of mongoDB, on hosts/ports defined in the sead-pdt default.properties file.
- Copy the following .war files from relevant target directories into TOMCAT_HOME/webapps.
sead-c3pr.war sead-mm.war sead-pdt.war va-workflow.war metadata-gen.war
- Fix the endpoint URL's in following configuration files under webapps.
sead-mm/WEB-INF/classes/org/sead/matchmaker/default.properties sead-pdt/WEB-INF/classes/org/seadpdt/util/default.properties sead-c3pr/WEB-INF/classes/org/sead/api/util/default.properties sead-doi-service/WEB-INF/classes/org/seadva/services/util/doi.properties va-workflow/WEB-INF/classes/org/sead/workflow/sead-wf.xml metadata-gen/WEB-INF/classes/org/seadva/metadatagen/util/Config.properties
- Add a setenv.sh file under bin (if it's not already there) and set the -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true parameter to make sure the encoded URL requests work fine.
Ex: export JAVA_OPTS="-Xss1024m -Xms512m -Xmx4096m -XX:MaxPermSize=2048m -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true"
- If SEAD should run on https, follow the guide below to setup SSL on Tomcat. Make sure that you use Sun JDK instead of OpenJDK if you need SSL.
Ex: https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html
-
Start the server.
-
Now the API should be accessible through the following URL.
For more details on how to use the API, please refer to: https://opensource.ncsa.illinois.edu/confluence/pages/viewpage.action?pageId=71139377