code: public Map<XmLepResourceSubType, UrlLepResourceKey> getAvailableAtomicResourceKeys(
          UrlLepResourceKey compositeResourceKey,
          LepManagerService managerService) {
  
          // add '/' at start if not exists
          String compositePath = compositeResourceKey.getUrlResourcePath();
          if (!compositePath.startsWith(URL_DELIMITER)) {
              compositePath = URL_DELIMITER + compositePath;
          }
  
          // get all path without script file extension
          int extIndex = compositePath.lastIndexOf(XmLepConstants.SCRIPT_EXTENSION_SEPARATOR);
          if (extIndex <= 0) {
              throw new IllegalArgumentException(
                  "LEP resource name must ends with *.<extension>, actual value: "
                      + compositePath);
          }
          final String scriptBasePath = compositePath.substring(0, extIndex);
          final String extension = compositePath.substring(extIndex);
  
          String tenantKey = LepContextUtils.getTenantKey(managerService);
  
          Map<XmLepResourceSubType, UrlLepResourceKey> resourceKeyMap = new EnumMap<>(XmLepResourceSubType.class);
          for (XmLepResourceSubType type : XmLepResourceSubType.values()) {
              // build atomic key for script type
              String resourceUrlPath = URL_NET_PATH_DELIMITER + tenantKey + scriptBasePath +
                                       SCRIPT_NAME_SEPARATOR + type.getName() + extension;
              UrlLepResourceKey atomicKey = UrlLepResourceKey.valueOfUrlResourcePath(resourceUrlPath);
  
              // if resource for key exists add it to map
              if (managerService.getResourceService().isResourceExists(managerService, atomicKey)) {
                  resourceKeyMap.put(type, atomicKey);
              }
          }
  
          return resourceKeyMap;
      }
docs: lep://xm/com/icthh/lep/<script_name>$<entityType>$<state>$<script_type>.groovy