Adapter SDK

Write and test your own adapters for further tools – with the open-source Adapter SDK of contract, compatibility kit and templates.

Work in progress. This documentation is not complete yet. If something is missing, write to us: support@wiestigo.com

As of 14 November 2026 · checked against the Adapter SDK 1.1

Mirador syncs requirements with Jira and Jama out of the box. You connect any other tool yourself: with an adapter. Everything you need for that is in the Adapter SDK – a public repository on GitHub:

github.com/Wiestigo/wiestigo-mirador-adapter-sdk

The SDK is open source under the Apache License 2.0. Its two templates are under MIT No Attribution (MIT-0): copy them, build your adapter on them and license the result as you like.

The Adapter SDK: connect any tool to MiradorDuration 1:54 · As of 15 November 2026 · checked against the Adapter SDK 1.1 · narrated by a synthetic voice
Text version
  1. Your adapter declares what your tool can do, reads and writes – in the terms of your tool.
  2. Mirador handles everything else: mapping, change detection, reconciliation, schedule and reports.
  3. Choose the way: a plugin in Java or your own service in any language.
  4. Copy the template and replace the example with your tool.
  5. Test with the compatibility kit: mvn test, without a running Mirador.
  6. Deliver the jar; the administrator uploads it, releases it and creates the connection.

What an adapter does – and what Mirador handles

Whoever syncs two tools usually writes little code for reading and writing – and a great deal for everything around it: what has changed? What was deleted? What happens when a run breaks off and starts again? That part already exists in Mirador. An adapter contains only what sets your tool apart from others.

An adapter connects Mirador with exactly one tool. It talks to the tool's API and translates between that API and Mirador's tool-neutral model: artifacts, links, comments and attachments. It stays in the terms of its tool – the tool's identifiers, type names, field labels and values. It needs to know nothing about Mirador: neither its types nor its projects.

Mirador handles everything else, and none of it is adapter code:

TaskWhat Mirador doesWhat you do not write
Mappingtranslates types, attributes, values and link types by a mapping file that the administrator adjusts per connectiontranslation tables in code; a new build for every changed field
Detecting changescompares what the adapter delivers with the state in the projectyour own comparison of old and new
Reconciling deletionsreconciles the sets in a full run and sees what is missing in the toolbookkeeping of what once existed
No duplicatesremembers each element's external reference; a repeated run creates nothing twiceyour own mapping of identifiers
Hierarchy and orderbuilds the tree and creates elements in the right sequencesorting parents, children and links
Batching and parallel writesgroups calls and writes concurrently, as far as the tool allowsbatches, threads and their failure cases
The way to the networkthrottles, retries after a transient failure, keeps deadlines, applies the connection's certificatesretries, waiting times and TLS settings
Schedule and operationschedules runs, keeps them in a queue, shows progress and run reportsa service of your own with a schedule and a user interface
Settingsshows the settings the adapter declares in the administration, checks their values and hides secrets in the logforms, validation and the handling of credentials

Why this makes connecting a tool simple

You write only what is special. Reading and writing in the terms of your tool – that is the whole adapter. An adapter that only reads does not need the writing part at all.

You declare instead of programming. The adapter states what its tool can do, and Mirador acts accordingly. If the tool cannot filter by “changed since”, Mirador uses full runs. If it cannot change a link, Mirador creates the new one and deletes the old one. If it has no tree, everything sits below the sync point.

The mapping is a setting. Your adapter brings a template for the mapping. If a field has a different name at a customer, the administrator changes the connection's mapping file – without a new build, without you.

You start with something that runs. The templates are complete projects: they build, pass the compatibility kit and deliver a jar or a service. You replace the example instead of starting from nothing.

You test at your desk. The compatibility kit runs in your build, without Mirador and without a test installation. You know whether the adapter honours the contract before anyone uploads it.

The contract stays stable. Within a major version it changes only in a backward-compatible way. An adapter that runs today keeps running unchanged with the next minor version.

Two ways: plugin or your own service

