Skip to content

Commit 87d44c0

Browse files
authored
v.2.2.1
v.2.2.1
2 parents d2683ca + 3a40373 commit 87d44c0

File tree

464 files changed

+4302
-2253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

464 files changed

+4302
-2253
lines changed

.gitignore

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,27 @@ coverage
99

1010
# production
1111
build
12+
config
1213
data
1314

15+
# certificates
16+
cert
17+
1418
# misc
1519
.DS_Store
1620
Thumbs.db
1721
.env
22+
.env.local
23+
.env.development.local
24+
.env.test.local
25+
.env.production.local
1826
.venv
1927
.idea
2028
npm-debug.log
29+
npm-debug.log*
30+
yarn-debug.log*
31+
yarn-error.log*
2132
compilation-stats.json
2233

2334
# database
24-
spid-validator/config/database.sqlite
35+
src/config/database.sqlite

CHANGELOG.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14
1+
FROM node:22
22

33
# Metadata params
44
ARG BUILD_DATE
@@ -52,7 +52,7 @@ RUN pip3 install spid-sp-test --no-cache
5252
# Set the working directory
5353
WORKDIR /spid-saml-check
5454

55-
# Copy the current directory to /spid-validator
55+
# Copy the current directory to /spid-saml-check
5656
ADD . /spid-saml-check
5757

5858
# Create directory for tests data
@@ -62,7 +62,7 @@ ENV TZ=Europe/Rome
6262
ENV NODE_HTTPS_PORT=${EXPOSE_HTTPS_PORT}
6363

6464
# Build validator
65-
RUN cd /spid-saml-check/spid-validator && \
65+
RUN cd /spid-saml-check/src && \
6666
cd client && npm install --silent && cd .. && \
6767
cd server && npm install --silent && cd .. && \
6868
npm run build
@@ -71,4 +71,4 @@ RUN cd /spid-saml-check/spid-validator && \
7171
EXPOSE ${EXPOSE_HTTPS_PORT}
7272

7373

74-
ENTRYPOINT cd spid-validator && npm run start-prod
74+
ENTRYPOINT cd src && npm run start-prod

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ DOCKER_TAG = $(CODE_VERSION)-$(GIT_COMMIT)$(DOCKER_TAG_SUFFIX)
6565
endif
6666

6767
docker_build:
68-
# Update version of the spid-validator server component
69-
sed -i -r -E 's/("version"\:\s)("[0-9]+\.[0-9]+.[0-9]+")/\1"$(DOCKER_TAG)"/g' spid-validator/server/package.json
68+
# Update version of the server component
69+
sed -i -r -E 's/("version"\:\s)("[0-9]+\.[0-9]+.[0-9]+")/\1"$(DOCKER_TAG)"/g' src/server/package.json
7070

7171
# Build Docker image
7272
docker build \

README.it.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In console vengono mostrate informazioni utili quali:
3434
A seguire un esempio di output che dovreste ottenere dall'esecuzione di uno dei comandi mostrati in precedenza.
3535

3636
```
37-
> [email protected] start-prod /spid-saml-check/spid-validator
37+
> [email protected] start-prod /spid-saml-check/src
3838
> node server/spid-validator.js
3939
4040
>>> DATABASE : QUERY
@@ -88,12 +88,12 @@ git clone https://github.com/italia/spid-saml-check.git
8888
# 2. Aggiornamento certificati
8989
9090
crea chiave privata e certificato per il protocollo https
91-
- spid-validator/config/spid-saml-check.key
92-
- spid-validator/config/spid-saml-check.crt
91+
- src/config/spid-saml-check.key
92+
- src/config/spid-saml-check.crt
9393
9494
configura chiave privata e certificato per la firma delle response nei seguenti file
95-
- spid-validator/config/idp.json
96-
- spid-validator/config/idp_demo.json
95+
- src/config/idp.json
96+
- src/config/idp_demo.json
9797
9898
# 3. Esecuzione della build
9999
cd spid-saml-check

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ On the console are printed useful information as:
3333
Following is an output example you should see from the execution of one of the previous commands
3434

3535
```
36-
> [email protected] start-prod /spid-saml-check/spid-validator
36+
> [email protected] start-prod /spid-saml-check/src
3737
> node server/spid-validator.js
3838
3939
>>> DATABASE : QUERY
@@ -83,12 +83,12 @@ git clone https://github.com/italia/spid-saml-check.git
8383
# 2. Edit configurations and certificates
8484
8585
create a private key and a certificate to use for https
86-
- spid-validator/config/spid-saml-check.key
87-
- spid-validator/config/spid-saml-check.crt
86+
- src/config/spid-saml-check.key
87+
- src/config/spid-saml-check.crt
8888
8989
configure private key and certificate to use for response signing into:
90-
- spid-validator/config/idp.json
91-
- spid-validator/config/idp_demo.json
90+
- src/config/idp.json
91+
- src/config/idp_demo.json
9292
9393
# 3. Build
9494
cd spid-saml-check

spid-validator/.gitignore

Lines changed: 0 additions & 31 deletions
This file was deleted.

spid-validator/client/.babelrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

spid-validator/client/.gitignore

Lines changed: 0 additions & 18 deletions
This file was deleted.

spid-validator/client/package.json

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)