Skip to content

Commit

Permalink
Add license header and regen
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Jun 7, 2021
1 parent 08eb5ee commit 7422404
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,20 @@ spec:
from:
uri: kamelet:source
steps:
- set-property:
name: schema
constant: "{{schema}}"
- set-property:
name: validate
constant: "{{validate}}"
- unmarshal:
avro:
avro:
library: Jackson
unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode
schemaResolver: "#class:org.apache.camel.kamelets.utils.serialization.InflightAvroSchemaResolver"
- remove-property:
property-name: schema
- remove-property:
property-name: validate
- remove-header:
header-name: "Content-Type"
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,14 @@ spec:
name: validate
constant: "{{validate}}"
- marshal:
avro:
avro:
library: Jackson
unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode
schemaResolver: "#class:org.apache.camel.kamelets.utils.serialization.InflightAvroSchemaResolver"
- remove-property:
property-name: schema
- remove-property:
property-name: validate
- set-header:
name: "Content-Type"
constant: "application/avro"
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.camel.kamelets.utils.serialization;

import com.fasterxml.jackson.core.FormatSchema;
Expand Down

0 comments on commit 7422404

Please sign in to comment.