Difference between revisions of "Template: GetContainers"

From Genesys Documentation
Jump to: navigation, search
Line 17: Line 17:
 
</td>
 
</td>
 
<td>
 
<td>
[{{server}}/{{#cargo_query:
+
{{#cargo_query:
tables=ArticleCloudRN
+
tables=ArticleCloudRN__ComponentId,ArticleCloudRN,Component,ComponentRN__ComponentId,ComponentRN,DeploymentType
|fields=_pageName
+
|join on=ArticleCloudRN__ComponentId._value=Component.Id,ArticleCloudRN__ComponentId._rowID=ArticleCloudRN._ID,ArticleCloudRN__ComponentId._value = ComponentRN__ComponentId._value,ComponentRN__ComponentId._rowID=ComponentRN._ID,ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id
|where=ArticleCloudRN.ComponentId HOLDS '{{{ComponentId|}}}' AND _pageNamespace="0"
+
|fields=CONCAT('[[',ArticleCloudRN._pageName,'#',DATE_FORMAT(MAX(ReleaseDate),'%M %d, %Y'),'|',DATE_FORMAT(MAX(PrivateEditionReleaseDate),'%M %d, %Y'),']]')
}} {{#cargo_query:
+
|where=ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND ArticleCloudRN._pageNamespace="{{NAMESPACENUMBER}}" AND ArticleCloudRN._pageName LIKE "%{{#explode:{{FULLPAGENAME}}|/|2}}%" AND PrivateEditionReleaseDate IS NOT NULL
tables=ComponentRN
+
|group by=ComponentRN.ComponentId
|fields=DATE_FORMAT(PrivateEditionReleaseDate,'%M %d, %Y')
+
}}
|where=ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="0"
 
}}]
 
 
</td>
 
</td>
 
<td>
 
<td>

Revision as of 00:01, April 12, 2022

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `cargo__Component`.`Name` AS `Name` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE ComponentId HOLDS AND PrivateEditionReleaseDate="" AND `cargo__ComponentRN`.`_pageNamespace`="0" GROUP BY `Name` ORDER BY `cargo__Component`.`Name` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) WHERE ComponentId HOLDS AND PrivateEditionR' at line 1 (127.0.0.1)

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT MAX(ReleaseNumber) FROM `cargo__ComponentRN` WHERE ComponentId HOLDS AND PrivateEditionReleaseDate="" AND `cargo__ComponentRN`.`_pageNamespace`="0" ORDER BY MAX(ReleaseNumber) LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS AND PrivateEditionReleaseDate="" AND `cargo__ComponentRN`.`_pageNamespa' at line 1 (127.0.0.1)

No results

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `cargo__RNElements`.`Filename` AS `Filename` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) LEFT OUTER JOIN `cargo__RNElements` ON ((`cargo__Component`.`IpName`=`cargo__RNElements`.`IpName`)) WHERE `cargo__ComponentRN`.`ComponentId` HOLDS AND PrivateEditionReleaseDate="" AND Type="helm" AND `cargo__ComponentRN`.`_pageNamespace`="0" GROUP BY `cargo__RNElements`.`Version`,`cargo__RNElements`.`Filename` HAVING MAX(`cargo__ComponentRN`.`ReleaseNumber`)=`cargo__RNElements`.`Version` ORDER BY `cargo__RNElements`.`Filename` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) LEFT OUTER JOIN `cargo__RNElements` ON ((`cargo_' at line 1 (127.0.0.1)

Retrieved from "https://all.docs.genesys.com/Template:GetContainers (2025-06-19 13:31:12)"