Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions e2e/schemaregistry/schemaregistry-client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ describe('SchemaRegistryClient Integration Test', () => {

const getMetadataResponse: SchemaMetadata = await schemaRegistryClient.getSchemaMetadata(testSubject, schemaVersion);
expect(schemaMetadata).toEqual(getMetadataResponse);

const keyValueMetadata: { [key: string]: string } = {
'owner': 'Bob Jones',
'email': 'bob@acme.com'
}

const getLatestWithMetadataResponse: SchemaMetadata = await schemaRegistryClient.getLatestWithMetadata(testSubject, keyValueMetadata);
expect(schemaMetadata).toEqual(getLatestWithMetadataResponse);
});

it('Should test compatibility for a version and subject, getting and updating', async () => {
Expand Down
627 changes: 328 additions & 299 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.11",
"async-mutex": "^0.5.0",
"axios": "^1.7.3",
"bindings": "^1.3.1",
"nan": "^2.17.0"
"json-stringify-deterministic": "^1.0.12",
"lru-cache": "^11.0.0",
"nan": "^2.17.0",
"ts-jest": "^29.2.4"
},
"engines": {
"node": ">=18.0.0"
Expand Down
Loading