class AsicContainerNameGenerator {

    public String createFilenameWithRandom(String queryId, String queryType) {
        String processedQueryId = AsicUtils.truncate(AsicUtils.escapeString(queryId), MAX_QUERY_LENGTH);
        return String.format("%s-%s", processedQueryId, queryType) + String.format("-%s.asice", randomGenerator.get());
    }

}