Use the version of print server that atlas services is using - so that there are less build configuration issues

This commit is contained in:
Dan Hawkins 2021-11-12 13:17:14 +00:00
commit ec0b7d77d8

View file

@ -890,6 +890,23 @@ class MetaInfo extends GISJsonSerialised {
MetaInfo getNewMetaObject(script) {
return new MetaInfo(script)
}
def findAssociatedMeta(String productname, String subcomponentname) {
def results = [
'matchedmeta' : getNewMetaObject(this),
'matchfound' : false
]
def results = allrelatedmeta()
for (dependentmeta in results.metacollection) {
if (dependentmeta.productinfo.productname == productname &&
dependentmeta.productinfo.subcomponentname == componentname) {
results.matchedmeta = dependentmeta
results.matchfound = true
break
}
}
return results
}
}
MetaInfo metareset(script) {