This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:camel="http://camel.apache.org/schema/spring" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> | |
<!-- Define a traditional camel context here --> | |
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> | |
<propertyPlaceholder id="properties" location="route.properties"/> | |
<!-- EXCLUDE-BEGIN --> | |
<endpoint id="csv2json" uri="dozer:csv2json2?sourceModel=org.acme.Customer&targetModel=org.globex.Account&marshalId=json&unmarshalId=csv&mappingFile=transformation.xml"/> | |
<!-- CSV Input & JSon OutPut DataFormat --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
annotations: | |
deployment.kubernetes.io/revision: '1' | |
creationTimestamp: '2019-09-05T12:06:28Z' | |
generation: 1 | |
name: tutorial-web-app-operator | |
namespace: webapp | |
resourceVersion: '15621' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.fuse.usecase; | |
import com.fasterxml.jackson.core.JsonProcessingException; | |
import com.fasterxml.jackson.databind.DeserializationFeature; | |
import com.fasterxml.jackson.databind.JsonNode; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import org.apache.camel.EndpointInject; | |
import org.apache.camel.Produce; | |
import org.apache.camel.ProducerTemplate; | |
import org.apache.camel.builder.RouteBuilder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Copyright 2014-2017, Red Hat, Inc. and/or its affiliates, and individual | |
contributors by the @authors tag. | |
Licensed 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:camel="http://camel.apache.org/schema/spring" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> | |
<!-- Define a traditional camel context here --> | |
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> | |
<propertyPlaceholder id="properties" location="route.properties"/> | |
<!-- EXCLUDE-BEGIN --> | |
<endpoint id="csv2json" uri="dozer:csv2json2?sourceModel=org.acme.Customer&targetModel=org.globex.Account&marshalId=json&unmarshalId=csv&mappingFile=transformation.xml"/> | |
<!-- CSV Input & JSon OutPut DataFormat --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.redhat.gpte.training</groupId> | |
<artifactId>rest-cxfrs-service</artifactId> | |
<version>1.0.0</version> | |
<name>Fabric8 :: Quickstarts :: Spring-Boot :: CXF JAXRS</name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spec: | |
limits: | |
- default: | |
cpu: 500m | |
memory: 1536Mi | |
defaultRequest: | |
cpu: 50m | |
memory: 256Mi | |
max: | |
cpu: "2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:camel="http://camel.apache.org/schema/spring" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> | |
<!-- Define a traditional camel context here --> | |
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> | |
<propertyPlaceholder id="properties" location="route.properties"/> | |
<!-- EXCLUDE-BEGIN --> | |
<endpoint id="csv2json" uri="dozer:csv2json2?sourceModel=org.acme.Customer&targetModel=org.globex.Account&marshalId=json&unmarshalId=csv&mappingFile=transformation.xml"/> | |
<!-- CSV Input & JSon OutPut DataFormat --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"GUID": "4a3c", | |
"USERNAME": "user1", | |
"user_info_messages": [ | |
"user.info: ", | |
"user.info: API Lifecycle - A CICD Approach to OpenBanking APIs", | |
"user.info: ", | |
"user.info: OpenShift Console: https://console-openshift-console.apps.cluster-4a3c.4a3c.example.opentlc.com", | |
"user.info: OpenShift credentials for attendees: user1 / openshift", | |
"user.info: ", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Environment variables | |
export SM_CP_NS= # Service Mesh Control Plane Namespace | |
export BOOKINFO_NS= # BookInfo Application Namespace | |
export API_MANAGER_NS= # 3scale API Manager Namespace | |
export API_TENANT_USERNAME= # API tenant login username | |
export API_TENANT_PASSWORD=admin # API tenant login password | |
export API_ADMIN_ACCESS_TOKEN= # API Admin Access Token | |
export OCP_USERNAME= # OpenShift login username | |
export OCP_PASSWORD=r3dh4t1! # OpenShift login password | |
export OCP_MASTER_URL= # OpenShift master console URL |
OlderNewer