Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<plugin>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<version>0.5.1</version>
<version>1.2.2</version>
<dependencies>
<dependency>
<groupId>io.github.mulesoft-consulting</groupId>
Expand All @@ -67,7 +67,7 @@
<sourceDirectory>${basedir}/src/main/resources/schema</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
<targetPackage>org.mule.extension.jsonlogger.api.pojos</targetPackage>
<useCommonsLang3>true</useCommonsLang3>
<usePrimitives>true</usePrimitives>
</configuration>
<executions>
<execution>
Expand Down
5 changes: 1 addition & 4 deletions src/main/resources/schema/loggerConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"properties": {
"prettyPrint": {
"type": "boolean",
"javaType": "boolean",
"sdk": {
"summary": "Indicate if log entries should be formatted or single line",
"default": true,
Expand All @@ -52,7 +51,6 @@
},
"logLocationInfo": {
"type": "boolean",
"javaType": "boolean",
"sdk": {
"summary": "Indicate if location information should be logged",
"default": true,
Expand All @@ -62,7 +60,6 @@
},
"parseContentFieldsInJsonOutput": {
"type": "boolean",
"javaType": "boolean",
"sdk": {
"summary": "Indicate if Content fields should be parsed as part of the JSON logger output",
"default": true,
Expand Down Expand Up @@ -97,4 +94,4 @@
}
}
}
}
}
4 changes: 2 additions & 2 deletions src/main/resources/schema/loggerProcessor.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"content": {
"type": "string",
"javaType": "org.mule.runtime.extension.api.runtime.parameter.ParameterResolver<org.mule.runtime.api.metadata.TypedValue<java.io.InputStream>>",
"existingJavaType": "org.mule.runtime.extension.api.runtime.parameter.ParameterResolver<org.mule.runtime.api.metadata.TypedValue<java.io.InputStream>>",
"sdk": {
"default": "#[import modules::JSONLoggerModule output application/json ---\n{\n payload: JSONLoggerModule::stringifyNonJSON(payload) \n}]",
"summary": "NOTE: Writing the entire payload every time across your application can cause serious performance issues",
Expand Down Expand Up @@ -73,4 +73,4 @@
"note": "This field is mandatory. DON'T REMOVE"
}
}
}
}
2 changes: 1 addition & 1 deletion src/main/resources/schema/loggerScopeProcessor.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
}
}
}
}
}
Loading