io.atlasmap.core.DefaultAtlasValidationService.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4-
? ?
? ? ?
? ?
? ? ? ?
? ? ) ? ? ? ? ? ? ~ ?
?
? ? ? ?
?
? ? ? ? ? ?
?
?
| ? ?
? )
)
&
0 ?
|'
|(
|)
|*
+, ?-.
8 ? /0
812
83
84 )5
|6
9: C
C=>?
E
FG LH
I LM
P ?N
PO
P
PP
QRS
X ?
|T
XU ?V ?W
XX ?Y
XZ
[\ ?] ?^ ?_ ?` ?ab ?c
gd
ef ?g ?h ?i ?j ?k ?l ?m Cn /op C5
qr
st uv uw ux uyz{| InnerClasses}
Validators ()V Code LineNumberTable LocalVariableTable this 0Lio/atlasmap/core/DefaultAtlasValidationService; validateMapping /(Lio/atlasmap/v2/AtlasMapping;)Ljava/util/List; ds Lio/atlasmap/v2/DataSource; mapping Lio/atlasmap/v2/AtlasMapping; validations Ljava/util/List; dataSources LocalVariableTypeTable -Ljava/util/List; -Ljava/util/List;
StackMapTable~ ? Signature L(Lio/atlasmap/v2/AtlasMapping;)Ljava/util/List; validateFieldMappings I(Lio/atlasmap/v2/Mappings;Lio/atlasmap/v2/LookupTables;Ljava/util/List;)V mapFieldMappings combineFieldMappings separateFieldMappings lookupFieldMappings usedIds Ljava/util/Set;
fieldMappings mappings Lio/atlasmap/v2/Mappings; lookupTables Lio/atlasmap/v2/LookupTables; *Ljava/util/List; #Ljava/util/Set; .Ljava/util/List; f(Lio/atlasmap/v2/Mappings;Lio/atlasmap/v2/LookupTables;Ljava/util/List;)V validateLookupTables O(Ljava/util/List;Lio/atlasmap/v2/LookupTables;Ljava/util/List;Ljava/util/Set;)V
validation Lio/atlasmap/v2/Validation; ?(Ljava/util/List;Lio/atlasmap/v2/LookupTables;Ljava/util/List;Ljava/util/Set;)V validateLookupFieldMapping
isInFieldList Z isInTableNameList disjoint mappingId Ljava/lang/String; fieldMapping Lio/atlasmap/v2/Mapping; lookupFieldMappingTableNameRefs
tableNames:S validateMapMapping 2(Ljava/util/List;Ljava/util/List;Ljava/util/Set;)V sourceFieldGroup Lio/atlasmap/v2/FieldGroup; sourceFields (Ljava/util/List;?z }(Ljava/util/List;Ljava/util/List;Ljava/util/Set;)V validateSeparateMapping field Lio/atlasmap/v2/Field;b validateCombineMapping validateMappingId 4(Ljava/lang/String;Ljava/util/Set;Ljava/util/List;)V id e(Ljava/lang/String;Ljava/util/Set;Ljava/util/List;)V #lambda$validateLookupFieldMapping$9 ;(Ljava/lang/Boolean;Ljava/lang/Boolean;)Ljava/lang/Boolean; a Ljava/lang/Boolean; b #lambda$validateLookupFieldMapping$8 '(Ljava/lang/String;)Ljava/lang/Boolean; t lambda$validateFieldMappings$7 6(Lio/atlasmap/v2/BaseMapping;)Lio/atlasmap/v2/Mapping; p Lio/atlasmap/v2/BaseMapping; lambda$validateFieldMappings$6 (Lio/atlasmap/v2/BaseMapping;)Z lambda$validateFieldMappings$5 lambda$validateFieldMappings$4 lambda$validateFieldMappings$3 lambda$validateFieldMappings$2 lambda$validateFieldMappings$1 lambda$validateFieldMappings$0
SourceFile "DefaultAtlasValidationService.java ? ? java/util/ArrayList??????????????~???? io/atlasmap/v2/DataSource??????????????? "java/lang/IllegalArgumentException Unknown DataSource type '%s' java/lang/Object?? ?????? ? ????????????????? BootstrapMethods??? ???????? ?????????? java/util/List?????? java/util/HashSet ? ? ? ? ? ? ? ?????? io/atlasmap/v2/Validation????? :LookupTables are defined but no LookupFields are utilized.?????? ? ?????
java/util/Set???????? ??? ?????
java/util/Map???? r??? java/lang/StringBuilder [One ore more LookupFieldMapping references a non existent LookupTable name in the mapping: ?????? :A LookupTable is defined but not used by any LookupField: io/atlasmap/v2/Mapping ? ?????????????????????????? io/atlasmap/v2/Field??????? ????????? #Duplicated mapping ID '%s' is found
.io/atlasmap/core/DefaultAtlasValidationService &io/atlasmap/api/AtlasValidationService 0io/atlasmap/core/DefaultAtlasValidationService$1 9io/atlasmap/core/DefaultAtlasValidationService$Validators java/util/Iterator java/lang/String io/atlasmap/v2/FieldGroup MAPPING_NAME ;Lio/atlasmap/core/DefaultAtlasValidationService$Validators; get "()Lio/atlasmap/spi/AtlasValidator; io/atlasmap/v2/AtlasMapping getName ()Ljava/lang/String; io/atlasmap/spi/AtlasValidator validate 7(Ljava/lang/Object;Ljava/util/List;Ljava/lang/String;)V
getDataSource ()Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; ($SwitchMap$io$atlasmap$v2$DataSourceType [I getDataSourceType !()Lio/atlasmap/v2/DataSourceType; io/atlasmap/v2/DataSourceType ordinal ()I DATASOURCE_SOURCE_URI getUri getId DATASOURCE_TARGET_URI format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/String;)V getMappings ()Lio/atlasmap/v2/Mappings; getLookupTables ()Lio/atlasmap/v2/LookupTables; MAPPINGS_NOT_NULL MAPPINGS_NOT_EMPTY io/atlasmap/v2/Mappings
getMapping io/atlasmap/v2/ValidationStatus WARN !Lio/atlasmap/v2/ValidationStatus; X(Ljava/lang/Object;Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/ValidationStatus;)V isEmpty stream ()Ljava/util/stream/Stream;
(Ljava/lang/Object;)Z
| test ()Ljava/util/function/Predicate; java/util/stream/Stream filter 9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream; &(Ljava/lang/Object;)Ljava/lang/Object;
| apply ()Ljava/util/function/Function; map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; java/util/stream/Collectors toList ()Ljava/util/stream/Collector; collect 0(Ljava/util/stream/Collector;)Ljava/lang/Object;
|
|
|
|
|
| io/atlasmap/v2/LookupTables getLookupTable $LOOKUPTABLE_NAME_CHECK_FOR_DUPLICATE io/atlasmap/v2/ValidationScope LOOKUP_TABLE Lio/atlasmap/v2/ValidationScope; setScope #(Lio/atlasmap/v2/ValidationScope;)V
setMessage setStatus $(Lio/atlasmap/v2/ValidationStatus;)V add
X ,(Lio/atlasmap/v2/Mapping;)Ljava/lang/String; toSet
? 0(Lio/atlasmap/v2/LookupTable;)Ljava/lang/String; concat M(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream; java/util/function/Function identity
|! 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|" %()Ljava/util/function/BinaryOperator; toMap {(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/BinaryOperator;)Ljava/util/stream/Collector; keySet ()Ljava/util/Set; getClass ()Ljava/lang/Class; (Ljava/lang/String;)Z /(Ljava/util/Set;)Ljava/util/function/Predicate; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ERROR
getInputField MAP_INPUT_FIELD_NOT_EMPTY MAP_OUTPUT_NOT_NULL getOutputField MAP_OUTPUT_FIELD_NOT_EMPTY getInputFieldGroup ()Lio/atlasmap/v2/FieldGroup; getField MAP_INPUT_NOT_NULL SEPARATE_INPUT_NOT_NULL SEPARATE_INPUT_FIELD_NOT_EMPTY SEPARATE_OUTPUT_NOT_NULL SEPARATE_OUTPUT_FIELD_NOT_EMPTY SEPARATE_OUTPUT_FIELD_NOT_NULL getIndex ()Ljava/lang/Integer; java/lang/Integer intValue 1SEPARATE_OUTPUT_FIELD_FIELD_ACTION_INDEX_POSITIVE COMBINE_OUTPUT_NOT_NULL COMBINE_OUTPUT_FIELD_NOT_EMPTY COMBINE_INPUT_NOT_NULL COMBINE_INPUT_FIELD_NOT_EMPTY COMBINE_INPUT_FIELD_NOT_NULL /COMBINE_INPUT_FIELD_FIELD_ACTION_INDEX_POSITIVE contains MAPPING java/lang/Boolean valueOf (Z)Ljava/lang/Boolean; io/atlasmap/v2/BaseMapping getMappingType ()Lio/atlasmap/v2/MappingType; io/atlasmap/v2/MappingType LOOKUP Lio/atlasmap/v2/MappingType; SEPARATE COMBINE MAP#$' ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?(?) ? ? ? ? "java/lang/invoke/LambdaMetafactory metafactory+ Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; getLookupTableName io/atlasmap/v2/LookupTable, %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! | } ? ? ? / *? ? ? 1 ? ? ? ? ? ? ? ?? Y? M? ? +? ,? +? N-? :?
? ?? ? :?
? ? .? N 5? ? ? ,? ? ? 5? ? ? ,? ? ? ? Y? Y? S? ? ???w*+? +? ,? ,? ? 6
? ? ? ? <