node-test-bed-adapter
Version:
An adapter to connect a node.js application to the Test-bed's Common Information Space or Common Simulation Space.
23 lines (22 loc) • 755 B
text/typescript
import { ITestBedOptions } from '../models/index.mjs';
/**
* Helper class to publish schema's to the schema registry.
*
* After publishing, the schema ID is returned. Although we might store
* it and pass it on to the schema registry, that is not done, as this
* makes things more complicated (stronger coupling between this class
* and the schema registry). Also, we may not retreive the latest version
* of the schema topic.
*/
export declare class SchemaPublisher {
private options;
private schemaFolder;
private isInitialized;
private log;
private topics;
constructor(options: ITestBedOptions);
init(): Promise<void>;
get uploadedSchemas(): string[];
private uploadSchema;
private suppressAxiosError;
}