Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for validator (0.29 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            if (!VALID_MODEL_VERSIONS.contains(superModelVersion)) {
                // Maven 3.x is always using 4.0.0 version to load the supermodel, so
                // do the same when loading a dependency.  The model validator will also
                // check that field later.
                superModelVersion = "4.0.0";
            }
            ModelData superData = new ModelData(null, getSuperModel(superModelVersion));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    func TestObjectAPIIsUploadIDExists(t *testing.T) {
    	ExecObjectLayerTest(t, testObjectAPIIsUploadIDExists)
    }
    
    // Tests validates the validator for existence of uploadID.
    func testObjectAPIIsUploadIDExists(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucket := "minio-bucket"
    	object := "minio-object"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  3. cmd/iam.go

    		return err
    	}
    
    	// We map keys that correspond to LDAP DNs and validate that they exist in
    	// the LDAP server.
    	var dnValidator func(*libldap.Conn, string) (string, bool, error) = sys.LDAPConfig.GetValidatedUserDN
    	if isGroup {
    		dnValidator = sys.LDAPConfig.GetValidatedGroupDN
    	}
    
    	// map of normalized DN keys to original keys.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/batch-handlers.go

    	}
    	return madmin.BatchJobType("unknown")
    }
    
    // Validate validates the current job, used by 'save()' before
    // persisting the job request
    func (j BatchJobRequest) Validate(ctx context.Context, o ObjectLayer) error {
    	switch {
    	case j.Replicate != nil:
    		return j.Replicate.Validate(ctx, j, o)
    	case j.KeyRotate != nil:
    		return j.KeyRotate.Validate(ctx, j, o)
    	case j.Expire != nil:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    	testCases := []struct {
    		name string
    		err  error
    	}{
    		// Validates input argument cannot be empty.
    		{
    			"",
    			errInvalidArgument,
    		},
    		// Validates if the directory does not exist and
    		// gets automatically created.
    		{
    			tmpDirName,
    			nil,
    		},
    		// Validates if the disk exists as file and returns error
    		// not a directory.
    		{
    			tmpFileName,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        /* MNG-4193 */
        @Test
        void testValidationErrorUponNonUniquePluginRepositoryId() throws Exception {
            assertThrows(
                    ProjectBuildingException.class,
                    () -> buildPom("unique-repo-id/plugin-repo"),
                    "Non-unique repository ids did not cause validation error");
        }
    
        /* MNG-4193 */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  7. fastapi/param_functions.py

                """
            ),
        ] = _Unset,
        # TODO: update when deprecating Pydantic v1, import these types
        # validation_alias: str | AliasPath | AliasChoices | None
        validation_alias: Annotated[
            Union[str, None],
            Doc(
                """
                'Whitelist' validation step. The parameter field will be the single one
                allowed by the alias or set of aliases defined.
                """
            ),
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  8. tests/test_application.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/testdata/configdump_diff.json

                                  "resource_api_version": "V3"
                                }
                              }
                            ],
                            "combined_validation_context": {
                              "default_validation_context": {
                                "match_typed_subject_alt_names": [
                                  {
                                    "san_type": "URI",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 51.6K bytes
    - Viewed (1)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            }
    
            if (request.getValidationLevel() >= ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_2_0) {
                Severity errOn31 = getSeverity(request, ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_3_1);
    
                validateBannedCharacters(
                        EMPTY, "version", problems, errOn31, Version.V20, m.getVersion(), null, m, ILLEGAL_VERSION_CHARS);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top