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

Chore/local backbone for tests #127

Merged

Conversation

jkoenig134
Copy link
Member

@jkoenig134 jkoenig134 commented Jan 10, 2024

This adds a local backbone for testing purposes to the connector tests.

Also fixing some tests

.dev/appsettings.override.json Outdated Show resolved Hide resolved
.dev/appsettings.override.json Outdated Show resolved Hide resolved
.dev/compose.backbone.yml Outdated Show resolved Hide resolved
.dev/scripts/prepareDevEnvironment.sh Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
@jkoenig134 jkoenig134 merged commit 337552f into feature/attribute-succession Jan 10, 2024
5 checks passed
@jkoenig134 jkoenig134 deleted the chore/local-backbone-for-tests branch January 10, 2024 14:30
sebbi08 added a commit that referenced this pull request Feb 12, 2024
* chore: bump runtime dependency

* fix: update createAttribute to use new runtime use case

* feat: wip add endpoints to coreHttp

* feat: wip yaml defintion

* feat: update sdk

* fix: existing tests

* fix: build workspaces

* chore: comment outdated test

* fix: typo

* test: identity attribute succession

* chore: implement succeedIdentityAttribute endpoint and openapi spec

* chore: implement succeedRelationship... endpoint and openapi spec

* wip;

* wip

* wip

* wip

* chore: move confidentiality into schema

* chore: add todos

* fix: allow additional properties for attribute values

* chore: openapi: finish CreateAndShareRelationshipAttribute

* chore: add todo

* fix: typo

* chore: minor

* chore: openapi: finish CreateIdentityAttribute

* chore: use dedicated schema for request

* chore: openapi: finish shareidentityattribute

* openapi: finish succeedIdentityAttribute

* chore: openapi: finish notifypeer.....

* chore: openapi: finish succeedattribute

* chore: openapi: finish createAttribute

* chore: remote any remains of shareAttribute

* chore: refactor valid{From,To} using a schema

* chore: add todos

* chore: reorder fields

* chore: remove comment

* chore: remove comment

* wip

* wip;

* chore: update lockfile

* ci: run on local backbone

* chore: bump libs

* fix: test compiler errors

* wip

* fix: iql

* fix: tests

* wip review

* fix: paths

* chore: bump sdk to 2.3.0

* fix: legacy createAttribute @type property

* add todo

* chore: use more narrow types in sdk requests

* chore: bump (correct) version

* chore: changelog

* chore: changelog

* fix: deal with possibly undefined request content

* chore: bump dependencies

* fix: handle possibly undefined requests

* fix: correct sdk version

* chore: slight change in wording

* Chore/local backbone for tests (#127)

* chore: add configs

* chore: start backbone

* chore: set more envs

* chore: bump rabbitmq version

* chore: add cpx to dev env

* chore: bump capi

* chore: audit fix

* fix: use ConnectorAttributeValue as value

* fix: use the correct peer

* chore: remove old settings

* ci: bump capi

* chore: remove unused fields

* chore: upgrade seed client

* ci: remove seeder file

* chore: dedupe capi version

* chore: newline

* chore: add teardown

* chore: move stuff to npm scripts

* chore: do not use nmshd/start-backbone

* chore: add defaults for Launcher

* chore: update dev README

* chore: remove defaults

* ci: fix backbone url

* chore: typo

* chore: be package-manage independent

* chore: update dev readme

* chore: update dev readme

* chore: simplify

* chire: undo formatter

* implement createRepositoryAttribute route

* draft attribute succession route

* draft notify... route

* remote obsolete routes and schemas

* adjust sdk to new routes

* fix npm command name

* comment out broken tests; WIP

* add prefix for notification

* delete obsolete request files

* wip

* test: repository attriubte succeeding

* add test for succeeding and sharing an repository attribute

* add notificationReference to shareInfo type

* refactor: use proper union type for share info

* disable auto run in jest extension

* chore: remote todo; add to comment

* chore: update deps

* fix: fix openapi payload declaration

* chore: remove answered questions

* chore: exclude vulnerabilities

* chore: fix formatting

* chore: use sqlite for local testing

* chore: bump actions

* chore: ferret -> ferretdb

* chore: remove accidentally committed postgres ferret

* remove dependency to postgress for ferret

* fix: naming in script

* docs: list attribute succession routes in changelog

* chore: rename CreateIdentityAttributeRequest to CreateRepositoryAttributeRequest

* fix: throw error when owner of attribute != own adress

* test: add test for succeeded attributes

* chore: rename result to response

* test: make tests more roubust

* chore: readd axios

* chore: improve imports

* Update package.json

Co-authored-by: Julian König <[email protected]>

* docu: improve change log

* chore: change typos and wording

* doc: fix grammar

* chore: bump runtime

* chore: upgrade nodejs to 20.11.0

* fix: use correct response code for post

* chore: make IQLQuery type optional again

* fix: properly define IQLQuery

* chore: update tests

* chore: update changelog

* chore: bump pubsub

* chore: formatting

* fix: undo accidentally committed stuff

* chore: update runtime

---------

Co-authored-by: Jonas Gann <[email protected]>
Co-authored-by: Julian König <[email protected]>
Co-authored-by: Julian König <[email protected]>
Co-authored-by: Sebastian Mahr <[email protected]>
Co-authored-by: Sebastian Mahr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants