Difference between revisions of "User: Bgrenon/2"
Line 1: | Line 1: | ||
+ | {{NoteFormat|Content on this page is reserved for development and testing only; any content below should not be considered final or accurate for the purposes of Genesys Documentation.|3}} | ||
+ | |||
+ | <!-- finding all containers--> | ||
+ | <tabber> | ||
+ | Last 7 days= | ||
{{#cargo_query: | {{#cargo_query: | ||
− | tables= | + | tables=ComponentRN,Component |
− | |fields= | + | |join on=ComponentRN.ComponentId HOLDS Component.Id |
− | |where= | + | |fields=ComponentRN.ComponentId |
+ | |group by=ComponentRN.ComponentId | ||
+ | |format=template | ||
+ | |template=GetMaxReleaseDate | ||
+ | |named args=yes | ||
+ | |order by=Component.Name | ||
+ | |intro=<table class="wikitable sortable"><tr><th>Service</th><th>Release</th><th>Released On</th><th>Helm</th><th>Containers</th></tr> | ||
+ | |outro=</table> | ||
+ | |where=ReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0" AND DATEDIFF(ReleaseDate,NOW()) >= -7 | ||
}} | }} | ||
− | + | |-| | |
+ | Last 30 days= | ||
{{#cargo_query: | {{#cargo_query: | ||
− | tables= | + | tables=ComponentRN,Component |
− | |fields= | + | |join on=ComponentRN.ComponentId HOLDS Component.Id |
− | |where= | + | |fields=ComponentRN.ComponentId |
+ | |group by=ComponentRN.ComponentId | ||
+ | |format=template | ||
+ | |template=GetMaxReleaseDate | ||
+ | |named args=yes | ||
+ | |order by=Component.Name | ||
+ | |intro=<table class="wikitable sortable"><tr><th>Service</th><th>Release</th><th>Released On</th><th>Helm</th><th>Containers</th></tr> | ||
+ | |outro=</table> | ||
+ | |where=ReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0" AND DATEDIFF(ReleaseDate,NOW()) >= -30 | ||
}} | }} | ||
− | + | |-| | |
+ | Latest helm and containers= | ||
{{#cargo_query: | {{#cargo_query: | ||
− | tables=ComponentRN | + | tables=ComponentRN,Component |
− | |fields= | + | |join on=ComponentRN.ComponentId HOLDS Component.Id |
− | |where= | + | |fields=ComponentRN.ComponentId |
+ | |group by=ComponentRN.ComponentId | ||
+ | |format=template | ||
+ | |template=GetMaxReleaseDate | ||
+ | |named args=yes | ||
+ | |order by=Component.Name | ||
+ | |intro=<table class="wikitable sortable"><tr><th>Service</th><th>Release</th><th>Released On</th><th>Helm</th><th>Containers</th></tr> | ||
+ | |outro=</table> | ||
+ | |where=ReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0" | ||
}} | }} | ||
− | + | </tabber> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 17:27, April 28, 2022
Query: SELECT `cargo__ComponentRN`.`ComponentId` AS `ComponentId` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE ReleaseDate IS NOT NULL AND `cargo__ComponentRN`.`_pageNamespace`="0" AND DATEDIFF(ReleaseDate,NOW()) >= -7 GROUP BY `cargo__ComponentRN`.`ComponentId` 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 ReleaseDate IS NOT NULL AND `cargo__Comp' at line 1 (127.0.0.1)
Query: SELECT `cargo__ComponentRN`.`ComponentId` AS `ComponentId` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE ReleaseDate IS NOT NULL AND `cargo__ComponentRN`.`_pageNamespace`="0" AND DATEDIFF(ReleaseDate,NOW()) >= -30 GROUP BY `cargo__ComponentRN`.`ComponentId` 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 ReleaseDate IS NOT NULL AND `cargo__Comp' at line 1 (127.0.0.1)
Query: SELECT `cargo__ComponentRN`.`ComponentId` AS `ComponentId` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE ReleaseDate IS NOT NULL AND `cargo__ComponentRN`.`_pageNamespace`="0" GROUP BY `cargo__ComponentRN`.`ComponentId` 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 ReleaseDate IS NOT NULL AND `cargo__Comp' at line 1 (127.0.0.1)