Skip to content

Commit ceda695

Browse files
App sec and jena updates (#171)
## Aim of the PR This PR fixes [AB#379924](https://dev.azure.com/EquinorASA/bb9bd8cb-74f7-4ffa-b0cb-60eff0a0be58/_workitems/edit/379924) ## Implementation - Upgrade the README.md to say that this app is only used for local development and that because of this some of the GHAS alerts are dismissed. - npm package upgrades flagged by GHAS - Also upgraded jena installation in github action so that it works.
1 parent bf7da81 commit ceda695

File tree

5 files changed

+46
-41
lines changed

5 files changed

+46
-41
lines changed

.github/workflows/rdf_tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ jobs:
2929

3030
- name: install apache jena
3131
run: |
32-
wget https://dlcdn.apache.org/jena/binaries/apache-jena-5.5.0.tar.gz
32+
wget https://dlcdn.apache.org/jena/binaries/apache-jena-5.6.0.tar.gz
3333
tar -xzvf apache-jena-*.tar.gz
3434
3535
- name: Check ontologies and mappings are valid rdf
3636
id: validate_ontology_rdf
3737
run: |
38-
export JENA_HOME=$(pwd)/apache-jena-5.5.0/
38+
export JENA_HOME=$(pwd)/apache-jena-5.6.0/
3939
export PATH="$PATH:$JENA_HOME/bin"
4040
riot --validate owl/*ttl
4141
riot --validate rml_mappings/imf/*
4242
riot --validate rml_mappings/graphics/*
4343
4444
- name: Test imf mappings
4545
run: |
46-
export JENA_HOME=$(pwd)/apache-jena-5.5.0/
46+
export JENA_HOME=$(pwd)/apache-jena-5.6.0/
4747
export PATH="$PATH:$JENA_HOME/bin"
4848
curl -o rml_mappings/pandid.xml https://raw.githubusercontent.com/equinor/NOAKADEXPI/refs/heads/main/Blueprint/DISC_EXAMPLE-02/DISC_EXAMPLE-02-02.xml
4949
docker run -v .:/data rmlio/rmlmapper-java:7.2.0 -m rml_mappings/imf/* -o /data/imf.ttl -s Turtle
@@ -58,7 +58,7 @@ jobs:
5858
5959
- name: Test graphics mappings
6060
run: |
61-
export JENA_HOME=$(pwd)/apache-jena-5.5.0/
61+
export JENA_HOME=$(pwd)/apache-jena-5.6.0/
6262
export PATH="$PATH:$JENA_HOME/bin"
6363
curl -o rml_mappings/pandid.xml https://raw.githubusercontent.com/equinor/NOAKADEXPI/refs/heads/main/Blueprint/DISC_EXAMPLE-02/DISC_EXAMPLE-02-02.xml
6464
docker run -v .:/data rmlio/rmlmapper-java:7.2.0 -m rml_mappings/graphics/* -o /data/graphics.ttl -s Turtle
@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Test rdf examples
7575
run: |
76-
export JENA_HOME=$(pwd)/apache-jena-5.5.0/
76+
export JENA_HOME=$(pwd)/apache-jena-5.6.0/
7777
export PATH="$PATH:$JENA_HOME/bin"
7878
riot --validate examples/graphical.trig
7979
shacl v --shapes shacl/graphic-dexpi.shacl.ttl --data examples/graphical.trig

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ A repository for SSI experiments with DEXPI.
88

99
* For the mappings from Dexpi to IMF see the [RML mappings](rml/README.md)
1010

11-
* For the backend setup of the triplestore, see the [RDFox scripts](rdfox/README.md)
11+
* For the backend setup of the triplestore, see the [RDFox scripts](rdfox/README.md)
12+
13+
### Security
14+
The code in this repository is not deployed anywhere as this project is only used for demos run locally.
15+
Because of this some of the GHAS alerts are dismissed with reason `Risk is tolerable for this project`. Package upgrades is actively maintained.

cli/chex/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
click==8.1.7
22
prettytable==3.12.0
3-
setuptools==75.3.0
3+
setuptools==78.1.1
44
lxml==5.1.0
55
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability

www/package-lock.json

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dependencies": {
1313
"@equinor/eds-core-react": "^0.46.0",
1414
"@types/react-svg-pan-zoom": "^3.3.9",
15+
"js-yaml": "^4.1.1",
1516
"react": "^19.1.0",
1617
"react-dom": "^19.1.0",
1718
"react-svg-pan-zoom": "^3.13.1",
@@ -31,10 +32,10 @@
3132
"eslint-plugin-react-refresh": "^0.4.20",
3233
"fast-xml-parser": "^5.2.5",
3334
"globals": "^16.1.0",
35+
"prettier": "^3.5.3",
3436
"typescript": "^5.8.3",
3537
"typescript-eslint": "^8.39.0",
36-
"prettier": "^3.5.3",
37-
"vite": "^6.3.6",
38+
"vite": "^6.4.1",
3839
"vite-plugin-svgr": "^4.3.0"
3940
}
4041
}

0 commit comments

Comments
 (0)