Skip to content

Conversation

bjoson-mulesoft
Copy link
Contributor

No description provided.

@bjoson-mulesoft bjoson-mulesoft requested a review from a team as a code owner December 27, 2023 23:25
|Flag and Options|Result|Example
|The ruleset YAML using the `--files` flag with the `"ruleset.yaml"` option.
|This uploads the ruleset information included in the YAML file and ignores any other files detected in the same folder, such as the `exchange.json` file. You can use `--type=ruleset`. If you don't, the type is inferred from the `--files` flag `--ruleset.yaml` option.
|`--files='{"ruleset.yaml":"mynewruleset.yaml", "docs.zip": "ruleset.doc.zip"}'`
Copy link

Choose a reason for hiding this comment

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

should docs.zip be here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree as you've said that docs.zip is a feature provided by exchange for all assets. I was just trying to give examples of the things they can do vs. them needing to use the CLI reference to figure out what they need. I'll work with Jenny and Nanda to try and organize the examples and exchange.json reference content in appropriate/logical places in the doc.
I've made this PR a draft as a place to write and gather information for now. Stay tuned for more later on.
Thanks for your feedback!

[%header,cols="35a,65a"]
|===
|Property|Description
|main|The main file of your asset. Ensure that this matches the name of your ruleset when publishing a ruleset.
Copy link

Choose a reason for hiding this comment

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

what does "the name of your ruleset" mean? I could publish anypoint-best-practices and have the ruleset file called ruleset.yaml, and it would work fine.. should it state your ruleset file relative path?

|assetId|The Exchange asset ID assigned to the asset.
|version|The asset version.
|classifier|The asset type. Use the value `"ruleset"` when publishing a ruleset asset.
|dependencies| Rulesets can have fragments defined as dependencies.
Copy link

Choose a reason for hiding this comment

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

I would either not mention this or explain it more with an example...

|version|The asset version.
|classifier|The asset type. Use the value `"ruleset"` when publishing a ruleset asset.
|dependencies| Rulesets can have fragments defined as dependencies.
|tags| Tags for a ruleset asset's details in Exchange.
Copy link

Choose a reason for hiding this comment

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

this tags are not automatically applied to the asset :(

@bjoson-mulesoft bjoson-mulesoft marked this pull request as draft January 30, 2024 21:53
@bjoson-mulesoft
Copy link
Contributor Author

This is a working draft to figure out what information we need to document and get feedback. I'll move this to the doc-exchange and/or doc-anypoint-cli repo when we get closer to ready to publish.

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.

2 participants