hunk.code_window:         children: [
             {
               label: "Host Address",
               configProperty: "datasourceConfiguration.endpoints[*].host",
               controlType: "KEYVALUE_ARRAY",
             },
             {
               label: "Port",
               configProperty: "datasourceConfiguration.endpoints[*].port",
               dataType: "NUMBER",
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit:             validationMessage: "Please enter a valid host",
               validationRegex: "^((?![/:]).)*$",
  
hunk.file_path: app/client/src/mockResponses/MongoConfigResponse.tsx
hunk.type: add
file: package com.appsmith.server.services;
  
  import com.appsmith.server.domains.Permission;
  import com.appsmith.server.repositories.PermissionRepository;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.data.mongodb.core.ReactiveMongoTemplate;
  import org.springframework.data.mongodb.core.convert.MongoConverter;
  import org.springframework.stereotype.Service;
  import reactor.core.scheduler.Scheduler;
  
  import javax.validation.Validator;
  
  @Service
  public class PermissionServiceImpl extends BaseService<PermissionRepository, Permission, String> implements PermissionService {
  
      private final PermissionRepository repository;
  
      @Autowired
      public PermissionServiceImpl(Scheduler scheduler,
                                   Validator validator,
                                   MongoConverter mongoConverter,
                                   ReactiveMongoTemplate reactiveMongoTemplate,
                                   PermissionRepository repository,
                                   AnalyticsService analyticsService) {
          super(scheduler, validator, mongoConverter, reactiveMongoTemplate, repository, analyticsService);
          this.repository = repository;
      }
  }
  