Beispiel #1
0
 protected Profile getProcessProfile(ProcessRequirements requirements, boolean includeController) {
   Container container = fabricService.getCurrentContainer();
   Profile processProfile =
       new ProfileOverlayImpl(
           new ProcessProfile(container, requirements, fabricService, includeController),
           true,
           fabricService.getDataStore(),
           fabricService.getEnvironment());
   return processProfile;
 }
Beispiel #2
0
 @Override
 public boolean isValidProvider() {
   // docker provider isn't valid in openshift/kubernetes environment
   FabricService service = getFabricService();
   if (service != null) {
     // lets disable child if in docker or openshift environments
     String environment = service.getEnvironment();
     if (Objects.equal(environment, "openshift") || Objects.equal(environment, "kubernetes")) {
       return false;
     }
   }
   return true;
 }