Skip to content

Instantly share code, notes, and snippets.

/*
* Generated file petstore/v1.a1/defaultapi/defaultapi_model.go. Product version: 1.0.0-SNAPSHOT
*
* Part of the Petstore API project
*
* (c) 2020 Nutanix Inc. All rights reserved
*
*/
package defaultapi
import (
diff --git a/vulcan/api-generation/action-rules/action-rules-api-codegen/action-rules-java-dto-defin
itions/pom.xml b/vulcan/api-generation/action-rules/action-rules-api-codegen/action-rules-java-dto-d
efinitions/pom.xml
index 9e81aa30832..d91bd28b325 100644
--- a/vulcan/api-generation/action-rules/action-rules-api-codegen/action-rules-java-dto-definitions/
pom.xml
+++ b/vulcan/api-generation/action-rules/action-rules-api-codegen/action-rules-java-dto-definitions/
pom.xml
@@ -28,6 +28,16 @@
<artifactId>jackson-databind</artifactId>
[SdkdInfo]Starting Controller
[SdkdDebug]Starting new worker
[SdkdDebug]Reading 78 bytes from control socket
[SdkdDebug]Got message INFO
[SdkdDebug]Failed getting version info of sdk exit status 1
[SdkdDebug]Successfully wrote {"Command":"INFO","ReqID":0,"ResponseData":{"CAPS":{"DS_SHARED":false,"CANCEL":false,"CONTINUOUS":false,"PREAMBLE":false,"VIEWS":false},"CONFIG":{},"HEADERS":{"SDK":"gocbcore"},"TIME":0,"RUNTIME":{"SDK":""},"SDK":"gocbcore","CHANGESET":""},"Handle":0,"Status":0}
[SdkdDebug]Starting new worker
[SdkdInfo]Reading 267 bytes from worker socket
[SdkdDebug]{"Command":"NEWHANDLE","ReqID":1,"CommandData":{"Options":{"OtherNodes":[["172.23.121.43",8091],["172.23.120.203",8091]],"Username":"default","ClusterCertificate":"","SSL":false,"Password":""},"Bucket":"default","Port":8091,"Hostname":"172.23.122.202"},"Handle":101}
package main
import (
"github.com/couchbase/gocb"
"fmt"
"github.com/couchbase/gocb/cbft"
)
type User struct {
Id string `json:"uid"`
jsonDec:&{%!s(*http.bodyEOFSignal=&{0xc420692cc0 {0 0} false 0xc420074020 <nil> 0x18f7e0}) {"total_rows":249,"rows":[
{"id":"ViewFillerSeedrep103","key":["ViewFillerSeedrep103","meh",40,"mehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmeh"],"value":null},
{"id":"ViewFillerSeedrep106","key":["ViewFillerSeedrep106","meh",40,"mehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmeh"],"value":null},
{"id":"ViewFillerSeedrep109","key":["ViewFillerSeedrep109","meh",40,"mehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmeh"],"value":null},
{"id":"ViewFillerSeedrep110","key":["ViewFillerSeedrep110","meh",40,"mehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmehmeh"],"value":null},
{"id":"ViewFillerSeedrep115","key":["ViewFillerSeedrep115","meh",40,"mehmehmeh
============================================================
Running Spock-HYBRID
rebalance/count=2
workload=HybridWorkloadGroup
testcase=UpgradeScenario
Logging to /Users/jaekwon.park/work/src/github.com/couchbaselabs/sdkdclient-ng/log/SDK-SDK/CB-4.6.2-xxxx/Spock-HYBRID/09-27-17/058290/8e605d390db32f38cab894fbefce3633
To re-run the test, copy/paste the following into the shell.
You may also copy/paste (except the first line) into an argfile
8<----------------------------------------
package com.couchbase;
import com.couchbase.client.java.Bucket;
import com.couchbase.client.java.Cluster;
import com.couchbase.client.java.CouchbaseCluster;
import com.couchbase.client.java.document.JsonDocument;
import com.couchbase.client.java.document.json.JsonArray;
import com.couchbase.client.java.document.json.JsonObject;
import com.couchbase.client.java.query.N1qlQuery;
import com.couchbase.client.java.query.N1qlQueryResult;
#include <iostream>
#include <thread>
#include "libcouchbase/couchbase.h"
static void opCallback(lcb_t instance, int cbtype, const lcb_RESPBASE *rb) {
if (rb->rc != LCB_SUCCESS) {
fprintf(stderr, "%s\n", lcb_strerror(NULL, rb->rc));
} else {
if (cbtype == LCB_CALLBACK_GET) {
const lcb_RESPGET *rg = (const lcb_RESPGET *)rb;
org.talend.designer.runprocess.ProcessorException: Failed to generate code.
at org.talend.designer.runprocess.java.JavaProcessor.generateCode(JavaProcessor.java:572)
at org.talend.designer.runprocess.maven.MavenJavaProcessor.generateCode(MavenJavaProcessor.java:71)
at org.talend.designer.runprocess.ProcessorUtilities.generateContextInfo(ProcessorUtilities.java:685)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:511)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1413)
at org.talend.designer.runprocess.RunProcessContext$1.run(RunProcessContext.java:576)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
org.talend.designer.runprocess.ProcessorException: Failed to generate code.
at org.talend.designer.runprocess.java.JavaProcessor.generateCode(JavaProcessor.java:572)
at org.talend.designer.runprocess.maven.MavenJavaProcessor.generateCode(MavenJavaProcessor.java:71)
at org.talend.designer.runprocess.ProcessorUtilities.generateContextInfo(ProcessorUtilities.java:685)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:511)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1413)
at org.talend.designer.runprocess.RunProcessContext$1.run(RunProcessContext.java:576)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)