Skip to content

Instantly share code, notes, and snippets.

View phantomjinx's full-sized avatar
💥

Paul Richardson phantomjinx

💥
View GitHub Profile
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
labels:
app: syndesis
syndesis.io/app: syndesis
syndesis.io/type: infrastructure
syndesis.io/component: jaeger
name: syndesis-jaeger
spec:
@phantomjinx
phantomjinx / gist:8720195a3e7d4491d9e1667963b2b088
Created July 31, 2020 22:56
Build output syndesis meta using podman system service rather than docker
Modules: meta
==============================================================================
./mvnw -N --no-transfer-progress -Pflash -P image,image-push -Dfabric8.mode=kubernetes -Ddocker.push.registry=quay.io/phantomjinx/syndesis-meta -DmavenMirror=http://my.maven.mirror:8081/repository/maven-public clean install -Pflash ### Installing parent
==============================================================================
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
[INFO] BuildTimeEventSpy is registered.
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< io.syndesis:syndesis-parent >---------------------
[INFO] Building Syndesis 2.0-SNAPSHOT
[INFO] --- maven-failsafe-plugin:3.0.0-M3:integration-test (integration-tests) @ integration-test ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.syndesis.test.itest.sheets.DBSplitToSheets_IT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.668 s - in io.syndesis.test.itest.sheets.DBSplitToSheets_IT
[INFO] Running io.syndesis.test.itest.apiprovider.TodoOpenApiV3_IT
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
apiVersion: v1
kind: Secret
metadata:
name: syndesis-oauth-credentials
namespace: syndesis
type: Opaque
stringData:
OAUTH2_PROXY_PROVIDER: keycloak
OAUTH2_PROXY_CLIENT_ID: syndesis
OAUTH2_PROXY_CLIENT_SECRET: 8d8dfe12-e252-4741-8fa2-27888d0bde4d
@phantomjinx
phantomjinx / gist:56be6e81b3dfd899d945f04f2a59241d
Created June 1, 2020 17:20
Debug log of crc 1.9.0 failing to start
WARN A new version (1.10.0) has been published on https://cloud.redhat.com/openshift/install/crc/installer-provisioned
INFO Checking if oc binary is cached
DEBU oc binary already cached
INFO Checking if podman remote binary is cached
DEBU podman remote binary already cached
INFO Checking if running as non-root
INFO Checking if Virtualization is enabled
DEBU Checking if the vmx/svm flags are present in /proc/cpuinfo
DEBU CPU virtualization flags are good
INFO Checking if KVM is enabled
@phantomjinx
phantomjinx / syndesis-new-app
Created March 25, 2020 18:20
Executable script for applying the fuse-online-template.yml
#!/bin/bash
#
# Execute from the main directory of the fuse-online-install repository
# Necessary to find the templates/ directory
#
ROUTE_HOSTNAME=<FILL IN PREFERRED HOSTNAME HERE>
FUSE_NAMESPACE=fuse-ignite
IGNITE=fuse-ignite-1.9
--
-- PostgreSQL database dump
--
-- Dumped from database version 12.2
-- Dumped by pg_dump version 12.1
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
@phantomjinx
phantomjinx / gist:0c24a803e22b4008b5e504aa30caccee
Created November 26, 2019 11:37
syndesis server pod error
2019-11-26 11:28:19.002 ERROR [-,,,] 1 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'supportUtil' defined in URL [jar:file:/deployments/runtime.jar!/BOOT-INF/lib/server-endpoint-1.9-SNAPSHOT.jar!/io/syndesis/server/endpoint/v1/handler/support/SupportUtil.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.syndesis.server.endpoint.v1.handler.support.SupportUtil]: No default constructor found; nested exception is java.lang.NoSuchMethodException: io.syndesis.server.endpoint.v1.handler.support.SupportUtil.<init>()
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1160) ~[spring-beans-4.3.19.RELEASE.jar!/:4.3.19.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
@phantomjinx
phantomjinx / gist:bc9b18970d1d4e353d9375ffedf69448
Created November 26, 2019 11:37
syndesis server pod error
2019-11-26 11:28:19.002 ERROR [-,,,] 1 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'supportUtil' defined in URL [jar:file:/deployments/runtime.jar!/BOOT-INF/lib/server-endpoint-1.9-SNAPSHOT.jar!/io/syndesis/server/endpoint/v1/handler/support/SupportUtil.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.syndesis.server.endpoint.v1.handler.support.SupportUtil]: No default constructor found; nested exception is java.lang.NoSuchMethodException: io.syndesis.server.endpoint.v1.handler.support.SupportUtil.<init>()
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1160) ~[spring-beans-4.3.19.RELEASE.jar!/:4.3.19.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
@phantomjinx
phantomjinx / syn-new-app
Created November 6, 2019 12:20
Bash script for executing install of legacy fuse-online-install template
#!/bin/bash
IGNITE=fuse-ignite-1.8
REDHAT_REGISTRY=registry.redhat.io
#REDHAT_REGISTRY=docker.io
if [ -n "$1" ]; then
if [ -f "$1" ]; then
IGNITE="$1"
else