-
Notifications
You must be signed in to change notification settings - Fork 0
Measurement module for online documentation
1605200517 edited this page Jan 5, 2017
·
10 revisions
Welcome to the org.fiware.qa.documentation.measurements wiki!
This software module performs data analysis of scraped web pages of the FIWARE Catalogue to assess their compliance with the Compliance Guide.
- Ubuntu, for Java coding Windows as well
- Eclipse IDE
- JDK 1.8
- Checkout this repository
- Navigate to the class org.fiware.qa.documentation.measurements.Runner and execute it via Eclipse IDE
- run build.sh, this should build a Docker image and start the service container (default port 9009)
- validate service: run smoketest.sh
Currently, this software module uses the local text file items.json as input. However, the module has Jersey packaging and needs to have a REST interface to exchange data. Currently, we work on the core measurment logic. This module is also thought to be a template for measurements of other types.
- GET /update Update internal data representation from the scraper service
- GET log/ENABLER-NAME gets logfile for latest measurment (TXT)
- GET scoring gets overall labeling score matrix with labels (CSV) as displayed here https://github.com/sigspl/org.fiware.qa.documentation.measurements/blob/master/enablers_data.csv
- GET label/ENABLER-NAME gets just the computed label token for a given Enabler e.g. "A+++"
From the Scraper module, this service acquires on start the recent version of scraped data.