Skip to content

corememltd/radnac-docs

Repository files navigation

The Documentation Project for RADNAC.

RADAC provides a native-esque Azure experience by being deployed as a Managed Application through the Azure Marketplace whilst integrating tightly with Application Insights.

This project covers public materials related to the product.

Related Links

Usage

Interaction with the API is best done using the Azure CLI against your Managed Application deployment resource.

So start by logging in with:

az login

As an end user, use the OpenAPI specification found in specification/user/managed-application.

To determine the API version your deployment uses inspect the value 'api.version' returned by running:

az rest --verbose \
  --method post \
  --uri '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/radnac-YYYYMMDDhhmmss/customstatus' \
  --uri-parameters api-version=2018-09-01-preview

N.B. api-version in the query string is not related to the specifications found in this repository and must be provided and set to the value shown as it is required and consumed by Azure

The API version is fixed for a given deployment but may vary between differing deployments.

As an example, of using the API, to perform a 'restore' operation, use:

az rest --verbose \
  --method post \
  --uri '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/radnac-YYYYMMDDhhmmss/customrestore' \
  --uri-parameters api-version=2018-09-01-preview \
  --header 'content-type=application/json' \
  --body '{"url":"https://account.blob.core.windows.net/container/backups/radnac?..."}'

N.B. your request is validated at runtime against the specification

Development

Documentation

Antora is used to generate documentation, which means AsciiDoc.

Pre-flight

You will require pre-installed:

  • make
  • Node.js LTS

Build

On committing and pushing, GitHub will automatically publish otherwise to work with local builds run:

make

API

Pre-flight

You will require pre-installed:

  • m4
  • make
  • yq

Build

Generate the usable assets with:

make -C specification

Deployment

This is done through tagging your commit with prod and pushing, GitHub will pick this up, and kick off a deployment task.

First Time

Follow the instructions on About custom domains and GitHub Pages which mostly states you will need to create a DNS CNAME RR for docs.radnac.com. to point to corememltd.github.io..

About

Documentation Project for RADNAC

Resources

Stars

Watchers

Forks