Skip to content

Commit 8fbf23c

Browse files
authored
Merge pull request #90 from sykefi/dev
Update data and text contents 2026
2 parents c341cfc + 567df12 commit 8fbf23c

15 files changed

Lines changed: 12102 additions & 10401 deletions

.github/workflows/ui-test-deploy-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v2
2727
- name: Use Node.js ${{ env.NODE_VERSION }}
28-
uses: actions/setup-node@v2
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: ${{ env.NODE_VERSION }}
3131
cache: 'npm'
@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
creds: ${{ secrets.DEV_AZURE_CREDENTIALS }}
5151
- name: Use Node.js ${{ env.NODE_VERSION }}
52-
uses: actions/setup-node@v2
52+
uses: actions/setup-node@v4
5353
with:
5454
node-version: ${{ env.NODE_VERSION }}
5555
cache: 'npm'

.github/workflows/ui-test-deploy-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
creds: ${{ secrets.PROD_AZURE_CREDENTIALS }}
2727
- name: Use Node.js ${{ env.NODE_VERSION }}
28-
uses: actions/setup-node@v2
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: ${{ env.NODE_VERSION }}
3131
cache: 'npm'

api/api/assets/facilities.csv

Lines changed: 1006 additions & 1013 deletions
Large diffs are not rendered by default.

api/api/assets/releases.csv

Lines changed: 2605 additions & 1984 deletions
Large diffs are not rendered by default.

api/api/assets/waste_transfers.csv

Lines changed: 8431 additions & 7368 deletions
Large diffs are not rendered by default.

api/data_import.log

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
PRTR-data import: 25/03/12 11:50:17
2-
Read 1072 facilities
3-
Read 5290 releases
4-
Read 8564 waste transfers
1+
PRTR-data import: 26/03/09 13:35:31
2+
Read 1065 facilities
3+
Read 5911 releases
4+
Read 9627 waste transfers
55
Wrote facilities to file: api/assets/facilities.csv
66
Wrote releases to file: api/assets/releases.csv
77
Wrote waste_transfers to file: api/assets/waste_transfers.csv

api/tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_get_releases_by_facility_id():
110110
)
111111
assert response.status_code == 200
112112
data = response.json()['data']
113-
assert len(data) == 7
113+
assert len(data) == 8
114114
release_prev = None
115115
for release in data:
116116
assert release['facilityId'] == facility_id

ui/src/assets/authorityInfo/authorityInfo.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
[
2+
{
3+
"Ely_Id": 0,
4+
"Nro": 0,
5+
"Lyhenne": "LVV",
6+
"Nimi": "Lupa- ja valvontavirasto",
7+
"NimiRuo": "Tillstånds- och tillsynsverket",
8+
"NimiEng": "Finnish Supervisory Agency",
9+
"Puh": "",
10+
"PostiOsoite": "",
11+
"PostiTpaikkaNro": 0,
12+
"PostiTpaikkaNimi": "",
13+
"PostiTpaikkaNimiRuo": "",
14+
"Url": "https://lvv.fi/ymparisto/"
15+
},
216
{
317
"Ely_Id": 3967,
418
"Nro": 7,

ui/src/components/AdditionalnfoPage/AdditionalInfoPageContentEn.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ export const AdditionalInfoPageContentEn = () => {
134134
Activities causing environmental pollution require a permit in
135135
accordance with the Environmental Protection Act. One can search for the
136136
permits of the facilities presented in this service from the{' '}
137-
<a href="https://ylupa.avi.fi/fi-FI">
138-
Water and Environmental Permits Information Service
137+
<a href="https://ytietopalvelu.lvv.fi/fi-FI" target="blank">
138+
Environmental information service of the Finnish Supervisory Agency
139139
</a>
140140
.
141141
</p>
@@ -164,8 +164,8 @@ export const AdditionalInfoPageContentEn = () => {
164164
Finnish Environment Institute has built the website on the request from
165165
the Ministry of the Environment. Feedback on data and other content can
166166
be sent to supervising authorities (
167-
<a href="https://www.ely-keskus.fi/ympariston-tilan-seuranta">
168-
ELY-keskukset
167+
<a href="https://lvv.fi/en/environment" target="blank">
168+
Finnish Supervisory Agency
169169
</a>
170170
). Feedback on the technical functions or improvement proposals can be
171171
sent to <a href="mailto:PRTR@syke.fi">PRTR@syke.fi</a>.

ui/src/components/AdditionalnfoPage/AdditionalInfoPageContentFi.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ export const AdditionalInfoPageContentFi = () => {
2121
<li>Mineraaliteollisuus</li>
2222
<li>Kemianteollisuus</li>
2323
<li>Jäte- ja jätevesihuolto</li>
24-
<li>Paperin ja puun tuotanto ja jalostus</li>
25-
<li>Kotieläintuotanto ja viljely</li>
24+
<li>Metsäteollisuus</li>
25+
<li>Kotieläintuotanto ja vesiviljely</li>
26+
<li>Elintarvike- ja rehuteollisuus</li>
2627
<li>Muu toiminta</li>
2728
</ul>
2829
<p>
@@ -135,9 +136,9 @@ export const AdditionalInfoPageContentFi = () => {
135136
<p>
136137
Ympäristön pilaantumisen vaaraa aiheuttaville toiminnoille tarvitaan
137138
ympäristönsuojelulain mukainen lupa. Voit etsiä palvelussa esitettävien
138-
laitosten ympäristölupia aluehallintoviraston{' '}
139-
<a href="https://ylupa.avi.fi/fi-FI">
140-
Vesi- ja ympäristölupien tietopalvelun
139+
laitosten ympäristölupia Lupa- ja valvontaviraston{' '}
140+
<a href="https://ytietopalvelu.lvv.fi/fi-FI" target="blank">
141+
Ympäristöasioiden tietopalvelun
141142
</a>{' '}
142143
avulla.
143144
</p>
@@ -175,8 +176,8 @@ export const AdditionalInfoPageContentFi = () => {
175176
Suomen ympäristökeskus on toteuttanut sivuston ympäristöministeriön
176177
toimeksiannosta. Palautetta päästötiedoista ja muista sisältöä
177178
koskevista asioista voi lähettää valvontaviranomaisille (
178-
<a href="https://www.ely-keskus.fi/ympariston-tilan-seuranta">
179-
ELY-keskukset
179+
<a href="https://lvv.fi/ymparisto/" target="blank">
180+
Lupa- ja valvontavirasto
180181
</a>
181182
). Sivuston teknisestä toiminnasta voi lähettää palautetta tai
182183
kehitysehdotuksia osoitteeseen{' '}

0 commit comments

Comments
 (0)