Difference between revisions of "Template: ArticleHelmRN"
From Genesys Documentation
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | This is the "ArticleHelmRN" template. | ||
+ | |||
+ | It should be called in the following format: | ||
+ | <pre> | ||
+ | {{ArticleHelmRN | ||
+ | |ServiceId= | ||
+ | |ComponentId= | ||
+ | |DeploymentTypeId= | ||
+ | }} | ||
+ | |||
+ | </pre> | ||
+ | Edit the page to see the template text. | ||
+ | |||
+ | {{#cargo_declare:_table=ArticleHelmRN | ||
+ | |ServiceId=String | ||
+ | |ComponentId=List (,) of String | ||
+ | |DeploymentTypeId=List (,) of String | ||
+ | }} | ||
+ | |||
+ | </noinclude> | ||
+ | <includeonly>{{#css: .MintyDocsTopicDesc {display:none} }}[[Category:ArticleHelmRN]]__TOC__ | ||
+ | __NOEDITSECTION__{{#cargo_store:_table=Article|Standalone={{{Standalone}}}|productshort={{#explode:{{FULLPAGENAME}}|/|0}}|DisplayName={{{DisplayName|}}}|Context={{{Context|}}}}}{{#cargo_store:_table=ArticleHelmRN | ||
+ | |ServiceId={{{ServiceId|}}} | ||
+ | |ComponentId={{{ComponentId|}}} | ||
+ | |DeploymentTypeId={{{DeploymentTypeId|}}} | ||
+ | }}<!-- Set MintyDocs topic, including a switch for different treatment for Manual pages -->{{#switch:{{{PageType|}}}|Manual=|#default={{#mintydocs_topic: | ||
+ | |display name={{{DisplayName|}}} | ||
+ | |toc name={{{TocName|}}} | ||
+ | }}}}<!-- Defining the EPPO Header; all parameters need to be passed to it -->{{EPPOHead|Role={{{Role|}}}|ComingSoon={{{ComingSoon|}}}|Dimension={{{Dimension|}}}|Context=Find lists of which containers were updated for each service release, and when. | ||
+ | |UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article}}<!--Defining the Prerequisite Head -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- Query for showing component list --> | ||
<includeonly>{{#cargo_query: | <includeonly>{{#cargo_query: | ||
tables=Issue,ComponentRN,ComponentRN__ComponentId,ComponentRN__DeploymentTypeId,Component | tables=Issue,ComponentRN,ComponentRN__ComponentId,ComponentRN__DeploymentTypeId,Component | ||
|join on=Issue._pageName=ComponentRN._pageName,ComponentRN._ID=ComponentRN__ComponentId._rowID,ComponentRN._ID=ComponentRN__DeploymentTypeId._rowID,ComponentRN.ComponentId HOLDS Component.Id | |join on=Issue._pageName=ComponentRN._pageName,ComponentRN._ID=ComponentRN__ComponentId._rowID,ComponentRN._ID=ComponentRN__DeploymentTypeId._rowID,ComponentRN.ComponentId HOLDS Component.Id | ||
− | |fields | + | |fields=Component.Name=Service,ComponentRN.ReleaseNumber=Release Number,PrivateEditionReleaseDate=Release Date,Containers=Updated Containers |
− | |format=template | + | <!--|format=template |
− | |template=HelmPrint | + | |template=HelmPrint--> |
− | |where=(ComponentRN__ComponentId._value IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | + | |where=(ComponentRN__ComponentId._value IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND PrivateEditionReleaseDate IS NOT NULL |
|named args=yes | |named args=yes | ||
|group by=ComponentRN._pageName | |group by=ComponentRN._pageName | ||
|order by=ComponentRN.ReleaseDate DESC | |order by=ComponentRN.ReleaseDate DESC | ||
}} | }} | ||
− | + | </includeonly> | |
− | </includeonly><noinclude>[[Category:RNAutomation]]</noinclude> | + | <!--|join on=ArticleHelmRN.ComponentId HOLDS Component.Id,ComponentRN.ComponentId__full=ArticleHelmRN.ComponentId__full,ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id |
+ | -->{{#css: | ||
+ | #mw-content-text .select2-container .select2-choice { height: 34px; line-height: normal; } | ||
+ | .panel-title { padding: 10px; } | ||
+ | .panel>.panel-heading { padding: 0 } | ||
+ | .toggle-wrap { margin: 20px 0 25px; } | ||
+ | .toggle-wrap>a{ display: block; padding: 10px; color: #333; background-color: #f5f5f5; border: 1px solid #ddd; border-top-left-radius: 3px; border-top-right-radius: 3px; } | ||
+ | .toggle-wrap>a:before { content: '\f0d7'; float: left; font-family: FontAwesome; margin-right: 10px; text-decoration: none; } | ||
+ | .toggle-content { padding: 10px 20px; border: 1px solid #ddd; border-top: none; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } | ||
+ | }} | ||
+ | |||
+ | {{{ArticleHelmRN|}}} | ||
+ | <!-- Removing the version dropdown for Standalone (version-less) pages -->{{#switch:{{{Standalone}}}|Yes={{#css: | ||
+ | button#version-dropdown { display: none; } | ||
+ | }}|#default=}}[[Category:Linkable]]<nowiki /></includeonly><noinclude>[[Category:RNAutomation]]</noinclude> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <noinclude>[[Category:RNAutomation]]</noinclude> |
Revision as of 00:59, June 29, 2021
This is the "ArticleHelmRN" template.
It should be called in the following format:
{{ArticleHelmRN |ServiceId= |ComponentId= |DeploymentTypeId= }}
Edit the page to see the template text.
This template defines the table "ArticleHelmRN". View table.</includeonly>