PluginYour own service
What it isone jar that Mirador loadsan HTTPS service that you run
LanguageJava, version 17 or laterany
Interfacethe contract rmm_adapter_apithe remote protocol, JSON over HTTPS
Compatibility kitrmm_adapter_tckrmm_remote_tck
Templatermm_adapter_templatermm_remote_service_template

A plugin runs with the rights of Mirador. Where several customers share one installation, only plugins that the operator is responsible for run there; a customer's adapter runs as a service of its own. Choose the service as well when the adapter is not written in Java or has to run in your own network.

What is in the SDK

ModulePurpose
rmm_adapter_apithe contract, semantically versioned
rmm_adapter_modelthe transfer model: artifacts, links, comments, attachments and their fields, plus the mapping
rmm_adapter_tckthe compatibility kit for a plugin, with reference adapters
rmm_remote_tckthe compatibility kit for a service, over HTTPS
rmm_adapter_http_springSpring clients over the contract's HTTP path
rmm_adapter_templatean adapter project to copy, with a complete CSV example
rmm_remote_service_templatea service to copy, using only the JDK

Technical names – modules, packages, headers – carry the abbreviation rmm.

Starting a plugin

You need a JDK from version 17 and Maven 3.6.3 or newer.

  1. Get the SDK: build it from source once (mvn install in the repository) or use the released packages. The repository's README describes both under “Getting the SDK”.
  2. Copy rmm_adapter_template and replace the example with a class for your tool. The template's README says what to rename.
  3. mvn test runs the compatibility kit and your own tests; mvn package builds the jar.

Your project depends on two artifacts; the current version is on the repository's releases page:

<dependency>
    <groupId>com.wiestigo.mirador</groupId>
    <artifactId>rmm_adapter_api</artifactId>
    <version>…</version>
    <scope>provided</scope>
</dependency>
<dependency>
    <groupId>com.wiestigo.mirador</groupId>
    <artifactId>rmm_adapter_tck</artifactId>
    <version>…</version>
    <scope>test</scope>
</dependency>

Mirador supplies the contract at run time, so it does not belong in your jar (provided).

Starting a service

A service implements the remote protocol. In content these are the same calls as in the contract: describe yourself, read, write. The protocol asks three things of every service:

  • Mutual TLS. Mirador identifies itself with the certificate of the connection; the service accepts only certificates installed with it. There is no token.
  • The binding in the header. Every request names the connection it belongs to in the X-RMM-Binding header; the service keeps data and state separate per connection.
  • The protocol version. Mirador speaks exactly one version, currently version 4, and does not bind a service with an older one.

The template rmm_remote_service_template is a runnable service that passes the compatibility kit. docs/REMOTE_PROTOCOL.md in the repository describes every path, field and rule.

Testing with the compatibility kit

The compatibility kit checks an adapter against the contract without a running Mirador. It is an ordinary JUnit test in your build: you extend a test class, name your adapter and its configuration, and mvn test runs the checks.

Two entries are enough for the checks on the adapter's structure. The kit checks reading and writing once you give it a test project or a simulated tool. A check whose entry is missing counts as skipped, not as passed.

The compatibility kit for services works the same way, over HTTPS against the running service.

Delivering and releasing

A plugin goes into operation in four steps:

  1. Upload. The administrator uploads the jar. The administration shows its checksum (SHA-256) and its self-description without running any of its code.
  2. Release. No plugin runs without an explicit release of exactly this jar. Every new build needs a new release; until then the last released version keeps running.
  3. Restart. Mirador loads new code only when it starts.
  4. Connect. The administrator creates a connection of this type and enters its values.

For a service, the administrator creates a connection with the address of the service and installs the connection's certificate at the service.

Mirador does not certify adapters: whether a plugin is trustworthy is for the administrator to decide before the release.

Versions

The contract has a major and a minor version, currently 1.1; the SDK version follows it. Within a major version the contract changes only in a backward-compatible way: an adapter built against an earlier minor version keeps running unchanged.

A plugin states the version of the contract it is built against. If it needs a newer one than Mirador knows, Mirador does not load it and names the version it needs.

Further reading

Planning an adapter and have a question? Write to us – or open an issue in the repository.