@@ -0,0 +1,911 @@
+package com.yahoo.vespa.hosted.controller.maintenance;%0A%0Aimport com.yahoo.vespa.hosted.controller.Controller;%0A%0Aimport java.time.Duration;%0Aimport java.util.logging.Level;%0Aimport java.util.logging.Logger;%0A%0Apublic class ApplicationMetaDataGarbageCollector extends ControllerMaintainer %7B%0A%0A    private static final Logger log = Logger.getLogger(ApplicationMetaDataGarbageCollector.class.getName());%0A%0A    public ApplicationMetaDataGarbageCollector(Controller controller) %7B%0A        super(controller, Duration.ofHours(12));%0A    %7D%0A%0A    @Override%0A    protected boolean maintain() %7B%0A        try %7B%0A            controller().applications().applicationStore().pruneMeta(controller().clock().instant().minus(Duration.ofDays(365)));%0A            return true;%0A        %7D%0A        catch (Exception e) %7B%0A            log.log(Level.WARNING, %22Exception pruning old application meta data%22, e);%0A            return false;%0A        %7D%0A    %7D%0A%0A%7D%0A

Add maintainer to do GC