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

Crawler Integration #358

Open
wants to merge 302 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
302 commits
Select commit Hold shift + click to select a range
af1eb6c
chore: post-release cleanup (#120)
richardtreier Jun 6, 2023
1c3efb4
feat: max data offers per connector and contract offers per data offe…
tmberthold Jun 7, 2023
dcf2b6d
chore(deps): bump org.flywaydb.flyway from 9.19.1 to 9.19.3 (#123)
dependabot[bot] Jun 12, 2023
2e2c584
chore(deps): bump org.flywaydb.flyway from 9.19.3 to 9.19.4 (#126)
dependabot[bot] Jun 13, 2023
720d26e
feat: filtering of data offers (#125)
richardtreier Jun 13, 2023
cbe0ea7
feat: data offer pagination (and sorting fixes) (#127)
richardtreier Jun 14, 2023
c23e71a
feat: dataspace filter (#130)
tmberthold Jun 19, 2023
e322223
fix: filter should not be applied to itself when fetching possible va…
richardtreier Jun 21, 2023
519074a
fix: npe from empty arrays returned by db query (#134)
richardtreier Jun 21, 2023
3c125a3
chore(deps): bump org.flywaydb.flyway from 9.19.4 to 9.20.0 (#135)
dependabot[bot] Jun 22, 2023
b10ca7c
fix: add vault-filesystem dependendcy
richardtreier Jun 22, 2023
15abb97
fix: tasks not being run in parallel (#136)
richardtreier Jun 22, 2023
a54a4e5
refactor: remove management-api (#145)
tmberthold Jun 22, 2023
cfefbc8
fix: thread pool not executing in parallel (#147)
richardtreier Jun 22, 2023
1793a98
fix: try fix pipeline (#148)
richardtreier Jun 22, 2023
d0f51a7
feat: better logged messages (#149)
richardtreier Jun 22, 2023
00be7f0
chore: release prep + cleanup (#152)
richardtreier Jun 23, 2023
907c7de
chore: set edc-extensions version to 3.3.0 (#153)
richardtreier Jun 23, 2023
f1edad1
chore: post release cleanup (#154)
richardtreier Jun 23, 2023
77ecf40
chore(deps): bump org.jooq:jooq from 3.18.4 to 3.18.5 (#155)
dependabot[bot] Jun 25, 2023
b4b394e
chore: fix api-wrapper integration (#156)
tmberthold Jun 26, 2023
d8a3d91
feat: Data Offer & Connector Detail Page (#157)
richardtreier Jun 27, 2023
c267738
feat: permanently delete old offline connectors (#151)
tmberthold Jun 27, 2023
8c2b30c
chore: add path mapping to reverse proxy deployment documentation (#161)
richardtreier Jun 28, 2023
1fb1ea1
fix: missing required EDC daps config params (#163)
richardtreier Jun 29, 2023
72c2e89
refactor: split api wrapper (#162)
tmberthold Jun 29, 2023
763227f
fix: api wrapper integration (#169)
tmberthold Jun 30, 2023
18a9c73
chore: finalize broker server api client, improved READMEs, fixed ts …
richardtreier Jun 30, 2023
d1ec527
fix: broker server ts client not working (#173)
richardtreier Jul 3, 2023
3470746
fix: PolicyDto after latest api-wrapper changes (#177)
tmberthold Jul 6, 2023
f512aa8
chore(deps): bump io.swagger.core.v3:swagger-jaxrs2-jakarta (#182)
dependabot[bot] Jul 10, 2023
540c6bf
chore(deps): bump io.swagger.core.v3:swagger-annotations-jakarta (#183)
dependabot[bot] Jul 10, 2023
a6e5d6c
chore(deps): bump io.swagger.core.v3.swagger-gradle-plugin (#181)
dependabot[bot] Jul 10, 2023
6cc9c40
fix: connectors starve if updates are too frequent (#176)
tmberthold Jul 10, 2023
a7b98af
feat: HikariCP as connection pooling (#180)
tmberthold Jul 10, 2023
52ab0b2
feat: display connector crawling time (#171)
tmberthold Jul 10, 2023
57206a9
chore: fix main after changes in edc-extensions (#186)
richardtreier Jul 10, 2023
9c6eda2
feat: log data offer page clicks (#160)
tmberthold Jul 10, 2023
209981b
feat: connector list must be updatable (#166)
tmberthold Jul 10, 2023
a4860cf
fix: .env cron expressions (#191)
richardtreier Jul 12, 2023
bd44a7c
chore: prepare release (#195)
richardtreier Jul 12, 2023
631df3f
chore: prepare release (#197)
richardtreier Jul 12, 2023
834cb75
docs: dynamic adding of connector endpoints (#198)
richardtreier Jul 12, 2023
4cb334e
chore: update release title
richardtreier Jul 12, 2023
cfd96c5
chore: post release cleanup (#199)
richardtreier Jul 12, 2023
bcde51c
chore(deps): bump org.flywaydb.flyway from 9.20.0 to 9.20.1 (#194)
dependabot[bot] Jul 13, 2023
a24351b
fix: Dockerfile healthcheck
richardtreier Jul 13, 2023
68eb987
2023 07 13 redo release (#201)
richardtreier Jul 13, 2023
45ca47d
chore: post release cleanup (#202)
richardtreier Jul 13, 2023
dae9074
chore(deps): bump org.flywaydb.flyway from 9.20.1 to 9.21.0 (#211)
dependabot[bot] Jul 21, 2023
88ba5d9
chore(deps): bump org.junit.jupiter:junit-jupiter-api (#212)
dependabot[bot] Jul 24, 2023
1fc827a
chore(deps): bump org.junit.jupiter:junit-jupiter-engine (#213)
dependabot[bot] Jul 24, 2023
2e72795
chore(deps): bump org.flywaydb.flyway from 9.21.0 to 9.21.1 (#219)
dependabot[bot] Jul 27, 2023
934c20f
chore(deps): bump org.apache.commons:commons-lang3 from 3.12.0 to 3.1…
dependabot[bot] Jul 28, 2023
83a3a2f
fix: logging into db (#224)
tmberthold Aug 7, 2023
98ff9e3
chore: update CHANGELOG.md
richardtreier Aug 7, 2023
ed5222f
fix: data offers with capital letters are searchable again (#227)
richardtreier Aug 8, 2023
d856563
Update CHANGELOG.md (#228)
SebastianOpriel Aug 10, 2023
4aa9553
chore: migrate Dockerfile to alpine (#222)
tmberthold Aug 10, 2023
de33036
chore: prep release (#230)
tmberthold Aug 10, 2023
accf068
chore: post release cleanup (#231)
tmberthold Aug 10, 2023
c526bdb
chore: release prep (redo release, fix dockerfile, #232)
tmberthold Aug 10, 2023
03a619e
chore: post release cleanup (#233)
tmberthold Aug 10, 2023
aa705b6
chore(deps): bump org.jooq:jooq from 3.18.5 to 3.18.6 (#234)
dependabot[bot] Aug 11, 2023
b5bcebf
fix: sorting by popularity (#244)
richardtreier Sep 1, 2023
8761a9d
chore: prepare release (#246)
richardtreier Sep 1, 2023
9ca8078
chore(deps): bump org.projectlombok:lombok from 1.18.28 to 1.18.30 (#…
dependabot[bot] Sep 27, 2023
a4dd6c3
chore(deps): bump docker/build-push-action from 4 to 5 (#256)
dependabot[bot] Sep 27, 2023
7233720
chore(deps): bump docker/login-action from 2 to 3 (#254)
dependabot[bot] Sep 27, 2023
9c3c2a1
chore(deps): bump actions/checkout from 3 to 4 (#247)
dependabot[bot] Sep 27, 2023
dd3a74b
chore(deps): bump docker/metadata-action from 4 to 5 (#255)
dependabot[bot] Sep 27, 2023
e3b63fc
chore(deps): bump io.swagger.core.v3.swagger-gradle-plugin (#253)
dependabot[bot] Sep 27, 2023
65656c4
chore(deps): bump io.swagger.core.v3:swagger-jaxrs2-jakarta (#252)
dependabot[bot] Sep 27, 2023
d932273
chore(deps): bump org.openapi.generator from 6.6.0 to 7.0.1 (#251)
dependabot[bot] Sep 27, 2023
db00c25
chore(deps): bump io.swagger.core.v3:swagger-annotations-jakarta (#250)
dependabot[bot] Sep 27, 2023
ed7ee65
chore(deps): bump org.testcontainers:postgresql from 1.18.3 to 1.19.0…
dependabot[bot] Sep 27, 2023
a71014b
chore(deps): bump semver, @microsoft/api-extractor and @rushstack/nod…
dependabot[bot] Sep 27, 2023
5456707
fix: exceptions caused by non-string asset properties (#262)
richardtreier Sep 29, 2023
2e4126c
feat: deletion of connectors (#209)
tmberthold Sep 29, 2023
20c626e
chore: prepare release (#264)
richardtreier Sep 29, 2023
0b85338
chore: update README.md
richardtreier Sep 29, 2023
f00d173
chore(deps): bump org.testcontainers:postgresql from 1.19.0 to 1.19.1…
dependabot[bot] Oct 4, 2023
d477819
fix: URLs getting additional quotes for no reason (#268)
richardtreier Oct 12, 2023
6d2abc0
test: asset null behavior (#269)
richardtreier Oct 12, 2023
47f30dd
chore: prepare release (#271)
richardtreier Oct 12, 2023
e325144
chore(deps): bump com.squareup.okhttp3:okhttp from 4.11.0 to 4.12.0 (…
dependabot[bot] Oct 23, 2023
1a0075a
chore(deps): bump io.swagger:swagger-annotations from 1.6.11 to 1.6.1…
dependabot[bot] Oct 23, 2023
76cb9d7
chore(deps): bump io.swagger.core.v3:swagger-jaxrs2-jakarta (#276)
dependabot[bot] Oct 23, 2023
711d0b1
chore(deps): bump io.swagger.core.v3:swagger-annotations-jakarta (#275)
dependabot[bot] Oct 23, 2023
23ec8c4
chore(deps): bump org.jooq:jooq from 3.18.6 to 3.18.7 (#267)
dependabot[bot] Oct 23, 2023
fc07c3c
chore(deps-dev): bump postcss in /extensions/broker-server-api/client…
dependabot[bot] Oct 23, 2023
ba7e358
chore(deps): bump io.swagger.core.v3.swagger-gradle-plugin (#274)
dependabot[bot] Oct 23, 2023
ddd3169
chore(deps-dev): bump the npm_and_yarn at /extensions/broker-server-a…
dependabot[bot] Oct 23, 2023
260e33f
chore(deps): bump actions/setup-node from 3 to 4 (#283)
dependabot[bot] Oct 24, 2023
646d786
feat: DataOffer count entdpoint (#284)
jridderbusch Oct 25, 2023
832e7bc
chore(deps): bump io.swagger.core.v3.swagger-gradle-plugin (#288)
dependabot[bot] Oct 26, 2023
7f0d298
chore(deps): bump io.swagger.core.v3:swagger-jaxrs2-jakarta (#287)
dependabot[bot] Oct 26, 2023
212f404
chore(deps): bump io.swagger.core.v3:swagger-annotations-jakarta (#286)
dependabot[bot] Oct 26, 2023
a25e9fb
feat: connector filter for catalog page (#289)
jridderbusch Oct 27, 2023
1d8cf11
chore: Prepare release (#291)
jridderbusch Oct 30, 2023
a578c07
Update feature_request.md (#292)
AbdullahMuk Nov 2, 2023
4827ded
chore: update feature_request.md (#305)
AbdullahMuk Nov 15, 2023
babb796
feat: migrate to Eclipse EDC 0.2.1 (#298)
richardtreier Nov 17, 2023
daa9d33
fix: improve db connection usage in tests (#309)
richardtreier Nov 17, 2023
dda7763
chore: update deployment guide for EDC 0 (#310)
richardtreier Nov 17, 2023
42da9e8
fix: default configuration for the daps (#311)
richardtreier Nov 17, 2023
46d7ec7
fix: default sorting not being first sorting (#312)
richardtreier Nov 17, 2023
62967b8
chore: prepare release (#314)
richardtreier Nov 17, 2023
e7acfa4
fix: DAPS configuration in .env
richardtreier Nov 20, 2023
9320028
chore: prepare bugfix release (#316)
richardtreier Nov 20, 2023
bf1f6b7
chore: update gh templates (#317)
richardtreier Nov 21, 2023
e48d730
chore: fix bug report issue template
richardtreier Nov 21, 2023
cffcd0c
fix: healtcheck and prepare bugfix release (#326)
richardtreier Nov 23, 2023
7c1996f
feat: Rework Data Offer count endpoint to Connector Metadata endpoint…
jridderbusch Nov 27, 2023
c99cf08
chore: prepare release (#332)
richardtreier Dec 6, 2023
ea8c1fb
chore: update docker-compose.yaml
richardtreier Dec 6, 2023
9db9003
ci: try fix parallelity issues (#333)
richardtreier Dec 6, 2023
8958ea4
docs: add referringConnector claim to initial deployment documentation
richardtreier Dec 6, 2023
48cd207
fix: Add downwards compatibility for AP API (#337)
jridderbusch Dec 8, 2023
a8be04a
chore: prepare release (#338)
richardtreier Dec 8, 2023
4bacb4c
chore: improve release.md (#340)
richardtreier Dec 8, 2023
b0775de
chore: remove typo in README.md
richardtreier Dec 21, 2023
1c7e5ad
feat: bump edc-extensions version for short description text (#352)
kulgg Jan 9, 2024
2a5cab8
updated MDS feature template (#355)
jkbquabeck Jan 12, 2024
787cf14
feat: Add organization metadata to broker (#353)
jridderbusch Jan 16, 2024
bc44117
chore: fix dependabot config
tmberthold Jan 17, 2024
d0484d5
chore: provide dummy OwnConnectorEndpointService (#367)
kulgg Jan 17, 2024
654e265
chore: prepare release (#371)
kulgg Jan 18, 2024
2d56045
chore: prepare release (2) (#372)
kulgg Jan 18, 2024
47d1bad
chore: update docker compose (#373)
kulgg Jan 18, 2024
ee2040a
chore: prepare release (3) (#374)
kulgg Jan 18, 2024
e2b4996
feat: bump edc-extensions version for new MDS fields (#381)
kulgg Jan 23, 2024
ae069bf
ci: update license scan (#385)
tmberthold Jan 26, 2024
0d22a3b
chore: prepare release
kulgg Feb 15, 2024
796ac76
chore: prepare release (#413)
kulgg Feb 15, 2024
d1fa052
Authority Portal API: Added endpoint for receiving all data offers of…
SebastianOpriel Feb 15, 2024
174ee06
fixed: Wrong lexicographical order
SebastianOpriel Feb 15, 2024
e7e2a96
- removed unused file
SebastianOpriel Feb 15, 2024
32d98f2
Adds endpoint for receiving all data offers of Connectors (#415)
SebastianOpriel Feb 15, 2024
0e65d3f
chore(deps): bump org.postgresql:postgresql from 42.6.0 to 42.7.2 (#424)
dependabot[bot] Feb 21, 2024
a9ceded
fix: add missing license header (#422)
tmberthold Feb 21, 2024
11991af
Update security_scan.yml
tmberthold Feb 21, 2024
aaa18a9
chore(deps-dev): bump vite from 4.2.3 to 4.5.2 in /extensions/broker-…
dependabot[bot] Feb 21, 2024
9ef4259
🔄 Templates: synced file(s) with sovity/PMO-Software (#388)
sovitybot Feb 21, 2024
abd4ff4
🔄 Templates: synced file(s) with sovity/PMO-Software (#428)
sovitybot Feb 22, 2024
fea1ba0
Delete .github/workflows/add_pullrequest_to_project.yml
tmberthold Feb 22, 2024
769846b
feat: Use stable contract offer ID (#421)
ununhexium Feb 22, 2024
298e3df
🔄 Templates: synced file(s) with sovity/PMO-Software (#431)
sovitybot Feb 26, 2024
839838a
chore: prepare release v3.4.0 (#433)
jridderbusch Feb 27, 2024
be45136
ci: enable CodeQL (#434)
tmberthold Feb 27, 2024
d1f4c65
🔄 Templates: synced file(s) with sovity/PMO-Software (#435)
sovitybot Feb 27, 2024
e21c27f
🔄 Templates: synced file(s) with sovity/PMO-Software (#438)
sovitybot Feb 29, 2024
0740d05
chore: prepare release (#440)
kulgg Feb 29, 2024
cacd6fc
chore: Remove deprecated endpoint (#441)
jridderbusch Feb 29, 2024
158ed01
chore: disable dependabot version updates
tmberthold Mar 11, 2024
8c48bdb
🔄 Templates: synced file(s) with sovity/PMO-Software (#444)
sovitybot Mar 11, 2024
45a69c5
feat: Add MDS ID filter and new "addConnectorsWithMdsId" endpoint (#459)
jridderbusch Mar 21, 2024
5889a80
chore: prepare release (#461)
kamilczaja Mar 22, 2024
81a4465
chore: Prepare release (#463)
jridderbusch Apr 2, 2024
483845c
chore(deps-dev): bump vite from 4.5.2 to 4.5.3 in /extensions/broker-…
dependabot[bot] Apr 5, 2024
b47e602
🔄 Templates: synced file(s) with sovity/PMO-Software (#464)
sovitybot Apr 5, 2024
044c576
chore: Prepare release (#468)
jridderbusch Apr 11, 2024
9eb8e44
chore: bump edc-extensions to latest (#470)
richardtreier Apr 20, 2024
5211a1b
chore: prepare release (#471)
richardtreier Apr 20, 2024
a5544c9
🔄 Templates: synced file(s) with sovity/PMO-Software (#472)
sovitybot May 2, 2024
bb916d8
Clearing the way for the merge with edc-extensions
ununhexium May 3, 2024
b237de3
squashed edc-ce history before broker/crawler merge
tmberthold Dec 12, 2022
6165ec1
chore: Convert dependencies to use libs.version.toml (#908)
ununhexium May 2, 2024
1edef81
Merge unrelated tree from broker into edc-extensions
ununhexium May 3, 2024
422371a
chore: Postpone user change to a later stage in this repo merge
ununhexium May 3, 2024
76e50c1
chore: Postpone fixing link because of CI
ununhexium May 3, 2024
3cddd06
fix: Run CI on integration branches
ununhexium May 3, 2024
938ec7d
deps: bump postgres lib (#922)
ununhexium May 6, 2024
442a1d8
API Wrapper: filter expressions on catalog fetch (#923)
kamilczaja May 16, 2024
2a439f7
Release prep 7.5.0 (#925)
ununhexium May 16, 2024
1133b2a
ci: speed-up documenation PRs (#926)
ununhexium May 17, 2024
22a1fc9
Fixed typo in data-transfer-methods.md
SebastianOpriel May 22, 2024
0508a38
Update documentation for HttpData transfer (#929)
SebastianOpriel May 22, 2024
6f61e80
Merge #919: Initial Broker History Merge
ununhexium May 3, 2024
4a523ba
docs: expand postman-collection (#927)
tmberthold May 28, 2024
a05a1c5
Integrate the broker's extensions (#921)
ununhexium May 27, 2024
fefe681
Merge branch 'main' into integration/broker-merge
ununhexium May 29, 2024
cfc2f6c
Fix method name
ununhexium May 29, 2024
21e5a9f
merge: Integrate Broker Server into sovity EDC Community Edition (#931)
richardtreier May 31, 2024
2c5a771
chore: release prep v8.0.0 (#960)
ununhexium Jun 5, 2024
17b895a
chore: fix the Broker's NPM publishing (#961)
ununhexium Jun 5, 2024
2c96076
fix: health indicator and version (#962)
ununhexium Jun 6, 2024
40804c9
Update release procedure (#963)
ununhexium Jun 6, 2024
5d97b00
fix: Add Broker version (#964)
ununhexium Jun 7, 2024
912eed9
docs: update postman_collection (#966)
tmberthold Jun 7, 2024
f97ca61
docs: fix wrong port in local demo docs (#967)
richardtreier Jun 11, 2024
9dd48dc
feat: complex policy expressions (API Wrapper Use Case API, #969)
efiege Jun 12, 2024
bc254d8
docs: add examples of api-wrapper java-client to readme (#971)
tmberthold Jun 13, 2024
5e08678
release: 8.1.0 (#974)
efiege Jun 14, 2024
d96ec83
feat: Add /wrapper/use-case-api/policy-definition endpoint to postman…
efiege Jun 14, 2024
44b8fae
chore: Unify migration histories (#965)
ununhexium Jun 18, 2024
f237870
feat: Add utilities to access the database via jOOQ (#979)
ununhexium Jun 19, 2024
268cd6f
Update build.gradle.kts
tmberthold Jun 24, 2024
f3ad2e0
Update markdown-link-checker-config.jq
tmberthold Jun 24, 2024
6837b43
Update README.md
tmberthold Jun 24, 2024
82e17f5
Update sovity-edc-api-wrapper.yaml
tmberthold Jun 24, 2024
eec93ff
Update postman_collection.json
tmberthold Jun 24, 2024
489b587
🔄 Templates: synced file(s) with sovity/PMO-Software (#981)
sovitybot Jun 24, 2024
be21ec2
chore(deps-dev): bump braces (#982)
dependabot[bot] Jun 24, 2024
277ff92
feat: custom C2C messages (#970)
ununhexium Jun 25, 2024
5678a54
feat: on request data offers, structured HttpData data sources via AP…
richardtreier Jun 26, 2024
b5af6c7
chore(deps-dev): bump braces (#984)
dependabot[bot] Jun 27, 2024
12e6350
fix: missing authentication header handling in reworked UiDataSource,…
richardtreier Jul 1, 2024
7bf5f3e
ci: add workflow for automated mds-issue-referencing
tmberthold Jul 2, 2024
33726cc
feat: contract termination API (#987)
ununhexium Jul 3, 2024
e7fc108
feat: authority portal catalog crawler (#985)
kamilczaja Jul 9, 2024
2db950e
feat: terminatedBy for contract termination API (#992)
ununhexium Jul 9, 2024
2bbdf1b
fix: crawler not handling descriptions properly (#993)
richardtreier Jul 10, 2024
da2edd7
editorconfig: continuation indent 8 -> 4 (TODO: apply on project) (#995)
richardtreier Jul 10, 2024
6cf64dd
chore: sync crawler db migration with ap (#997)
kamilczaja Jul 12, 2024
602355f
chore: prepare release (#999)
richardtreier Jul 15, 2024
516e101
feat: contract termination (#996)
ununhexium Jul 18, 2024
b2219a8
fix: Pool size must be optional (#1000)
ununhexium Jul 18, 2024
60dbc7c
feat: Update postman and add details check (#1001)
ununhexium Jul 18, 2024
aae947b
feat: id availability check endpoints (#1003)
kamilczaja Jul 18, 2024
f063fd0
feat: extend UiPolicy from only constraints to expressions (#988)
illfixit Jul 19, 2024
36bb35e
feat: on request assets now return placeholder data (#1004)
ununhexium Jul 24, 2024
15f2e6e
feat: rework always-true policy definition (#1005)
kamilczaja Jul 24, 2024
1eb8fcb
chore: prepare release (#1007)
richardtreier Jul 24, 2024
f7895ec
chore: fix always-true policy test (#1008)
richardtreier Jul 24, 2024
36d870b
chore: fix test (#1009)
richardtreier Jul 24, 2024
75fd7cd
fix: test (#1010)
richardtreier Jul 24, 2024
f8d349e
chore: Rework E2E test extension to be used in the EDC EE (#1011)
ununhexium Jul 29, 2024
727b9cf
feat: fetch a single contract agreement by its ID (#1016)
ununhexium Aug 1, 2024
87add37
chore(deps): update LoggingHouse dependency to latest version (#1015)
tmberthold Aug 1, 2024
303860e
New Always True policy should not cause errors (#1012)
illfixit Aug 5, 2024
37aff08
chore: sync ap migrations (#1021)
kamilczaja Aug 8, 2024
ba62af5
Release prep (#1022)
ununhexium Aug 9, 2024
1c24116
fix: Remove duplicate database indices (#1024)
yylian Aug 13, 2024
1aa1e18
docs: add faq.md (#1026)
tmberthold Aug 14, 2024
9b6ec3f
fix: Address update (#1029)
ununhexium Aug 19, 2024
8af8ff8
fix: flyway validation failing in mds variant (#1025)
ununhexium Aug 20, 2024
df510db
chore: Release 10.2.0 preparation (#1032)
ununhexium Aug 20, 2024
a450640
docs: add on-request data-source as example in asset-creation (#1034)
tmberthold Aug 21, 2024
180332b
fix(postman): update collection to reflect recent API changes (#1037)
tmberthold Sep 4, 2024
9a5df50
feat: log terminations to logging house (#1027)
ununhexium Sep 4, 2024
76551e8
chore: Release prep 10.3.0 (#1038)
ununhexium Sep 4, 2024
dbe965e
chore(workflows): remove unused workflow (#1039)
tmberthold Sep 11, 2024
2e4c9cb
feat: add CreateDataOffer API endpoint (#1035)
ununhexium Sep 12, 2024
4ce6073
chore: Prepare release 10.4.0 (#1042)
ununhexium Sep 18, 2024
e06eb27
Also add .env changes (#1044)
ununhexium Sep 18, 2024
eea8425
chore: ap flyway migration sync (#1045)
kamilczaja Sep 18, 2024
edbfa31
Revert "chore: ap flyway migration sync (#1045)" (#1049)
ununhexium Sep 26, 2024
f44e219
chore: Release 10.4.1 (#1050)
ununhexium Sep 26, 2024
0f1b609
feat: catalog crawler, moved here from edc-ce
richardtreier Nov 18, 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
75 changes: 75 additions & 0 deletions .github/actions/build-connector-image/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: "Build EDC Connector Image"
richardtreier marked this conversation as resolved.
Show resolved Hide resolved
description: "Builds and deploys the React frontend to AWS S3"
inputs:
registry-url:
required: true
description: "Docker Registry"
registry-user:
required: true
description: "Docker Registry Login Username"
registry-password:
required: true
description: "Docker Registry Login Password"
image-base-name:
required: true
description: "Docker Image Base Name (Company)"
image-name:
required: true
description: "Docker Image Name (Artifact Name)"
connector-name:
required: true
description: "EDC Connector Name in launchers/connectors/{connector-name}"
title:
required: true
description: "Docker Image Title"
description:
required: true
description: "Docker Image Description"
runs:
using: "composite"
steps:
- name: "Docker: Log in to the Container registry"
uses: docker/login-action@v2
with:
registry: ${{ inputs.registry-url }}
username: ${{ inputs.registry-user }}
password: ${{ inputs.registry-password }}
- name: "Docker: Store last commit info and build date"
id: last-commit-information
shell: bash
run: |
echo "LAST_COMMIT_INFO<<EOF" >> $GITHUB_ENV
export LAST_COMMIT_INFO=$(git log -1)
echo "$LAST_COMMIT_INFO" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "BUILD_DATE=$(date --utc +%FT%TZ)" >> $GITHUB_ENV
- name: "Docker: Extract metadata (tags, labels)"
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ inputs.registry-url }}/${{ inputs.image-base-name }}/${{ inputs.image-name }}
labels: |
org.opencontainers.image.title=${{ inputs.title }}
org.opencontainers.image.description=${{ inputs.description }}
tags: |
type=schedule
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
type=ref,event=pr
type=sha
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=release,enable=${{ startsWith(github.ref, 'refs/tags/') }}
- name: "Docker: Build and Push"
uses: docker/build-push-action@v5
with:
file: authority-portal-backend/catalog-crawler/Dockerfile
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
CONNECTOR_NAME=${{ inputs.connector-name }}
"EDC_LAST_COMMIT_INFO_ARG=${{ env.LAST_COMMIT_INFO }}"
EDC_BUILD_DATE_ARG=${{ env.BUILD_DATE }}
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
type=sha
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=release,enable=${{ startsWith(github.ref, 'refs/tags/') }}
- name: "Docker: Build and Push Image"
- name: "Docker: Build and Push Image (authority-portal-backend)"
uses: docker/build-push-action@v4
with:
file: authority-portal-backend/authority-portal-quarkus/src/main/docker/Dockerfile.jvm
Expand All @@ -101,7 +101,17 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
network: host

- name: "Docker: Build and Push Image (authority-portal-crawler)"
uses: ./.github/actions/build-connector-image
with:
registry-url: ${{ env.REGISTRY }}
registry-user: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}
image-base-name: ${{ env.IMAGE_NAME_BASE }}
image-name: "authority-portal-crawler"
connector-name: "catalog-crawler-ce"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's no dev image?

title: "Catalog Crawler (Community Edition, DAPS)"
description: "sovity CE Catalog crawler for the sovity CE Authority Portal. Requires DAPS dataspace credentials to join an existing dataspace."

frontend:
name: Frontend
Expand Down
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ please see [changelog_updates.md](docs/dev/changelog_updates.md).

#### Major

- The Catalog Crawler has been moved to the AP repository.
- To prevent versioning conflicts with the image from EDC CE up to version 10.4.1, the image is now named differently. See [compatible versions](#compatible-versions) below.

Comment on lines +15 to +16
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's enough that this is in the deployment migration notes.

#### Minor

#### Patch
Expand All @@ -24,11 +27,15 @@ please see [changelog_updates.md](docs/dev/changelog_updates.md).

### Deployment Migration Notes

- Please change the image used for the Catalog Crawler. The old image is no longer updated and will not work with future versions of the Portal.
- Previously: `ghcr.io/sovity/catalog-crawler-ce`
- Now: `ghcr.io/sovity/authority-portal-crawler`

#### Compatible Versions

- Authority Portal Backend Docker Image: `ghcr.io/sovity/authority-portal-backend:{{ version }}`
- Authority Portal Frontend Docker Image: `ghcr.io/sovity/authority-portal-frontend:{{ version }}`
- Catalog Crawler CE: `ghcr.io/sovity/catalog-crawler-ce:{{ CE VERSION }}`
- Catalog Crawler CE: `ghcr.io/sovity/authority-portal-crawler:{{ version }}`
- Sovity EDC CE: {{ CE Release Link }}

## [v4.1.2] - 2024-09-26
Expand Down Expand Up @@ -255,7 +262,7 @@ MDS 2.2 intermediate release

- All brokers can be undeployed including their databases.
- Keycloak
- Keycloak IAM must be updated to version `24.0.4`. Follow the [Keycloak upgrade guide](https://www.keycloak.org/docs/24.0.0/upgrading/) for more information.
- Keycloak IAM must be updated to version `24.0.4`. Follow the [Keycloak upgrade guide](https://www.keycloak.org/docs) for more information.
- Portal Backend

- Following environment variables have been added and **must be configured** for each environment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import de.sovity.authorityportal.api.model.CentralComponentCreateRequest
import de.sovity.authorityportal.api.model.CentralComponentDto
import de.sovity.authorityportal.api.model.ComponentStatusOverview
import de.sovity.authorityportal.api.model.ConfigureProvidedConnectorWithCertificateRequest
import de.sovity.authorityportal.api.model.ConfigureProvidedConnectorWithJwksRequest
import de.sovity.authorityportal.api.model.ConnectorDetailsDto
import de.sovity.authorityportal.api.model.ConnectorOverviewResult
import de.sovity.authorityportal.api.model.CreateCaasRequest
import de.sovity.authorityportal.api.model.CreateConnectorRequest
import de.sovity.authorityportal.api.model.ConfigureProvidedConnectorWithJwksRequest
import de.sovity.authorityportal.api.model.CreateConnectorResponse
import de.sovity.authorityportal.api.model.DeploymentEnvironmentDto
import de.sovity.authorityportal.api.model.IdResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package de.sovity.authorityportal.web.thirdparty.daps
import de.sovity.authorityportal.web.environment.DeploymentEnvironmentConfiguration.DeploymentEnvironment.DapsConfig
import de.sovity.authorityportal.web.thirdparty.daps.ext.CustomKeycloakResource
import de.sovity.authorityportal.web.thirdparty.daps.ext.instantiateResource
import io.quarkus.logging.Log
import org.keycloak.admin.client.KeycloakBuilder
import org.keycloak.representations.idm.ClientRepresentation
import org.keycloak.representations.idm.ProtocolMapperRepresentation
Expand Down Expand Up @@ -43,7 +44,9 @@ class DapsClient(dapsConfig: DapsConfig): AutoCloseable {
}

fun createClient(clientId: String) {
Log.info("Creating client $clientId in realm $realmName")
keycloak.realm(realmName).clients().create(buildClientRepresentation(clientId))
Log.info("Client $clientId created in realm $realmName")
}

fun deleteClient(clientId: String) {
Expand All @@ -66,6 +69,7 @@ class DapsClient(dapsConfig: DapsConfig): AutoCloseable {
}

fun addJwksUrl(clientId: String, jwksUrl: String) {
Log.info("Getting client $clientId in realm $realmName")
val client = getClientById(clientId) ?: error("Client not found")

client.attributes["jwks.url"] = jwksUrl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ quarkus.arc.exclude-types=io.swagger.v3.jaxrs2.**
%test.quarkus.log.console.json=false
%test.quarkus.otel.traces.exporter=none

quarkus.otel.sdk.disabled=true

# Rest Client
quarkus.rest-client.http2=true

Expand Down
4 changes: 4 additions & 0 deletions authority-portal-backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ subprojects {
password = project.findProperty("gpr.key") as String? ?: System.getenv("GPR_KEY")
}
}
maven {
url = uri("https://pkgs.dev.azure.com/sovity/41799556-91c8-4df6-8ddb-4471d6f15953/_packaging/core-edc/maven/v1")
name = "AzureRepo"
}
}

configurations.all {
Expand Down
34 changes: 34 additions & 0 deletions authority-portal-backend/catalog-crawler/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM eclipse-temurin:17-jre-alpine

# Install curl for healthcheck, bash for entrypoint
RUN apk add --no-cache curl bash
SHELL ["/bin/bash", "-c"]

# Use a non-root user
RUN adduser -D -H -s /sbin/nologin edc
USER edc:edc

# Which app.jar to include
ARG CONNECTOR_NAME="catalog-crawler-ce"

# For last-commit-info extension
ARG EDC_LAST_COMMIT_INFO_ARG="The docker container was built outside of github actions and you didn't provide the build arg EDC_LAST_COMMIT_INFO_ARG, so there's no last commit info."
ARG EDC_BUILD_DATE_ARG="The docker container was built outside of github actions and you didn't provide the build arg EDC_BUILD_DATE_ARG, so there's no build date."

WORKDIR /app
COPY ./authority-portal-backend/catalog-crawler/${CONNECTOR_NAME}-launcher/build/libs/app.jar /app
COPY ./authority-portal-backend/catalog-crawler/logging.properties /app
COPY ./authority-portal-backend/catalog-crawler/logging.dev.properties /app

RUN touch /app/empty-properties-file.properties

ENV EDC_LAST_COMMIT_INFO=$EDC_LAST_COMMIT_INFO_ARG
ENV EDC_BUILD_DATE=$EDC_BUILD_DATE_ARG
ENV JVM_ARGS=""

COPY ./authority-portal-backend/catalog-crawler/docker-entrypoint.sh /app/entrypoint.sh
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["start"]

# health status is determined by the availability of the /health endpoint
HEALTHCHECK --interval=5s --timeout=5s --retries=10 CMD curl -H "x-api-key: $EDC_API_AUTH_KEY" --fail http://localhost:11001/api/check/health || curl -H "x-api-key: $EDC_API_AUTH_KEY" --fail http://localhost:11001/backend/api/check/health
41 changes: 41 additions & 0 deletions authority-portal-backend/catalog-crawler/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!-- PROJECT LOGO -->
<br />
<div align="center">
<a href="https://github.com/sovity/authority-portal">
<img src="https://raw.githubusercontent.com/sovity/edc-ui/main/src/assets/images/sovity_logo.svg" alt="Logo" width="300">
</a>

<h3 align="center">EDC-Connector Extension:<br />Catalog Crawler</h3>

<p align="center">
<a href="https://github.com/sovity/authority-portal/issues/new?assignees=&labels=kind%2Fbug&projects=&template=bug_report.yaml">Report Bug</a>
·
<a href="https://github.com/sovity/edc-ce/issues/new?template=feature_request.md">Request Feature</a>
</p>
</div>

## About this Extension

The Catalog Crawler is an additional deployment unit needed to determine the online status of registered connectors and populate the Data Catalog:

- It is a modified EDC connector with the task to crawl the other connectors' public data offers.
- It periodically checks the Authority Portal's connector list for its environment.
- It crawls the given connectors in regular intervals.
- It writes the data offers and connector statuses into the Authority Portal DB.
- Each environment configured in the Authority Portal requires its own Catalog Crawler with credentials for that environment's DAPS.

## Why does this component exist?

The Authority Portal uses a non-EDC stack and thus it cannot read the catalogs of participating connectors directly.

## Deployment

Please see the [Productive Deployment Guide](../../docs/deployment-guide/goals/production/README.md) for more information.

## License

Apache License 2.0 - see [LICENSE](../../LICENSE)

## Contact

sovity GmbH - [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
plugins {
`java-library`
id("application")
alias(libs.plugins.shadow)
}

dependencies {
implementation(project(":catalog-crawler:catalog-crawler-launcher-base"))

api(libs.edc.monitorJdkLogger)
api(libs.edc.apiObservability)

implementation(libs.edc.oauth2Core)
implementation(libs.edc.vaultFilesystem)
}

application {
mainClass.set("de.sovity.edc.ext.catalog.crawler.Main")
}

tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
mergeServiceFiles()
archiveFileName.set("app.jar")
}

group = libs.versions.sovityEdcGroup.get()
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
plugins {
`java-library`
}

dependencies {
// A minimal EDC that can request catalogs
api(libs.edc.controlPlaneCore)
api(libs.edc.dataPlaneSelectorCore)
api(libs.edc.configurationFilesystem)
api(libs.edc.controlPlaneAggregateServices)
api(libs.edc.http)
api(libs.edc.dsp)
api(libs.edc.jsonLd)

// Data Catalog Crawler
api(project(":catalog-crawler:catalog-crawler"))
}

group = libs.versions.sovityEdcGroup.get()
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
plugins {
`java-library`
}

dependencies {
annotationProcessor(libs.lombok)
compileOnly(libs.lombok)

implementation(libs.edc.controlPlaneSpi)
implementation(libs.edc.managementApiConfiguration)

implementation(libs.quartz.quartz)
implementation(libs.commons.lang3)
implementation(libs.quarkus.jooq)

api(libs.sovity.edc.catalogParser)
api(libs.sovity.edc.jsonAndJsonLdUtils)
api(libs.sovity.edc.wrapperCommonMappers)
api(libs.sovity.edc.ext.postgresFlywayCore)
api(libs.sovity.edc.config)
api(project(":authority-portal-db"))

testAnnotationProcessor(libs.lombok)
testCompileOnly(libs.lombok)
testImplementation(libs.sovity.edc.ext.testUtils)
testImplementation(libs.assertj.core)
testImplementation(libs.mockito.core)
testImplementation(libs.restAssured.restAssured)
testImplementation(libs.testcontainers.testcontainers)
testImplementation(libs.flyway.core)
testImplementation(libs.testcontainers.junitJupiter)
testImplementation(libs.testcontainers.postgresql)
testImplementation(libs.junit.api)
testImplementation(libs.jsonAssert)
testRuntimeOnly(libs.junit.engine)
}

tasks.getByName<Test>("test") {
useJUnitPlatform()
maxParallelForks = 1
}
Loading
Loading