private String getArtifactPath(RBGGovernanceArtifact ga) {
   GovernanceArtifactConfiguration cf =
       registryFactory.getConfigForArtifactType(ga.getRegistryType());
   String path = cf.getPathExpression();
   path = path.replace("@{" + cf.getArtifactNameAttribute() + "}", ga.getName());
   // TODO: extract hardcoded details_version attribute-name
   path = path.replace("@{details_version}", ga.getVersion());
   if (ga.getApplCode() != null) {
     path = path.replace("@{details_application}", ga.getApplCode());
   }
   if (ga instanceof Infrastructure && ((Infrastructure) ga).getComponentnumber() != null) {
     path = path.replace("@{details_componentnumber}", ((Infrastructure) ga).getComponentnumber());
   }
   return path;
 }