eu-digital-green-certificates / dgca-issuance-web Goto Github PK
View Code? Open in Web Editor NEWRepository for the dgca issuance web app.
License: Apache License 2.0
Repository for the dgca issuance web app.
License: Apache License 2.0
The PDF Generated on the 1st page shows the EU Flag, with the 2 Digit Country which the Vaccination was administered.
The PDF front page is supposed to show which country issued the certificate, and not which country administered the vaccination.
The bug exists in this line:
The field should display the Country of Issuance, and not the Country of Vaccinate Administration.
Please see the usage of the field here:
https://github.com/ehn-dcc-development/ehn-dcc-schema/wiki/FAQ#country-code-and-issuer
when i start with yarn, this error appears :
Proxy error: Could not proxy request /dgca-businessrule-service/valuesets from localhost:3001 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
display certificate
The values of a valueset should be actively highlighted during the selection if they are marked as active=false. If the value is inactive it should be shown an icon like a warning triangle or something like that.
Please make clear that this project is not supposed to be open to the internet.
add IAM features to app
Hi
I got an error 500 is there any solution for this problem?
Create basic ui without IAM and support input of the following data:
Deploy current version of issuance-web and -service on BTP.
... così per curiosità... dato che ho qualche problema ad avviare yarn.
There's only one test (base45) in the package right now, no component tests or other unit tests
Adding Jest, edit test script in package.json, adding component tests using Jest & React Testing Library
Better testing capability with Jest as a test runner, higher code coverage & quality, more confidence
per chi ha questo problema, la soluzione è questa
Although it is not specific to this project, I got the exact error in my react project when I was trying to proxy request from http://localhost:3000 to http://localhost:8080.
I solved this issue by removing "proxy": "localhost:8080" from package.json and creating a setupProxy.js file in the src folder with the following code:
const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function(app) {
app.use(
'/api',
createProxyMiddleware({
target: 'http://localhost:8080',
changeOrigin: true,
})
);
};
una volta risolto questo problema che avevo pure io, il sito parte ma mi si apre la schermata con il pallino che gira all infinito.
qualcuno ora saprebbe darmi una mano
Using Chrome (but the same with any other browser) and Windows 10
for http://localhost:3000/dgca-businessrule-service/valuesets
I've had to change "proxy": "http://localhost:8080" with "proxy": "http://localhost:3000" in the package.json at line 61...
i've already deleted cookies for localhost:3000 and Cleared the Browsing data
added --max-http-header-size 80000 on package.json ("start": "react-scripts start --max-http-header-size 80000") but nothing
Any idea? Thanks in advance
Hello,
When I launch this app, i have a 404 error on fetch valuesset.
I'm sorry for my english. :-)
sto provando ad installare yarn e node.js con rpm con un linux mx debian ma non riesco ad installare i pacchetti è per il tipo di linux ? meglio un ubuntu?
Husky doesn't autofix the code before committing, in fact the code as a lot of unused variables.
Enable cleaner code commit with the help of ESlint
and git-hooks
.
The code would be cleaner and easier to maintain.
Transliterate library for first and last name in the DGC
The JSON schema imposes a transliterated string of the name, only using certain chars ('^[A-Z<]*$')
I would appreciate a method that can transform names having non latin characters to that char set.
I believe all DGC issuers could use that same method.
It is currently impossible to use the docker compose file if you are not authorized on the github registry.
Here is the error when you try to use docker-compose up -d
ERROR: Head "https://docker.pkg.github.com/v2/eu-digital-green-certificates/dgca-issuance-service/dgca-issuance-service/manifests/0.0.9": no basic auth credentials
In optional fields are currently null values. Please replace it by empty content or remove it. The JSON/CBOR must be according to the JSON Schema which allows no null values. The CBOR structure contains currently "undefined" which is interpreted as nil/null from the verifier apps.
C'è qualcuno disponibile a configurare e farmi capire come fare per dgca issuance?
Grazie!
Guys, this I s what I'm getting:
**Compiled successfully!
You can now view dgca-issuance-web in the browser.
Local: http://localhost:3000
On Your Network: http://192.168.1.12:3000
Note that the development build is not optimized.
To create a production build, use npm run build.
Proxy error: Could not proxy request /dgca-businessrule-service/valuesets from localhost:3000 to http://127.0.0.1:8080.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).**
I tried and tried again and the error cannot be solved. I mean, changing proxy to localhost:3000 still brings to an eternally waiting page.... I guess there's other issues in the code
Style web frontend accordingly to EU design rules
salve, ho, cancellato tutto, ho installato la versione 1.0.10.
sembra funzionare molto meglio, il problema adesso e l'errore 500 quando premo il tasto next
After 'yarn start' a "compiled succesfully!" is stated.
The web browser (http://localhost:3000/) in the page bar shows the tab with the little blu QRCode and "DGC Issuance Web" string but then it remains pending with a circle sign that keeps spinning and doesn't go forward.
Please any idea about the possible cause for this behaviour ?
Thank You
How can I remove everything and start new?
./src/assets/SCSS/index.scss (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--5-oneOf-6-3!./node_modules/sass-loader/dist/cjs.js??ref--5-oneOf-6-4!./src/assets/SCSS/index.scss)
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v5.0.0
i ran yarn from git bash and gave me this error when opening the web page at the end of computing
The QR Code must have a Certificate Valid from and Valid to date set appropriately.
Currently, all QR Codes are valid for exactly 1 Year, which is not correct.
For Vaccination, there should be some variables to consider:
For Test
For Recovery
add support for input / output of medical data regarding vaccination
Hello everyone. I am struggling to start server with this proxy error:
Proxy error: Could not proxy request /dgca-businessrule-service/valuesets from 127.0.0.1:3000 to http://localhost:8080. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
Running on the Windows 10 Ubuntu emulation.
Any suggestion ?
con la versione 1.0.8 mi da questo errore
An error occured: Request failed with status code 500
hello, i need help, after i digit start yarn, this return message:
Failed to compile.
./node_modules/canvg/lib/index.es.js
Module not found: Can't resolve 'svg-pathdata' in '/root/dgca-issuance-web/node_modules/canvg/lib'
Error from chokidar (/root/dgca-issuance-web/node_modules/execa/node_modules/cross-spawn/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/execa/node_modules/cross-spawn/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/react-scripts/node_modules/babel-loader/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/react-scripts/node_modules/babel-loader/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/css-loader/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/css-loader/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/jsdom/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/jsdom/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/node-sass/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/node-sass/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-jest/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-jest/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-class-properties/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-class-properties/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-optional-chaining/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-optional-chaining/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-numeric-separator/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-numeric-separator/node_modules/@babel/core/node_modules/.bin'
Error from chokidar (/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-react/node_modules/@babel/plugin-transform-react-display-name/node_modules/@babel/core/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/root/dgca-issuance-web/node_modules/babel-preset-react-app/node_modules/@babel/preset-react/node_modules/@babel/plugin-transform-react-display-name/node_modules/@babel/core/node_modules/.bin'
Thanks in advance for the support
Hello,
After installation and all the operations, it asks me for a login and a password when connecting to http: // localhost: 3000 /.
Do you know what to do?
Sorry for my awkward English, I'm French.
thanks very much
Bruno
Io ho installato sia su linux che su debian. Stessi comandi.
node.js vien installato assieme a yarn. non usare rpm. Sono pacchetti gia contenuti nei repo.
Installa yarn col classico:
sudo apt-get install yarn. Poi segui la guidaMa quindi sei riuscito ad emettere un certificato valido?
No, sono bloccato al punto dopo la compilazione del formatt. Errore: Parametri inseriti invalidi (A..Z - 0...9 )
Originally posted by @Idricus in #138 (comment)
anche a me con l'ultima versione invece con la 1.0.8 non da errori ma andando avanti mi da errore 500
I guess those should not be here, as it might result in someone using those in their implementation...
https://github.com/eu-digital-green-certificates/dgca-issuance-web/blob/main/nginx/.htpasswd
Ciao a tutti, sono italiano.
Dopo aver compilato correttamente e aver lanciato il programma, il browser rimane in caricamento e dalla console mi viene restituito il seguente errore:
Errore interpretazione XML: nessun elemento radice trovato
Indirizzo: http://localhost:3000/dgca-businessrule-service/valuesets
Riga numero 1, colonna 1:
A qualcuno è successo lo stesso?
Grazie mille!
I am unable to compile and serve the dgca issuance web application.
Error:
Compiled with warnings.
./node_modules/cbor/lib/constants.js
Module not found: Can't resolve 'bignumber.js' in 'C:\repos\eu-dgc\dgca-issuance-web\node_modules\cbor\lib'
src\api.tsx
Line 22:8: 'axios' is defined but never used @typescript-eslint/no-unused-vars
src\components\error-page.component.tsx
Line 28:8: 'useNavigation' is defined but never used @typescript-eslint/no-unused-vars
Line 38:8: React Hook React.useEffect has a missing dependency: 'props'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src\components\notification-page.component.tsx
Line 39:8: React Hook React.useEffect has a missing dependency: 'props'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src\components\record-recovery-cert-data.component.tsx
Line 23:35: 'FormControlProps' is defined but never used @typescript-eslint/no-unused-vars
Line 31:10: 'IdentifierType' is defined but never used @typescript-eslint/no-unused-vars
Line 34:10: 'registerLocale' is defined but never used @typescript-eslint/no-unused-vars
Line 38:32: 'DiseaseAgentTargeted' is defined but never used @typescript-eslint/no-unused-vars
Line 111:8: React Hook React.useEffect has a missing dependency: 'testCountryCode'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 118:8: React Hook React.useEffect has missing dependencies: 'defaultTestCountryCode' and 'setDefaultTestCountryCode'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 157:11: 'handleError' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 260:11: 'formatDate' is assigned a value but never used @typescript-eslint/no-unused-vars
src\components\record-test-cert-data.component.tsx
Line 23:35: 'FormControlProps' is defined but never used @typescript-eslint/no-unused-vars
Line 30:10: 'IdentifierType' is defined but never used @typescript-eslint/no-unused-vars
Line 33:10: 'registerLocale' is defined but never used @typescript-eslint/no-unused-vars
Line 39:17: 'VaccinationEntry' is defined but never used @typescript-eslint/no-unused-vars
Line 39:35: 'DiseaseAgentTargeted' is defined but never used @typescript-eslint/no-unused-vars
Line 88:12: 'vacLastDate' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 88:25: 'setVacLastDate' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 182:11: 'handleError' is assigned a value but never used @typescript-eslint/no-unused-vars
src\components\record-vaccination-cert-data.component.tsx
Line 23:35: 'FormControlProps' is defined but never used @typescript-eslint/no-unused-vars
Line 31:10: 'IdentifierType' is defined but never used @typescript-eslint/no-unused-vars
Line 34:10: 'registerLocale' is defined but never used @typescript-eslint/no-unused-vars
Line 38:35: 'DiseaseAgentTargeted' is defined but never used @typescript-eslint/no-unused-vars
Line 123:8: React Hook React.useEffect has a missing dependency: 'issuerCountryCode'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 130:8: React Hook React.useEffect has missing dependencies: 'defaultIssuerCountryCode' and 'setDefaultIssuerCountryCode'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 194:11: 'handleError' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 298:11: 'formatDate' is assigned a value but never used @typescript-eslint/no-unused-vars
src\components\show-certificate.component.tsx
Line 59:12: 'dgci' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 92:8: React Hook React.useEffect has a missing dependency: 'handleError'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src\index.tsx
Line 24:25: 'HashRouter' is defined but never used @typescript-eslint/no-unused-vars
src\misc\navigation.tsx
Line 60:21: 'setMandant' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 78:8: React Hook React.useEffect has missing dependencies: 'calculatedRoutes' and 'mandant'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 96:8: React Hook React.useEffect has missing dependencies: 'history' and 'routes'. Either include them or remove the dependency array react-hooks/exhaustive-deps
src\misc\utils.tsx
Line 40:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
src\misc\wbase45.tsx
Line 32:15: 'x' is already defined @typescript-eslint/no-redeclare
Line 38:11: 'x' is already defined @typescript-eslint/no-redeclare
Line 39:12: 'd' is already defined @typescript-eslint/no-redeclare
Line 39:15: 'c' is already defined @typescript-eslint/no-redeclare
Line 64:12: 'i' is already defined @typescript-eslint/no-redeclare
Line 64:19: 'length' is already defined @typescript-eslint/no-redeclare
Line 84:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
src\root.component.tsx
Line 28:8: 'LoginInterceptor' is defined but never used @typescript-eslint/no-unused-vars
Line 59:6: React Hook React.useEffect has missing dependencies: 'setStoredMandant' and 'storedMandant'. Either include them or remove the dependency array react-hooks/exhaustive-deps
src\routing.component.tsx
Line 32:8: 'Header' is defined but never used @typescript-eslint/no-unused-vars
Line 35:8: 'PrivateRoute' is defined but never used @typescript-eslint/no-unused-vars
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
The react app should run with no errors
C:\Users\psavva>systeminfo
Host Name: CS11299
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19042 N/A Build 19042
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: csystem
Registered Organization: N/A
Product ID: 00330-81490-46633-AA440
Original Install Date: 12/16/2020, 10:27:36 AM
System Boot Time: 5/6/2021, 8:36:41 AM
System Manufacturer: LENOVO
System Model: 81Y4
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 165 Stepping 2 GenuineIntel ~2592 Mhz
BIOS Version: LENOVO EGCN33WW, 12/24/2020
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone: (UTC+02:00) Athens, Bucharest
Total Physical Memory: 32,636 MB
Available Physical Memory: 19,289 MB
Virtual Memory: Max Size: 37,500 MB
Virtual Memory: Available: 22,045 MB
Virtual Memory: In Use: 15,455 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server: \\CS11299
Hotfix(s): 10 Hotfix(s) Installed.
[01]: KB4601554
[02]: KB4562830
[03]: KB4570334
[04]: KB4577266
[05]: KB4577586
[06]: KB4580325
[07]: KB4593175
[08]: KB4598481
[09]: KB5001391
[10]: KB5003156
Network Card(s): 8 NIC(s) Installed.
[01]: Intel(R) Wi-Fi 6 AX201 160MHz
Connection Name: Wi-Fi
Status: Media disconnected
[02]: Realtek PCIe GbE Family Controller
Connection Name: Ethernet
DHCP Enabled: Yes
DHCP Server: 10.16.1.118
IP address(es)
[01]: 10.16.20.216
[02]: fe80::79d2:d59f:5cac:1251
[03]: Bluetooth Device (Personal Area Network)
Connection Name: Bluetooth Network Connection
Status: Media disconnected
[04]: Hyper-V Virtual Ethernet Adapter
Connection Name: vEthernet (Default Switch)
DHCP Enabled: No
IP address(es)
[01]: 172.23.208.1
[02]: fe80::4123:ca71:1113:8d1
[05]: TAP-Windows Adapter V9 for OpenVPN Connect
Connection Name: Local Area Connection 2
Status: Media disconnected
[06]: Fortinet Virtual Ethernet Adapter (NDIS 6.30)
Connection Name: Ethernet 3
Status: Media disconnected
[07]: Fortinet SSL VPN Virtual Ethernet Adapter
Connection Name: Ethernet 4
Status: Hardware not present
[08]: Hyper-V Virtual Ethernet Adapter
Connection Name: vEthernet (WSL)
DHCP Enabled: No
IP address(es)
[01]: 172.29.128.1
[02]: fe80::74b3:872e:26aa:652b
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
Provide compilation instructions, as I assume my steps above are wrong?
PS C:\repos\eu-dgc\dgca-issuance-web> npm -v
6.14.9
PS C:\repos\eu-dgc\dgca-issuance-web> npm version
{
'dgca-issuance-web': '0.1.0',
npm: '6.14.9',
ares: '1.16.1',
brotli: '1.0.9',
cldr: '37.0',
icu: '67.1',
llhttp: '2.1.3',
modules: '83',
napi: '7',
nghttp2: '1.41.0',
node: '14.15.2',
openssl: '1.1.1g',
tz: '2020a',
unicode: '13.0',
uv: '1.40.0',
v8: '8.4.371.19-node.17',
zlib: '1.2.11'
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.