Skip to content

Commit

Permalink
Merge remote-tracking branch 'rpio/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiDi committed Apr 15, 2024
2 parents 7853f15 + 14d9d01 commit 42228e1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,20 @@ Repository: https://github.com/kanselarij-vlaanderen/uuid-generation-service

Data used within a semantic.works-stack (and mu-cl-resources in particular) requires each RDF-object to have a mu:uuid property. Data imported from third parties might not have this uuid. Thus, in order to integrate with other sources while harnessing the power of semantic.works, uuid's need to be added to each imported object. This service does exactly that.

### vocab-configs
Responsible for exporting and importing one or more vocabularies, to duplicate or transfer vocabularies between application. See `services/vocab-configs`.

### vocab-fetch
Responsible for downloading and analyzing vocabularies. Part of this repository, can be found under `services/vocab-fetch`.

### content-unification
Transforms a downloaded vocabulary to a harmonized model so it can be index by mu-search. Part of this repository, can be found under `services/content-unification`.

### webcomponent
Serves the build webcomponent module file, so it can be references in a script tag. The dispatcher is configured to serve this file under `/webcomponent/main.js`.
TODO: this image is not yet published


### ldes-consumer-manager
Repository: https://github.com/redpencilio/ldes-consumer-manager/

Expand Down
4 changes: 4 additions & 0 deletions config/dispatcher/dispatcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ defmodule Dispatcher do
# Run `docker-compose restart dispatcher` after updating
# this file.

get "/webcomponent/main.js", @any do
forward conn, [], "http://webcomponent/vocab-search-bar.js"
end

post "/vocab-download-jobs/:id/run", @json do
forward conn, [], "http://vocab-fetch/" <> id
end
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ services:
- ./config/uuid-generation/:/config
restart: always
logging: *default-logging
# webcomponent:
# image: vocabsearch-webcomponent
webcomponent:
image: vocabsearch-webcomponent
ldes-consumer-manager:
image: redpencil/ldes-consumer-manager:0.1.0
environment:
Expand Down

0 comments on commit 42228e1

Please sign in to comment.