Connecting to the Default Templates Repository
You can connect to the default templates assets repository on GitHub to import the template assets into your local
Command Central installation. You can also import template assets from a flatfile image of the default template assets repository. Note that the default template assets repository on GitHub
sagdevops-templates-repo contains only a subset of the default templates included in the sagdevops-templates project. For details about the template assets available in sagdevops-templates-repo, see the project readme on GitHub.
To connect to the default template assets repository, go to the Repositories > Assets tab on the Command Central web user interface, click + and select "Connect to Software AG Templates Repository". In the Type field select one of the following:
Default templates on GitHub - Connect to the default template assets repository on GitHub.
Local templates ZIP file - Browse to the location on the file system of a zip archive file with the default template assets. For details about how to create the zip archive file, see the readme in the sagdevops-templates-repo project.
After you register the default template assets repository, Command Central imports the template assets from the repository into the local Command Central installation. You can view the list of imported templates and their template definitions in the Templates view of the Command Central web user interface.
Command Central also creates a layer type definition for all templates used in one of the layer type definitions in the
sag-cc-layer-defs template. If a template you have imported is not used in sag-cc-layers-defs, you can locate the template in the imported templates list (in the Templates view) and click the
Layer Definitions link in the information message to create a layer definition for the template. From the Stacks view, you can use the layer type definitions to create a run-time layer in an existing stack.
Command Central notifies you of changes in the default template assets repository on GitHub with an
icon next to the repository name on the Repositories > Assets page. If you click the
icon, Command Central will re-import the updated default template assets and overwrite the previously imported templates. If you edit a default template in your Command Central installation, save the template with a different alias and re-import it.