Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for setregid (0.14 sec)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            final PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("file:///home/");
            pathMapping.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping);
    
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/bucket-notification-handlers.go

    	}
    
    	config, err := globalBucketMetadataSys.GetNotificationConfig(bucketName)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	region := globalSite.Region()
    	config.SetRegion(region)
    	if err = config.Validate(region, globalEventNotifier.targetList); err != nil {
    		arnErr, ok := err.(*event.ErrARNNotFound)
    		if ok {
    			for i, queue := range config.QueueList {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. cmd/event-notification.go

    func (evnot *EventNotifier) set(bucket string, meta BucketMetadata) {
    	config := meta.notificationConfig
    	if config == nil {
    		return
    	}
    	region := globalSite.Region()
    	config.SetRegion(region)
    	if err := config.Validate(region, globalEventNotifier.targetList); err != nil {
    		if _, ok := err.(*event.ErrARNNotFound); !ok {
    			internalLogIf(GlobalContext, err)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. internal/event/config_test.go

    		{queue2, "us-east-1", ARN{TargetID{"1", "webhook"}, "us-east-1"}},
    		{queue2, "", ARN{TargetID{"1", "webhook"}, ""}},
    	}
    
    	for i, testCase := range testCases {
    		testCase.queue.SetRegion(testCase.region)
    		result := testCase.queue.ARN
    
    		if !reflect.DeepEqual(result, testCase.expectedResult) {
    			t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  5. cmd/config-current_test.go

    		t.Fatalf("Init Test config failed")
    	}
    
    	if globalSite.Region() != globalMinioDefaultRegion {
    		t.Errorf("Expecting region `us-east-1` found %s", globalSite.Region())
    	}
    
    	// Set new region and verify.
    	config.SetRegion(globalServerConfig, "us-west-1")
    	site, err := config.LookupSite(
    		globalServerConfig[config.SiteSubSys][config.Default],
    		globalServerConfig[config.RegionSubSys][config.Default],
    	)
    	if err != nil {
    		t.Fatal(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            assertUrlLink("smb:/home/taro/%E3%81%82.txt", //
                    "file://home/taro/%E3%81%82.txt");
    
            PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("ftp:");
            pathMapping.setReplacement("file:");
            ComponentUtil.getPathMappingHelper().cachedPathMappingList.add(pathMapping);
            // ftp->file
            assertUrlLink("ftp:/home/taro/test.txt", //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. cmd/config-migrate.go

    		// V31 -> V32
    		cfg.Notify.NSQ = make(map[string]target.NSQArgs)
    		cfg.Notify.NSQ["1"] = target.NSQArgs{}
    	}
    
    	// Move to latest.
    	cfg.Version = "33"
    
    	newCfg := newServerConfig()
    
    	config.SetRegion(newCfg, cfg.Region)
    	storageclass.SetStorageClass(newCfg, cfg.StorageClass)
    
    	for k, loggerArgs := range cfg.Logger.HTTP {
    		logger.SetLoggerHTTP(newCfg, k, loggerArgs)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsPathMappingBhv.java

                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setProcessType(DfTypeUtil.toString(source.get("processType")));
                result.setRegex(DfTypeUtil.toString(source.get("regex")));
                result.setReplacement(DfTypeUtil.toString(source.get("replacement")));
                result.setSortOrder(DfTypeUtil.toInteger(source.get("sortOrder")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

            this.processType = value;
        }
    
        public String getRegex() {
            checkSpecifiedProperty("regex");
            return convertEmptyToNull(regex);
        }
    
        public void setRegex(String value) {
            registerModifiedProperty("regex");
            this.regex = value;
        }
    
        public String getReplacement() {
            checkSpecifiedProperty("replacement");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. cmd/handler-utils_test.go

    		// Test case - 4
    		// In case of invalid XML request body ErrMalformedXML is returned.
    		{malformedReq, globalMinioDefaultRegion, ErrMalformedXML},
    	}
    
    	for i, testCase := range testCases {
    		config.SetRegion(globalServerConfig, testCase.serverConfigRegion)
    		_, actualCode := parseLocationConstraint(testCase.request)
    		if testCase.expectedCode != actualCode {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top