GithubHelp home page GithubHelp logo

kolanot / catalog-search-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nimble-platform/catalog-search-service-deprecated-

0.0 1.0 0.0 42.22 MB

Search functionalities are provides by this service. It communicates with the Catalog Service, which stores products and user services persistently.

License: Apache License 2.0

Java 99.65% Batchfile 0.26% Dockerfile 0.09%

catalog-search-service's Introduction

Catalog Search Service

Search functionalities are provided by this service. It communicates with the ontological data source, which stores products and user services persistently.

The service can use a local ontology (file) or a Marmotta instance (url) as data source. In each of the cases, a different property must be set.

In the case of Marmotta, you need the Spring property: nimble.shared.property.marmottauri {any URL} In the case of local file, you need the Spring property: nimble.shared.property.ontologyfile {abolute path to the file} In the case of SOLR Index: nimble.shared.property.useSOLRIndex {true | false}

In the case of using Marmotta in combinbation with SOLR Index you need the parameters nimble.shared.property.marmottauri and nimble.shared.property.useSOLRIndex

you can run this service as a Docker with the following command (just an example): docker run –p 8050:8080  -e NIMBLE_SHARED_PROPERTY_MARMOTTAURI:http://134.168.33.237:8080/marmotta search-service:0.0.1


  1. Swagger problem
    (1) Das Maven-Plugin kann nicht integriert werden, was nicht weiter schlimm ist. Hier einfach den Fehler in eine Warnung umwandeln. In Eclipse: "Preferences -> Maven -> Error/Warnings" und Fehler in Warnung umwandeln: "Plugin execution not converted by lifecycle configuration” (2) Um den von Swagger autogenerierten Quellcode zu Eclipse hinzuzufügen bitte (a) "mvn clean package” in der Konsole ausführen, um den Quellcode zu generieren. Um "mvn package" richtig auszuführen, die pfad zu owl Datei in "MediatorSPARQLDerivationTest" angepasst werden muss.

    (b) Im “Project Explorer” in Eclipse den Ordner “target/generated-sources/swagger/src/gen/java/main” als Source Folder hinzufügen.


  1. Debug program
  1. update the path within "start.bat"
  2. Start "start.bat"
  3. You will still need to attach the debugger in Eclipse by making a new Debug Configuration for a "Remote Java Application" on the relevant port.

catalog-search-service's People

Contributors

iot365 avatar jinnerbichler avatar marcofranke avatar nimble-ci avatar oliver-jung avatar quandeng avatar

Watchers

 avatar

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.