@janus-idp/backstage-plugin-jfrog-artifactory
Version:
The Jfrog Artifactory plugin displays information about your container images within the Jfrog Artifactory registry.
85 lines (60 loc) • 2.66 kB
Markdown
The Jfrog Artifactory plugin displays information about your container images within the Jfrog Artifactory registry.
1. Run the following command to install the Jfrog Artifactory plugin:
```console
yarn workspace app add @janus-idp/backstage-plugin-jfrog-artifactory
```
1. Set the proxy to the desired Artifactory server in the `app-config.yaml` file as follows:
```yaml title="app-config.yaml"
proxy:
endpoints:
'/jfrog-artifactory/api':
target: 'http://<hostname>:8082'
headers:
secure: true
```
1. Enable the **JFROG ARTIFACTORY** tab on the entity view page in `packages/app/src/components/catalog/EntityPage.tsx`:
```ts title="packages/app/src/components/catalog/EntityPage.tsx"
/* highlight-add-start */
import {
isJfrogArtifactoryAvailable,
JfrogArtifactoryPage,
} from '@janus-idp/backstage-plugin-jfrog-artifactory';
/* highlight-add-end */
const serviceEntityPage = (
<EntityLayout>
// ...
{/* highlight-add-start */}
<EntityLayout.Route
if={isJfrogArtifactoryAvailable}
path="/jfrog-artifactory"
title="Jfrog Artifactory"
>
<JfrogArtifactoryPage />
</EntityLayout.Route>
{/* highlight-add-end */}
</EntityLayout>
);
```
1. Annotate your entity with the following annotations:
```yaml title="catalog-info.yaml"
metadata:
annotations:
'jfrog-artifactory/image-name': '<IMAGE-NAME>'
```
Jfrog Artifactory is a front-end plugin that enables you to view the information about the container images that are available in your Jfrog Artifactory registry.
- Your Backstage application is installed and running.
- You have installed the Jfrog Artifactory plugin. For installation and configuration steps, see [Installation and configuration](
1. Open your Backstage application and select a component from the **Catalog** page.
1. Go to the **JFROG ARTIFACTORY** tab.

The **JFROG ARTIFACTORY** tab contains a list of container images and related information, such as **VERSION**, **REPOSITORIES**, **MANIFEST**, **MODIFIED**, and **SIZE**.