Repository in public archive. Please consider visiting our new preprocessing service in use
This repository contains an example of a preprocesing service. A preprocessing service reads the Package Leaflet of an ePI, and adds semmantic annotations to it.
- Create the following resources:
kubectl apply -f kubernetes-yaml/001_preprocessing-service-example-service.yaml
kubectl apply -f kubernetes-yaml/002_preprocessing-service-example-deployment.yamlIn order to be discovered by the focusing manager, the service.yaml needs to include the following selector in the spec field:
metadata:
labels:
eu.gravitate-health.fosps.preprocessing: "true"NOTE: This service does not need to be published to the internet, so no gateway config is needed to proxy any petition. This is an internal service.
Service will be accessible internally from the kubernetes cluster with the url http://preprocessing-service-example.default.svc.cluster.local:3000/preprocess
This project is distributed under the terms of the Apache License, Version 2.0 (AL2). The license applies to this file and other files in the GitHub repository hosting this file.
Copyright 2022 Universidad Politécnica de Madrid
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- Guillermo Mejías (@gmej)