GithubHelp home page GithubHelp logo

buda-base / bdrc-libraries Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 203 KB

Repo for common code libraries to be used across tools such as xmltoldmigration, git-to-dbs, and editserv

License: Apache License 2.0

Java 100.00%

bdrc-libraries's Introduction

Vagrant scripts for BUDA platform instanciation

The base platform is built using Vagrant and VirtualBox:

  1. Install Vagrant and VirtualBox.
  2. Download or git clone this repository.
  3. cd into the unzipped directory or git clone
  4. install VirtualBox guest additions with vagrant plugin install vagrant-vbguest
  5. run vagrant up to summon a local instance

Or for an AWS EC2 instance:

  1. install the vbguest plugin: vagrant plugin install vagrant-vbguest
  2. and run the command: vagrant up or rename Vagrantfile.aws to Vagrantfile and run vagrant up --provider=aws

This will grind awhile installing all the dependencies of the BUDA platform.

Once the initial install has completed the command: vagrant ssh will connect to the instance where development, customization of the environment and so on can be performed as for any headless server.

Similarly, the jena-fuseki server will be listening on:

http://localhost:13180/fuseki

Lds-pdi application is accessible at :

http://localhost:13280/

(see https://github.com/buda-base/lds-pdi/blob/master/README.md for details about using this rest services)

The command: vagrant halt will shut the instance down. After halting (or suspending the instance) a further: vagrant up will simply boot the instance without further downloads, and vagrant destroy will completely remove the instance.

If running an AWS instance, after provisioning access the instance via ssh -p 15345 and delete Port 22 from /etc/ssh/sshd_config and sudo systemctl restart sshd. This will further secure the instance from attacks on port 22.

bdrc-libraries's People

Contributors

eroux avatar marcagate avatar xristy avatar

Watchers

 avatar  avatar

bdrc-libraries's Issues

reasoner improvement for query performances

It would be useful to have that kind of inference (it can be per-graph, no need to run in on the whole dataset) in the reasoner:

  • if ?i is a bdo:ImageInstance and we have ?w bdo:workHasInstance ?i then we should add ?w tmp:hasImages true (in the same graph)
  • if ?i is a bdo:ImageInstance with open access (adm:access in the adm:AdminData), and we have ?w bdo:workHasInstance ?i then we should add ?w tmp:hasImagesOpen true
  • if ?i is a bdo:EtextInstance and we have ?w bdo:workHasInstance ?i then we should add ?w tmp:hasEtext true

LangStringsTest failure

LangStringTest is failing as indicated below:

Running io.bdrc.libraries.LangStringsTest
converting "pa'ng" into ???
converting "be'u'i'o" into ????????
converting "pa'm" into ???
Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.279 sec <<< FAILURE! - in io.bdrc.libraries.LangStringsTest
textEwts(io.bdrc.libraries.LangStringsTest)  Time elapsed: 0.021 sec  <<< FAILURE!
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at io.bdrc.libraries.LangStringsTest.textEwts(LangStringsTest.java:92)

testHunspell(io.bdrc.libraries.LangStringsTest)  Time elapsed: 0 sec  <<< FAILURE!
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at io.bdrc.libraries.LangStringsTest.testHunspell(LangStringsTest.java:102)


Results :

Failed tests:
  LangStringsTest.textEwts:92 null
  LangStringsTest.testHunspell:102 null

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.