Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/fma 79 #23

Open
wants to merge 108 commits into
base: feature/FMA-7
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
51ac85c
add variable tls = true
ympondaven Mar 6, 2023
637f8f2
remove variable
ympondaven Mar 6, 2023
f13f491
refactor: use config module facade
ruslanguns Oct 29, 2022
32d638b
feat: support validation schema
ruslanguns Oct 29, 2022
ce687a1
fix: env e2e fixture to mock environments
ruslanguns Oct 29, 2022
e8c7cae
ci: disabled testing
ruslanguns Nov 4, 2022
e8a51f9
Feature/cross platform
aru-bartoccioni Nov 7, 2022
0a6ee8f
Feat/local self signed certificates
Abrom8 Nov 9, 2022
60421c5
Update README.md
Abrom8 Nov 9, 2022
3449646
docs: update readme for self-issued certificates
Abrom8 Nov 22, 2022
eca5936
refactor: make X509_CERTIFICATE optional
oceanByte Dec 10, 2022
b0bf384
Update default config for dev setup
Jan 10, 2023
93fbf4a
[docs] Add contributor guide
Jan 23, 2023
c680108
feat: add singapore iso3166-2 codes
Abrom8 Jan 26, 2023
2da6eab
Add info on the online service
Jan 27, 2023
4b912ae
Fix: Resolve merge conflict between branch 2210-Henry and dev
hfaure-geors Feb 6, 2023
ef69e2d
Fix: Integration registry lab
hfaure-geors Feb 7, 2023
9419a72
Update development-deployment.yaml to add imagePullPolicy: Always
ympondaven Feb 7, 2023
a40a669
Fix(for now)-Remove signature check
hfaure-geors Feb 7, 2023
beb896e
fix to add pollpolicy a always
ympondaven Feb 8, 2023
63619af
add tests
oriana13 Feb 8, 2023
9ccb486
fix yaml file
ympondaven Feb 8, 2023
415190e
Fix/Re enable signature verification
hfaure-geors Feb 8, 2023
d91b9b2
Description: Fix shape retrieval route (to match registry exposed rou…
hfaure-geors Feb 15, 2023
d092bdf
add dynamic routes
oriana13 Feb 15, 2023
c984e0b
Feat: Add a new /api/verify route - TAG-41
hfaure-geors Feb 17, 2023
3932772
Feat Add content verification for compliance credential issuance + Fi…
hfaure-geors Feb 17, 2023
2f529cd
Feat/integration-test + Fix: test data / /api/verify method
hfaure-geors Feb 20, 2023
0de4af2
chore: add helm charts to deploy application
Mar 1, 2023
b7e7df1
Feat: unit test fixing + Data export fixing
hfaure-geors Mar 1, 2023
26389c5
fix: serve static files from app_path and not only root
Mar 2, 2023
4032b98
chore: force container to be redeployed even on same image name
Mar 2, 2023
42b9b07
chore: allows root to display infos from development version
Mar 2, 2023
f3eb391
chore: env variables key and x509 cert from secrets
Mar 2, 2023
fb9a030
chore: use dev registry for the moment
Mar 2, 2023
04b72ff
chore: pass cert and keys from CI
Mar 2, 2023
f885940
chore: pass cert and keys from CI
Mar 2, 2023
110720e
Fix/Swagger verify function
hfaure-geors Mar 2, 2023
5817278
Convert privateKey to PKCS8
oriana13 Mar 6, 2023
e26aacd
Fix: did doc / import valid certificate chain
hfaure-geors Mar 6, 2023
39accdf
add variable TLS and rename x509_CERTIFICATE into publicKey
ympondaven Mar 6, 2023
1d0386e
Update deployment.yaml
ympondaven Mar 6, 2023
96315e2
docs: Add documentation on deployment
Mar 7, 2023
dee3e75
Feat Expand CSR06 and CPR08 to work with did:web with a specific path
hfaure-geors Mar 7, 2023
74ae273
Fix - remove cert format conversion
hfaure-geors Mar 7, 2023
1db8594
Feat: Save temporarly the latest self-description / compliance creden…
hfaure-geors Mar 8, 2023
3eb2de5
PATCH: accept vp as input
oriana13 Mar 8, 2023
425888a
Fix vp input
oriana13 Mar 8, 2023
6712f6c
chore: Linting existing code before release
Mar 8, 2023
0ebbd4d
test: restore tests execution and fix them
Mar 8, 2023
ce8b37e
chore: enable linting on commit
Mar 8, 2023
a850ecb
feat: add .nvmrc
Mar 9, 2023
a73a9a1
Feat Add expiration date on compliance credential / fix swagger for...
hfaure-geors Mar 9, 2023
6d010cc
Update development-deployment.yaml
ympondaven Mar 23, 2023
ce42b80
Update development-deployment.yaml
ympondaven Mar 23, 2023
6172826
feat: validate sd shape via shacl
Mar 22, 2023
d580070
feat: rework validation
Mar 23, 2023
ca82f95
chore: rebase from master branch
Mar 28, 2023
90c790c
chore: deploy tags
Mar 28, 2023
a0a3437
chore: add semantic-release tools
Mar 28, 2023
c9e5012
chore: fixup files to commit on release
Mar 28, 2023
c734dc1
chore(release): 1.0.0
semantic-release-bot Mar 28, 2023
3fdb32d
chore(ci): enable automatic release
Mar 29, 2023
9c6b1f9
chore(docs): deploy documentation on cluster
Apr 4, 2023
e42be03
refactor: cleanup code after release
Mar 30, 2023
721acac
feat: fixup code to accept registrationNumber from notary
Mar 30, 2023
df485bd
chore(env): rename publickey to x509_certificate
Apr 3, 2023
fc6adb1
fix: atomic type when using array for a single value
Apr 3, 2023
0578777
chore: fixup semantic-release path
Apr 6, 2023
0aded61
feat: validate global shape of the vp instead of each vc
Apr 4, 2023
b413e1c
docs: update doc after v1 non-compliance endpoint removal
Apr 6, 2023
04ffa82
fix: fix compliance after participant service offering shape merge
Apr 11, 2023
915d918
feat: enable service offering credential offer
Apr 12, 2023
3b1cced
chore: tag release image with proper tag name
Apr 13, 2023
0abd44d
chore: fix quotes in deploy doc stage
Apr 13, 2023
5f808a3
chore(release): 1.1.0
semantic-release-bot Apr 13, 2023
19b4269
feat: allow user to provide VC id in request
Apr 13, 2023
2d64174
fix: push several tags on each release
Apr 14, 2023
39c65da
docs: split deployment and local testing in separate files
ticapix Apr 17, 2023
f1d1cc1
chore(release): 1.2.0
semantic-release-bot Apr 17, 2023
e4f0522
fix: skip useless builds & fix release
Apr 17, 2023
00df420
chore: fix release deployment
Apr 17, 2023
869b29d
chore(release): 1.2.1
semantic-release-bot Apr 17, 2023
ee33c3f
fix: image tags in build-release-tag-image job
Apr 17, 2023
86c0c67
chore(release): 1.2.2
semantic-release-bot Apr 17, 2023
6617155
fix: registry_url points to cluster registry
Apr 18, 2023
2f93094
chore(release): 1.2.3
semantic-release-bot Apr 18, 2023
bfb0ab5
fix: expose openapi as JSON file
Apr 18, 2023
4088bf4
fix: expose openapi as JSON file
Apr 18, 2023
1e57b7f
fix: expose openapi as JSON file
Apr 18, 2023
9701564
chore(release): 1.2.4
semantic-release-bot Apr 19, 2023
9cc4018
fix: do not validate shapes that are not defined in registry
Apr 24, 2023
2c4a9e9
chore(release): 1.2.5
semantic-release-bot Apr 24, 2023
79c66f7
fix: use proper registry url in context of VC
Apr 27, 2023
2e6aebb
chore(release): 1.2.6
semantic-release-bot Apr 27, 2023
6f98201
chore: rename examples label
May 4, 2023
55b6053
fix: update examples after fix on registry
May 22, 2023
438de5d
chore(release): 1.2.7
semantic-release-bot May 22, 2023
83b4899
fix: clean up & semantic-release gitlab
May 24, 2023
52704f1
chore(release): 1.2.8
semantic-release-bot May 24, 2023
5b145be
chore: accepted conflicts after merge
sksadjad May 25, 2023
78032ae
chore: (WIP)cmntd out sphereon's code so and p since gx api now only …
sksadjad May 26, 2023
53f9e46
feat: synced Sphereon's code with new upstreeam changes
sksadjad May 29, 2023
cd65819
chore: removed hardcoded baseurl from the
sksadjad Jun 6, 2023
4ac1d8e
feat: added support for verifying VCs and also added exception when t…
sksadjad Jun 8, 2023
4c465f9
fix: fixed a bug in the verify vc
sksadjad Jun 9, 2023
c0fb213
chore: added comment about caching shape file
sksadjad Jun 9, 2023
6f44816
feat: added support for labels
sksadjad Jun 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
X509_CERTIFICATE='-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----'
privateKey='-----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY-----'
REGISTRY_URL='https://registry.lab.gaia-x.eu/development'
BASE_URL='http://localhost:3000/'
BASE_URI='http://localhost:3000/'
APP_PATH=''
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ lerna-debug.log*

# https
/src/secrets/*.pem
/src/static/.well-kown/*.pem
/src/static/.well-kown/*.pem
/src/static/openapi.json
132 changes: 106 additions & 26 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,47 @@
stages:
- test
- build
- deploy
- release
- deploy

variables:
# Use TLS https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: '/certs'
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest
CONTAINER_DOCS_TEST_IMAGE: $CI_REGISTRY_IMAGE:docs

lint:code:
image: node:16
stage: test
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH
script:
- npm ci
- npm run lint

# Disabled temporarily
# test:
# image: node:16
# stage: test
# script:
# - npm install
# - npm run test
# - npm run test:e2e
test:
image: node:16
stage: test
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH
script:
- npm install
- npm run test

build:
image: docker:19.03.12
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH
services:
- docker:19.03.12-dind
stage: build
Expand All @@ -41,30 +54,97 @@ build:
deploy-on-lab:
image: ubuntu
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "2206-unreleased" || $CI_COMMIT_BRANCH == "development"
before_script:
- apt update && apt install -y curl
- curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
script:
- helm upgrade --install -n "$CI_COMMIT_REF_SLUG" --create-namespace gx-compliance ./k8s/gx-compliance --set "nameOverride=$CI_COMMIT_REF_SLUG,ingress.hosts[0].host=compliance.lab.gaia-x.eu,ingress.hosts[0].paths[0].path=/$CI_COMMIT_REF_SLUG,image.tag=$CI_COMMIT_REF_SLUG,ingress.hosts[0].paths[0].pathType=Prefix,privateKey=$complianceKey,X509_CERTIFICATE=$complianceCert" --kubeconfig "$GXDCH_KUBECONFIG"
only:
- "2206-unreleased"
- "2210"
- main
- development
- "chore/deploy-branches-on-new-cluster"

make-semantic-release:
image: node:18
stage: release
rules:
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH == "main"
before_script:
- apt-get update -y && apt-get install -yqqf openssh-client git unzip sshpass rsync --fix-missing
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
- eval $(ssh-agent -s)
- echo "$CI_SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null

- mkdir -p ~/.ssh
- chmod 700 ~/.ssh

- ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts

release-image:
- git config --global user.email "[email protected]"
- git config --global user.name "semantic-release-bot"
script:
- npm i
- ./node_modules/.bin/semantic-release

#doc management
build-docs:
image: docker:19.03.12
rules:
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH == "main"
services:
- docker:19.03.12-dind
stage: release
stage: build
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker pull $CONTAINER_TEST_IMAGE
- docker tag $CONTAINER_TEST_IMAGE $CONTAINER_RELEASE_IMAGE
- docker push $CONTAINER_RELEASE_IMAGE
- docker build --pull -t $CONTAINER_DOCS_TEST_IMAGE docs/
- docker push $CONTAINER_DOCS_TEST_IMAGE

deploy-doc-on-lab:
image: ubuntu
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE =~ /^chore\(release\):/
when: never
- if: $CI_COMMIT_BRANCH == "main"
before_script:
- apt update && apt install -y curl
- curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
script:
- helm upgrade --install -n "main" --create-namespace gx-compliance-docs ./docs/k8s/gx-compliance-docs --kubeconfig "$GXDCH_KUBECONFIG"

# Tags build & deployment
build-release-tag-image:
image: docker:19.03.12
services:
- docker:19.03.12-dind
stage: build
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker build --pull -t $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG} --target production-build-stage . #vX.Y.Z tag
- docker push $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG}
- docker tag $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG} $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG%.*} #vX.Y tag
- docker push $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG%.*}
- docker tag $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG} $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG%%.*} #vX tag
- docker push $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG%%.*}
only:
- tags

deploy-tag-on-lab:
image: ubuntu
stage: deploy
before_script:
- apt update && apt install -y curl
- curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
script:
- helm upgrade --install -n "${CI_COMMIT_TAG%%.*}" --create-namespace gx-compliance ./k8s/gx-compliance --set "nameOverride=${CI_COMMIT_TAG%%.*},ingress.hosts[0].host=compliance.lab.gaia-x.eu,ingress.hosts[0].paths[0].path=/${CI_COMMIT_TAG%%.*},image.tag=${CI_COMMIT_TAG%%.*},ingress.hosts[0].paths[0].pathType=Prefix,privateKey=$complianceKey,X509_CERTIFICATE=$complianceCert" --kubeconfig "$GXDCH_KUBECONFIG"
only:
- main
- development
- tags
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

#npm run lint
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.19.1
25 changes: 25 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"branches": ["main"],
"plugins": [
"@semantic-release/npm",
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/gitlab",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
["@semantic-release/git", {
"assets": ["package.json", "package-lock.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
}],
[
"@saithodev/semantic-release-backmerge",
{
"backmergeBranches": ["development"]
}
]
]
}
122 changes: 112 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,132 @@
# Changelog
## [1.2.8](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.2.7...v1.2.8) (2023-05-24)

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## 2.0.0 (2022-07-18)
### Bug Fixes

* clean up & semantic-release gitlab ([83b4899](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/83b4899283d58162709f26b28754534bb4a214fd))

## [1.2.7](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.2.6...v1.2.7) (2023-05-22)


### Bug Fixes

* update examples after fix on registry ([55b6053](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/55b6053a78764a4d3cc42291e6c9e3318a8e4039))

## [1.2.6](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.2.5...v1.2.6) (2023-04-27)


### Bug Fixes

* use proper registry url in context of VC ([79c66f7](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/79c66f780680edb86b1c4e97b043d1b8ae15d541))

## [1.2.5](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.2.4...v1.2.5) (2023-04-24)


### Bug Fixes

* do not validate shapes that are not defined in registry ([9cc4018](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/9cc40180b25d31557463852a2b973aa0443d6ff9))

## [1.2.4](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.2.3...v1.2.4) (2023-04-19)


### Bug Fixes

* expose openapi as JSON file ([1e57b7f](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/1e57b7f5f66544c83c21dc87a72c4812c67a1302))
* expose openapi as JSON file ([4088bf4](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/4088bf4b2fb8ac584bbf42ae6e2405416c60cf9b))
* expose openapi as JSON file ([bfb0ab5](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/bfb0ab54de65b6970048d3a0ad97f85b48e3d014))

## [1.2.3](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.2.2...v1.2.3) (2023-04-18)


### Bug Fixes

* registry_url points to cluster registry ([6617155](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/6617155f537cd12f4e6d32f0421dcb06e4e6b21c))

## [1.2.2](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.2.1...v1.2.2) (2023-04-17)


### ⚠ BREAKING CHANGES
### Bug Fixes

* image tags in build-release-tag-image job ([ee33c3f](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/ee33c3fbd7fc4be00702be48ece1e66b3d147e02))

## [1.2.1](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.2.0...v1.2.1) (2023-04-17)


### Bug Fixes

* skip useless builds & fix release ([e4f0522](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/e4f0522e1c2b1993ac9f530518a9a062a9ac4e28))

# [1.2.0](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.1.0...v1.2.0) (2023-04-17)


### Bug Fixes

* push several tags on each release ([2d64174](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/2d641740fdcc22c3dd50eb014a0c034bbe8f8640))

* removes support for `/api/v1` routes in favour of `/api/v2204` to be in line with trust framework document release versions

### Features

* add draft of .well-known static files ([2034827](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/2034827d9b43e0af874faa027bd4425f53cb3fe7))
* participant verification ([3e06929](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/3e069299b831dde4b690de154489c17c9969af66))
* Service Offering SD ([675036a](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/675036a4fa65b9fdb40ae116c1a192eb1f3b65cb))
* **swagger:** enable api versioning ([d9fc30c](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/d9fc30c31096dc5b56a28191bb1dd3f7b4b339d8))
* allow user to provide VC id in request ([19b4269](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/19b4269df9443a8795c10a866c42992620224652))

# [1.1.0](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/compare/v1.0.0...v1.1.0) (2023-04-13)


### Bug Fixes

* atomic type when using array for a single value ([fc6adb1](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/fc6adb1e6c7279f541364974ee93527cdfd5fa72))
* fix compliance after participant service offering shape merge ([04ffa82](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/04ffa82ef9585915e4f97eac109f84026bc08761))


### Features

* enable service offering credential offer ([915d918](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/915d918a5b340589fb68e46fc78a730dea65a797))
* fixup code to accept registrationNumber from notary ([721acac](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/721acac1a59aca7166e5bb4c40b5f0368479768a))
* validate global shape of the vp instead of each vc ([0aded61](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/0aded617b1b0a2a95ef5dcb259579311ab0890d7))

# 1.0.0 (2023-03-28)


### Bug Fixes

* add expected type for SDs ([f8cc5d3](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/f8cc5d3f4e9fa818643ea9b2dd11ed061f532309))
* adjust getTermsAndConditions to 2206 ([7b591aa](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/7b591aa9943ab35f9fd81fe8827302d7c8b7ceba))
* adjust import paths ([941eae5](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/941eae5da8bf530f2e23634c14c968e075689c4d))
* **content-validation.service:** remove duplicate slash from openCorporateBaseUri ([39abe58](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/39abe58ae8d645f14f1280f542ae07958544e8ff))
* disable not working 3rd party apis ([8476b63](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/8476b631d06f4af4f02f208e4efc0be91b51ad70))
* do not conform when content is false ([2892dca](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/2892dca7e1824563a59f672d94c441e6f0361e82))
* enable verificationMethod for development ([a9824fd](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/a9824fd3a3cbe7303583a91f68086c56455952ef))
* env e2e fixture to mock environments ([ce687a1](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/ce687a14a1e2dc08c0d1cd674762a1acd2db47ea))
* fix and enable tests ([b6868e0](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/b6868e050c89c402ae8df0794dc7b0d643413260))
* invalid self description via url ([234b6f9](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/234b6f9c23b9b9a312625ff176abf2c609d9711e))
* **participant.e2e-spec:** fix tests ([42c328c](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/42c328c0112b0c371215966d5e1b81c042755b81))
* **participant.e2e:** increase timeout for tests ([df8b985](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/df8b98583a107e3bc1c4e87a9f8a56efbdc321b9))
* point registry to prod ([48e8923](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/48e892309d28abef4d243f2b31d413379b152bee))
* serve static files from app_path and not only root ([26389c5](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/26389c5858e144929feb50ab54c0c4683e65d69e))
* shacl validation ([acf74f1](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/acf74f1fa979b52b0d50640eea26fa357099e8fb))
* skip test SD with invalid registrationNumber ([910d81c](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/910d81ccb07c4f2bda2d30a6faa8cc5c2410d07d))
* skip tests ([e2ec671](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/e2ec671416020a995505a07b49bc1870da7433e4))
* **swagger:** use relative service offering module path ([650eb56](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/650eb5611cfaf75de489e56be82031930fe50ffe))
* typo ([dd04a52](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/dd04a52c8557904c73ba3e9b323fe7095e90f61e))
* use correct context for signature check ([45fa169](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/45fa169eb47b80943a23a87cb9ecac804fa5e995))
* use env var for registry url ([9ee90d0](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/9ee90d02bea0a127e6727828a6d7adb32dc5eb2c))
* use id from did.json to find verificationMethod ([09ded3c](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/09ded3c630be092b1ccdb9615afffef89ab2da55))
* **validation:** update property path ([c94e54d](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/c94e54d72b8fdccb96df85e0c7f3158919e98a33))


* Merge branch 'development' into 'main' ([a2ca406](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/a2ca406c6fd6ee8710e5b734d206612f0a627364))
### Features

* adapt joi VC schema to w3c ([b234bfc](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/b234bfc22df6369bbf6fc1a92bfd13bb0950dfc7))
* add .nvmrc ([a850ecb](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/a850ecb2485b9fdf9f0bc02ce1f25ca0134f4933))
* add 2206 test fixtures for sds ([67d033b](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/67d033b5f44ddeec9a579b92a374ed3d0acd18e7))
* add did:web resolver ([c92a066](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/c92a066dcdc6158caaa319a08d43d0cc7ff8825f))
* add draft of .well-known static files ([2034827](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/2034827d9b43e0af874faa027bd4425f53cb3fe7))
* add singapore iso3166-2 codes ([c680108](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/c68010878f403fddddfba4802e719ff9e48b585d))
* add verifyParticipant query param ([927c59c](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/927c59cf325788ab381d545093affceafc321cd9))
* add version ([94a47ae](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/94a47ae82bfa9013a376e5b7dc62b6993976a6da))
* add version api prefix ([086ff15](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/086ff15282bcca92226b5565190fd28761148b1a))
* change docs path ([08c1070](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/08c10707af63182d82975dbd6ff96cbf5062aae5))
* rework validation ([d580070](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/d58007085a9f43f804d8bce1759c10a56a4cbc0c))
* support validation schema ([32d638b](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/32d638bc52f3d074df0afcf193d36935ad0f1e30))
* **swagger:** enable api versioning ([d9fc30c](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/d9fc30c31096dc5b56a28191bb1dd3f7b4b339d8))
* update links to docs on index page ([16693f8](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/16693f8c1b6ef593d972407cfe07e4282db96194))
* validate sd shape via shacl ([6172826](https://gitlab.com/gaia-x/lab/compliance/gx-compliance/commit/617282638f7825f02ab1061e605b93e9c35376af))
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
./ @oceanByte @moritzkirstein
./ @ewann1 @pierre.gronlier @Valentin.Misiaszek @adeprez
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN npm install --only=development

COPY . .

RUN npm run build
RUN BASE_URL=$BASE_URL npm run build
RUN npm run copy-files
FROM node:16.14-alpine@sha256:28bed508446db2ee028d08e76fb47b935defa26a84986ca050d2596ea67fd506 as production-build-stage

Expand Down
Loading