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/attribute succession #124

Closed
wants to merge 83 commits into from
Closed
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
743354b
chore: bump runtime dependency
J-Gann Dec 5, 2023
f3d39f4
fix: update createAttribute to use new runtime use case
J-Gann Dec 5, 2023
52c1933
feat: wip add endpoints to coreHttp
J-Gann Dec 5, 2023
f71879a
feat: wip yaml defintion
J-Gann Dec 5, 2023
c2590ec
feat: update sdk
J-Gann Dec 5, 2023
097ce42
fix: existing tests
J-Gann Dec 5, 2023
cfdabd1
fix: build workspaces
J-Gann Dec 5, 2023
2d9af1f
chore: comment outdated test
J-Gann Dec 5, 2023
149decf
fix: typo
J-Gann Dec 5, 2023
af22a47
test: identity attribute succession
J-Gann Dec 5, 2023
584eb69
chore: implement succeedIdentityAttribute endpoint and openapi spec
slavistan Dec 7, 2023
f0483b8
chore: implement succeedRelationship... endpoint and openapi spec
slavistan Dec 7, 2023
130c0eb
wip;
slavistan Dec 12, 2023
6028bd8
wip
J-Gann Dec 12, 2023
e9ad0a0
wip
J-Gann Dec 12, 2023
0d3a7ca
wip
J-Gann Dec 12, 2023
13daa8f
chore: move confidentiality into schema
slavistan Dec 18, 2023
88d89b2
chore: add todos
slavistan Dec 18, 2023
a687a37
fix: allow additional properties for attribute values
slavistan Dec 18, 2023
e4f6a69
chore: openapi: finish CreateAndShareRelationshipAttribute
slavistan Dec 18, 2023
3195d1d
chore: add todo
slavistan Dec 18, 2023
ffeb0d1
fix: typo
slavistan Dec 18, 2023
6354520
chore: minor
slavistan Dec 18, 2023
a8e2f26
chore: openapi: finish CreateIdentityAttribute
slavistan Dec 18, 2023
dbf5a19
chore: use dedicated schema for request
slavistan Dec 18, 2023
600770b
chore: openapi: finish shareidentityattribute
slavistan Dec 18, 2023
1aea115
openapi: finish succeedIdentityAttribute
slavistan Dec 18, 2023
6f5a1f0
chore: openapi: finish notifypeer.....
slavistan Dec 18, 2023
fb3599b
chore: openapi: finish succeedattribute
slavistan Dec 18, 2023
ecc5d98
chore: openapi: finish createAttribute
slavistan Dec 18, 2023
821097e
chore: remote any remains of shareAttribute
slavistan Dec 18, 2023
335ce87
chore: refactor valid{From,To} using a schema
slavistan Dec 18, 2023
482975e
chore: add todos
slavistan Dec 18, 2023
813ce89
chore: reorder fields
slavistan Dec 18, 2023
93aabd2
chore: remove comment
slavistan Dec 18, 2023
f875d54
chore: remove comment
slavistan Dec 18, 2023
6d0344a
wip
J-Gann Dec 19, 2023
c449907
wip;
slavistan Dec 19, 2023
ab7a9e9
chore: update lockfile
jkoenig134 Dec 19, 2023
fae1b4d
ci: run on local backbone
jkoenig134 Dec 19, 2023
6fde0bb
chore: bump libs
jkoenig134 Dec 19, 2023
3fb84c3
fix: test compiler errors
jkoenig134 Dec 19, 2023
fb7664d
wip
J-Gann Dec 19, 2023
e86545b
fix: iql
J-Gann Dec 19, 2023
eeb5b34
fix: tests
J-Gann Dec 19, 2023
5a3018e
wip review
J-Gann Dec 19, 2023
975d209
fix: paths
J-Gann Dec 19, 2023
d460bf8
chore: bump sdk to 2.3.0
J-Gann Dec 19, 2023
04f282c
fix: legacy createAttribute @type property
J-Gann Dec 19, 2023
96750d0
add todo
J-Gann Dec 19, 2023
3033770
chore: use more narrow types in sdk requests
slavistan Dec 20, 2023
c9d5810
chore: bump (correct) version
slavistan Dec 20, 2023
9a0158d
chore: changelog
slavistan Dec 20, 2023
32c04fd
chore: changelog
slavistan Dec 20, 2023
34d3d74
fix: deal with possibly undefined request content
slavistan Dec 20, 2023
076e687
chore: bump dependencies
slavistan Dec 20, 2023
48d6ddb
fix: handle possibly undefined requests
slavistan Dec 20, 2023
213dcfb
fix: correct sdk version
slavistan Dec 20, 2023
0c8a407
chore: slight change in wording
slavistan Dec 20, 2023
337552f
Chore/local backbone for tests (#127)
jkoenig134 Jan 10, 2024
57c3698
implement createRepositoryAttribute route
slavistan Jan 23, 2024
815b928
draft attribute succession route
slavistan Jan 23, 2024
cd0e6ed
Merge branch 'feature/attribute-succession' of github.com:nmshd/cns-c…
slavistan Jan 23, 2024
9b574b8
draft notify... route
slavistan Jan 23, 2024
1e057eb
remote obsolete routes and schemas
slavistan Jan 23, 2024
4ceb26f
adjust sdk to new routes
slavistan Jan 23, 2024
b9650b9
fix npm command name
slavistan Jan 23, 2024
7fe20a8
comment out broken tests; WIP
slavistan Jan 23, 2024
76b966f
add prefix for notification
sebbi08 Jan 23, 2024
e49a0d2
delete obsolete request files
slavistan Jan 24, 2024
cf16076
wip
slavistan Jan 24, 2024
bf68641
test: repository attriubte succeeding
sebbi08 Jan 25, 2024
d116761
add test for succeeding and sharing an repository attribute
sebbi08 Jan 25, 2024
670be2f
add notificationReference to shareInfo type
slavistan Jan 25, 2024
e1903fb
refactor: use proper union type for share info
slavistan Jan 25, 2024
dee1871
disable auto run in jest extension
sebbi08 Jan 25, 2024
ddfaca7
chore: remote todo; add to comment
slavistan Jan 25, 2024
1bec00a
Merge branch 'feature/attribute-succession' of github.com:nmshd/cns-c…
slavistan Jan 25, 2024
f5fe9ee
chore: update deps
slavistan Jan 25, 2024
652d8aa
fix: fix openapi payload declaration
slavistan Jan 25, 2024
0f41689
chore: remove answered questions
slavistan Jan 25, 2024
c5c48ea
chore: exclude vulnerabilities
slavistan Jan 25, 2024
829efaf
Merge branch 'main' into feature/attribute-succession
slavistan Jan 25, 2024
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
30 changes: 19 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: bash .ci/runChecks.sh

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Start Backbone
uses: nmshd/start-backbone@latest
with:
consumerapi-version: v4.2.0
- uses: actions/setup-node@v3
with:
node-version: 20
Expand All @@ -24,14 +28,18 @@ jobs:
- run: npm run test:ci --workspaces --if-present
env:
DATABASE_CONNECTION_STRING: mongodb://127.0.0.1:27017
NMSHD_TEST_BASEURL: ${{ secrets.CNS_NMSHD_TEST_BASEURL }}
NMSHD_TEST_CLIENTID: ${{ secrets.CNS_NMSHD_TEST_CLIENTID }}
NMSHD_TEST_CLIENTSECRET: ${{ secrets.CNS_NMSHD_TEST_CLIENTSECRET }}
NMSHD_TEST_BASEURL: http://localhost:5000
NMSHD_TEST_CLIENTID: test
NMSHD_TEST_CLIENTSECRET: test

test-ferret:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Start Backbone
uses: nmshd/start-backbone@latest
with:
consumerapi-version: v4.2.0
- uses: actions/setup-node@v3
with:
node-version: 20
Expand All @@ -43,21 +51,21 @@ jobs:
- run: npm run test:ci
env:
DATABASE_CONNECTION_STRING: mongodb://127.0.0.1:27017
NMSHD_TEST_BASEURL: ${{ secrets.CNS_NMSHD_TEST_BASEURL }}
NMSHD_TEST_CLIENTID: ${{ secrets.CNS_NMSHD_TEST_CLIENTID }}
NMSHD_TEST_CLIENTSECRET: ${{ secrets.CNS_NMSHD_TEST_CLIENTSECRET }}
NMSHD_TEST_BASEURL: http://localhost:5000
NMSHD_TEST_CLIENTID: test
NMSHD_TEST_CLIENTSECRET: test

build-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build the productive docker image
run: bash .ci/testBuildingProductiveDockerImage.sh

lint-helm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"editor.formatOnPaste": true,
"files.autoSave": "off",
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
},
"files.eol": "\n",
"todo-tree.filtering.excludeGlobs": ["**/node_modules/**", "**/dist/**", "**/dist-test/**", "**/lib-web/**", "**/*.min.*", "**/*.map"],
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 3.7.0

slavistan marked this conversation as resolved.
Show resolved Hide resolved
-> SDK 3.0.0

- fix: POST /api/v2/Attributes will no longer accept RelationshipAttributes, as this was unintentional and led to wrong behavior
- add routes for attribute succession

## 3.6.2

- provenance sbom for the Docker Images
Expand Down
Loading
Loading