Skip to content
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

feat: add plugin install #142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

roleyfoley
Copy link
Contributor

Intent of Change

  • Documentation (new or update to existing)

Description

Adds an initial how-to guide for installing plugins into a CMDB

Motivation and Context

Makes it easier to understand how plugins work and what they can do

How Has This Been Tested?

Tested locally

Related Changes

Prerequisite PRs:

  • None

Dependent PRs:

  • None

Consumer Actions:

  • None

@roleyfoley roleyfoley requested a review from a team December 7, 2021 03:23
@vercel
Copy link

vercel bot commented Dec 7, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hamlet/hamlet-docs/7eFyW6jge9RhiGztkhTb8ceQR9GL
✅ Preview: https://hamlet-docs-git-add-plugin-install-guide-hamlet.vercel.app

@vercel vercel bot temporarily deployed to Preview December 7, 2021 03:26 Inactive
Copy link
Contributor

@ken9ross ken9ross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When looking at layers I don't get comparable results. I get

$ hamlet --account mswdev02 layer list-layers
| Name   | Id             | Type        | Active   |
|--------|----------------|-------------|----------|
| None   | alm            | Environment | None     |
| None   | shared         | Environment | None     |
| None   | dev            | Environment | None     |
| None   | alpha          | Environment | None     |
| None   | beta           | Environment | None     |
| None   | int            | Environment | None     |
| None   | aat            | Environment | None     |
| None   | uat            | Environment | None     |
| None   | system         | Environment | None     |
| None   | preprod        | Environment | None     |
| None   | stg            | Environment | None     |
| None   | prod           | Environment | None     |
| None   | trn            | Environment | None     |
| None   | ap-southeast-2 | Region      | None     |

This may be that I have the wrong context (as I found that unclear as to whether it was the segment context or the account context), so something else. I was using current unicycle 14 Dec)

@roleyfoley
Copy link
Contributor Author

Thanks @ken9ross Can you update to the latest unicycle release and see if it works?

I've just tested on the latest version and it seems to be working fine. I think some of the engine Pull requests hadn't caught up.

@ml019
Copy link
Contributor

ml019 commented Dec 22, 2021

@roleyfoley I got the correct results when in the segment directory. I also ran it in the root of the cmdb for a product (/cot/ormss) and got the following error

The following has evaluated to null or missing:
==> layerData.Id  [in template "shared/views/info/setup.ftl" at line 139, column 20]


In this case there won't be an environment or segment layer so maybe they are throwing the error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants