-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HACDOCS-975: Adding JFrog Artifactory plugin content #714
base: main
Are you sure you want to change the base?
HACDOCS-975: Adding JFrog Artifactory plugin content #714
Conversation
Updated preview: https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/pr-714/ @ 01/06/25 20:27:25 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
New changes are detected. LGTM label has been removed. |
@Gerry-Forde Thank you for looking at this PR and providing labels. We've discussed things with Karthik, this PR is waiting for a QE review now (but I can't tag Jan Richter here). |
@Gerry-Forde I have a couple of questions to you, when you have time, please. Enabling VS Installing in the title IDs -readmes Thank you in advance. |
artifacts/rhdh-plugins-reference/jfrog-artifactory/jfrog-artifactory-plugin-admin.adoc
Outdated
Show resolved
Hide resolved
. Enable the *Image Registry* tab on the entity view page in `packages/app/src/components/catalog/EntityPage.tsx`: | ||
+ | ||
[source,yaml] | ||
---- | ||
/* 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="/image-registry" | ||
title="Image Registry" | ||
> | ||
<JfrogArtifactoryPage /> | ||
</EntityLayout.Route> | ||
{/* highlight-add-end */} | ||
</EntityLayout> | ||
); | ||
---- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we talking about a production RHDH instance here? There should be no need for editing the source files.
In any case the source here is not a yaml
file, it is tsx
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jrichter1 I think it's about a production instance, yes. And the plugin is tech preview, does it change anything?
Maybe @karthikjeeyar could share some details? Do app-config.yaml
and packages/app/src/components/catalog/EntityPage.tsx
need changes for the Artifactory plugin to work with DH?
Thanks!
@missmesss IDs We should have IDs at the beginning of each document. Some of the content you see was originally sourced upstream and may use the anchor ([[]]) syntax for IDs. My preference is to use the the longhand (id=) syntax. -readmes Again these are a legacy of sourcing upstream content, we do not use them in the RHDH docs and are only present for reference purposes (in fact, to avoid confusion,we should remove them once we have published content). |
@jrichter1 and @Gerry-Forde Thank you so much for the feedback, I've added everything. |
@missmesss Please rebase this PR |
88dd635
to
5b6d099
Compare
@karthikjeeyar @jrichter1 I hope we all enjoyed the holidays and the break and can now resolve the 1 remaining question remaining and close this PR :) As per Jan's comment above, the source files don't need any changes if we're talking about the production RHDH instance. Thanks! |
secure: true | ||
---- | ||
|
||
. Enable the *Image Registry* tab on the entity view page in `packages/app/src/components/catalog/EntityPage.tsx`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@missmesss As referred to by @jrichter1, I don't believe this section is required in the RHDH documentation and should be removed.
After some discussion it was decided that this content belongs to the RHDH docs (Plugins docs), not the RHTAP docs that I work on.
The PR contains 2 files:
artifacts/rhdh-plugins-reference/jfrog-artifactory/jfrog-artifactory-plugin-admin.adoc
is added to the Configuring dynamic plugins titleartifacts/rhdh-plugins-reference/jfrog-artifactory/jfrog-artifactory-plugin-user.adoc
is added to the Using dynamic plugins titleVersion(s): 1.3
Issue: HACDOCS-975