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
kstam@kurts-MacBook-Pro syndesis % curl -X POST -H "Content-Type: application/json" --data '{"first_name":"kurt","company":"redhat","mail":"kurt@cnn.com"}' http://localhost:34573/webhook/contact -v | |
Note: Unnecessary use of -X or --request, POST is already inferred. | |
* Trying ::1... | |
* TCP_NODELAY set | |
* Connected to localhost (::1) port 34573 (#0) | |
> POST /webhook/contact HTTP/1.1 | |
> Host: localhost:34573 | |
> User-Agent: curl/7.64.1 | |
> Accept: */* | |
> Content-Type: application/json |
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
kstam@map integration-test % mvn verify -Dskip.integration.tests=false | |
[INFO] BuildTimeEventSpy is registered. | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] -----------------< io.syndesis.test:integration-test >------------------ | |
[INFO] Building Test :: Integration Test 2.0-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- property-helper-maven-plugin:2.0:get (basepom.default) @ integration-test --- | |
[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
[INFO] ------------------------------------------------------- | |
[INFO] T E S T S | |
[INFO] ------------------------------------------------------- | |
[INFO] Running io.syndesis.test.itest.ftp.FtpToDB_IT | |
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.67 s - in io.syndesis.test.itest.ftp.FtpToDB_IT | |
[INFO] Running io.syndesis.test.itest.amq.AMQToHttp_IT | |
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.912 s - in io.syndesis.test.itest.amq.AMQToHttp_IT | |
[INFO] Running io.syndesis.test.itest.mail.SendMail_IT | |
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.867 s - in io.syndesis.test.itest.mail.SendMail_IT | |
[INFO] Running io.syndesis.test.itest.apiprovider.TodoApi_IT |
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
oc login -u developer -p developer | |
oc new-project syndesis | |
cd install/operator | |
./build.sh --operator-build go | |
cp dist/linux-amd64/syndesis-operator ~/.syndesis/bin/ | |
oc login -u system:admin | |
./dist/linux-amd64/syndesis-operator install cluster | |
./dist/linux-amd64/syndesis-operator grant --user developer | |
oc login -u developer -p developer | |
./dist/linux-amd64/syndesis-operator install operator --dev |
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
oc get syndesis -o yaml | |
apiVersion: v1 | |
items: | |
- apiVersion: syndesis.io/v1beta1 | |
kind: Syndesis | |
metadata: | |
annotations: | |
syndesis.io/applicationUrl: https://syndesis-syndesis.192.168.42.29.nip.io | |
creationTimestamp: 2020-04-01T09:04:18Z | |
generation: 1 |
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
oc get crd syndesises.syndesis.io -o yaml | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
creationTimestamp: 2020-03-27T09:29:05Z | |
generation: 1 | |
labels: | |
app: syndesis | |
name: syndesises.syndesis.io | |
resourceVersion: "2409" |
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
# Please edit the object below. Lines beginning with a '#' will be ignored, | |
# and an empty file will abort the edit. If an error occurs while saving this file will be | |
# reopened with the relevant failures. | |
# | |
apiVersion: image.openshift.io/v1 | |
kind: ImageStream | |
metadata: | |
creationTimestamp: 2020-03-27T09:36:47Z | |
generation: 1 | |
name: syndesis-server |
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
oc get pods | |
NAME READY STATUS RESTARTS AGE | |
syndesis-dv-s2i-1-build 0/1 Completed 0 34m | |
syndesis-dv-s2i-2-build 0/1 Completed 0 4m | |
syndesis-meta-s2i-1-build 0/1 Completed 0 51m | |
syndesis-meta-s2i-2-build 0/1 Completed 0 15m | |
syndesis-s2i-s2i-1-build 0/1 Completed 0 45m | |
syndesis-s2i-s2i-2-build 0/1 Completed 0 11m | |
syndesis-server-s2i-1-build 0/1 Completed 0 48m | |
syndesis-server-s2i-2-build 0/1 Completed 0 13m |
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
2020-03-26 12:07:20.724 INFO 73747 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3798 ms | |
2020-03-26 12:07:21.219 INFO 73747 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... | |
2020-03-26 12:07:22.410 ERROR 73747 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization. | |
org.postgresql.util.PSQLException: FATAL: database "syndesis" does not exist | |
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2505) ~[postgresql-42.2.9.jar:42.2.9] | |
at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2617) ~[postgresql-42.2.9.jar:42.2.9] | |
at org.postgresql.core.v3.QueryExecutorImpl.<init>(QueryExecutorImpl.java:135) ~[postgresql-42.2.9.jar:42.2.9] | |
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:250) ~[postgresql-42.2.9.jar:42.2.9] | |
a |
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
oc logs -f i-task-18-build | |
Using docker.io/syndesis/syndesis-s2i@sha256:667ee2c4474db1f330a3c45bb1a54bbff39c8c59bb73757cb2f92db2027208a2 as the s2i builder image | |
Preparing to build temp.builder.openshift.io/myproject/i-task-18:4140834b | |
Copying sources from "/tmp/build/inputs" to "/tmp/upload/src" | |
Clean build will be performed | |
Running "assemble" in "temp.builder.openshift.io/myproject/i-task-18:4140834b" | |
================================================================== | |
Starting S2I Java Build ..... | |
S2I source build for Maven detected | |
Using MAVEN_OPTS '-XX:+UseG1GC -XX:+UseStringDeduplication -Xmx310m' |