Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Move document generation plugin from cloud_code_generator (#3)
Browse files Browse the repository at this point in the history
Move document generation plugin from cloud_code_generator

Signed-off-by: GomathiselviS [email protected]
SUMMARY


Addresses - https://issues.redhat.com/browse/ACA-818
ISSUE TYPE


Bugfix Pull Request
Docs Pull Request
Feature Pull Request
New Module Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Gonéri Le Bouder <[email protected]>
Reviewed-by: GomathiselviS <None>
  • Loading branch information
GomathiselviS authored Dec 20, 2022
1 parent dadeda1 commit 4b95756
Show file tree
Hide file tree
Showing 26 changed files with 3,554 additions and 21 deletions.
3 changes: 3 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ rules:
brackets:
max-spaces-inside: 1
level: error
document-start: disable
indentation: disable
line-length: disable
truthy: disable
2 changes: 2 additions & 0 deletions gouttelette.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
generator: "amazon_cloud_code_generator"
25 changes: 25 additions & 0 deletions gouttelette/cmd/content_library_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env python

content_library_static_ds = {
"{@term field}": "field",
"{@name Vcenter}": "vCenter",
"{@link LibraryModel}": "Library",
"{@term unset}": "not set",
"{@link StorageBacking}": "storage backing",
"{@name LibraryModel}": "Library",
"{@link PublishInfo}": "C(publish_info)",
"{@link PublishInfo#published}": "C(publish_info.published)",
"{@link SubscriptionInfo}": "C(subscription_info)",
"{@link SubscriptionInfo#automaticSyncEnabled}": "C(subscription_info.automaticSyncEnabled)",
"{@link SubscriptionInfo#subscriptionUrl}": "C(subscription_info.subscriptionurl)",
"{@link LibraryModel#name}": "C(Library name)",
"{@link StorageBacking#storageUri}": "C(storage_backings.storage_uri)",
"{@link PublishInfo#persistJsonEnabled}": "C(publish_info.persist_json_enabled)",
"{@link PublishInfo#publishUrl}": "C(publish_info.publish_url)",
"{@link ConfigurationModel#automaticSyncEnabled}": "C(configuration_model.automatic_sync_enabled)",
"{@link SubscribedLibrary#sync}": "M(vmware.vmware_rest.content_subscribedlibrary) with C(state=sync)",
"{@link SubscribedItem#sync}": "M(vmware.vmware_rest.content_library_item) with C(state=sync)",
"{@link SubscribedItem#evict}": "M(vmware.vmware_rest.content_library_item) with C(state=sync)",
"{@link ItemModel}": "item",
"{@link Processes#create}": "process",
}
Loading

0 comments on commit 4b95756

Please sign in to comment.