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
public DaprClientBuilder(Integer httpPort, Integer grpcPort) { | |
this(); | |
if(httpPort != null){ | |
System.getProperties().setProperty(Properties.HTTP_PORT.getName(), httpPort.toString()); | |
} | |
if(grpcPort != null){ | |
System.getProperties().setProperty(Properties.GRPC_PORT.getName(), grpcPort.toString()); | |
} | |
} |
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
salaboy@salaboyMBP example-voting-app % dagger call vote-app --dir . up | |
✘ Voteapp.voteApp( | |
dir: ✔ Host.directory(path: "/Users/salaboy/code/my-forks/example-voting-app"): Directory! 0.0s | |
): Service! 1.7s | |
✘ exec /runtime 1.7s | |
┃ json: error calling MarshalJSON for type *dagger.Service: input: result.run call function "Run": process "/runtime" did not complete successfully: exit code: 2 | |
┃ | |
┃ Stdout: | |
┃ json: error calling MarshalJSON for type *dagger. |
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
salaboy@salaboyMBP example-voting-app % dagger call vote-app --dir . up | |
✘ initialize 2.0s | |
✔ ModuleSource.asModule: Module! 1.4s | |
✘ Module.initialize: Module! 0.2s | |
✘ exec go build -o /runtime . 0.2s | |
┃ # main | |
┃ ./main.go:19:35: cannot use dagger.VoteRunOpts{…} (value of type "main/dagger".VoteRunOpts) as "main/internal/dagger".VoteRunOpts value in argument to dag.Vote().Run | |
┃ ./main.go:20:19: cannot use redisSvc (variable of type *"main/internal/dagger".Service) as *"main/dagger".Service value in struct literal | |
┃ ./main.go:21:19: cannot use dir.Directory("java/vote/components") (value of type *"main/internal/dagger".Directory) as *"main/dag |
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
024-02-29T09:57:15.383Z INFO 1 --- [nio-8080-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 11 ms | |
2024-02-29T09:57:16.095Z INFO 1 --- [nio-8080-exec-8] com.salaboy.echo.EchoController : Echo CloudEvent: CloudEvent{id='8e9785e9-39d8-42e8-928b-c0bff8ff89a0', source=vote, type='com.dapr.event.sent', datacontenttype='text/plain', time=2024-02-29T09:57:15Z, data=BytesCloudEventData{value=[123, 34, 116, 121, 112, 101, 34, 58, 34, 118, 111, 116, 101, 34, 44, 34, 118, 111, 116, 101, 114, 73, 100, 34, 58, 34, 100, 50, 53, 97, 51, 48, 98, 56, 45, 98, 34, 44, 34, 111, 112, 116, 105, 111, 110, 34, 58, 34, 98, 34, 125]}, extensions={traceid=, tracestate=, traceparent=, pubsubname=pubsub-rabbitmq, topic=newVote}} | |
2024-02-29T09:57:16.101Z INFO 1 --- [nio-8080-exec-9] com.salaboy.echo.EchoController : Echo CloudEvent: CloudEvent{id='8c5a07d0-80b6-4eeb-bf0a-8c1bf34c7408', source=vote, type='com.dapr.event.sent', datacontenttype='text/plain', time=2024-02-29T09:57:15Z, data= |
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
time="2023-11-28T13:38:23.954466083Z" level=info msg="Starting Dapr Runtime -- version 1.12.2 -- commit f954254ed520409602024ea6d507d0405afa1f07" app_id=local-dapr-app instance=59f886fb9634 scope=dapr.runtime type=log ver=1.12.2 | |
time="2023-11-28T13:38:23.954492958Z" level=info msg="Log level set to: debug" app_id=local-dapr-app instance=59f886fb9634 scope=dapr.runtime type=log ver=1.12.2 | |
time="2023-11-28T13:38:23.954772083Z" level=warning msg="mTLS is disabled. Skipping certificate request and tls validation" app_id=local-dapr-app instance=59f886fb9634 scope=dapr.runtime.security type=log ver=1.12.2 | |
time="2023-11-28T13:38:23.955708917Z" level=info msg="loading default configuration" app_id=local-dapr-app instance=59f886fb9634 scope=dapr.runtime type=log ver=1.12.2 | |
time="2023-11-28T13:38:23.956287917Z" level=debug msg="Found 0 resiliency configurations in resources path" app_id=local-dapr-app instance=59f886fb9634 scope=dapr.runtime type=log ver=1.12.2 | |
time="2023-11-28T13:38:23.956508167Z" level=info msg="metr |
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
Map.ofEntries( | |
Map.entry("apiVersion", "dapr.io/v1alpha1"), | |
Map.entry("kind", "Component"), | |
Map.entry( | |
"metadata", Map.ofEntries( | |
Map.entry("name", component.name) | |
) | |
), | |
Map.entry("spec", Map.ofEntries( | |
Map.entry("type", component.type), |
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: salaboy.com/v1alpha1 | |
kind: Environment | |
metadata: | |
name: team-a-dev-env | |
spec: | |
compositionSelector: | |
matchLabels: | |
type: development | |
parameters: | |
infraInstall: true |
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
salaboy> k logs -f my-ambient-dapr-ambient-lcd58 | |
Defaulted container "daprd" out of: daprd, setup-trust-bundle (init) | |
time="2023-06-01T18:32:21.866588966Z" level=info msg="starting Dapr Runtime -- version 1.11.0-rc.7 -- commit fd8390314f8fe5664b879292c3f3f2bec415e2ff" instance=my-ambient-dapr-ambient-lcd58 scope=dapr.runtime type=log ver=1.11.0-rc.7 | |
time="2023-06-01T18:32:21.866615757Z" level=info msg="log level set to: info" instance=my-ambient-dapr-ambient-lcd58 scope=dapr.runtime type=log ver=1.11.0-rc.7 | |
time="2023-06-01T18:32:21.866706466Z" level=info msg="metrics server started on :9090/" instance=my-ambient-dapr-ambient-lcd58 scope=dapr.metrics type=log ver=1.11.0-rc.7 | |
time="2023-06-01T18:32:21.867151924Z" level=info msg="loading default configuration" instance=my-ambient-dapr-ambient-lcd58 scope=dapr.runtime type=log ver=1.11.0-rc.7 | |
time="2023-06-01T18:32:21.867341174Z" level=info msg="Resiliency configuration loaded" instance=my-ambient-dapr-ambient-lcd58 scope=dapr.runtime type=log ver=1.11.0-rc.7 | |
ti |
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
salaboy> k logs -f my-ambient-dapr-ambient-tdrch | |
Defaulted container "daprd" out of: daprd, setup-trust-bundle (init) | |
time="2023-06-01T17:55:58.442624593Z" level=info msg="starting Dapr Runtime -- version 1.11.0-rc.7 -- commit fd8390314f8fe5664b879292c3f3f2bec415e2ff" instance=my-ambient-dapr-ambient-tdrch scope=dapr.runtime type=log ver=1.11.0-rc.7 | |
time="2023-06-01T17:55:58.442644301Z" level=info msg="log level set to: info" instance=my-ambient-dapr-ambient-tdrch scope=dapr.runtime type=log ver=1.11.0-rc.7 | |
time="2023-06-01T17:55:58.442735343Z" level=info msg="metrics server started on :9090/" instance=my-ambient-dapr-ambient-tdrch scope=dapr.metrics type=log ver=1.11.0-rc.7 | |
time="2023-06-01T17:55:58.443646801Z" level=info msg="loading default configuration" instance=my-ambient-dapr-ambient-tdrch scope=dapr.runtime type=log ver=1.11.0-rc.7 | |
time="2023-06-01T17:55:58.443960301Z" level=info msg="Resiliency configuration loaded" instance=my-ambient-dapr-ambient-tdrch scope=dapr.runtime type=log ver=1.11.0-rc |
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
salaboy> k logs -f write-deployment-8668b6984f-mbv9w daprd | |
time="2023-04-06T13:54:10.060118049Z" level=info msg="starting Dapr Runtime -- version 1.10.4 -- commit 42964736b1e99c9c03595c80c61fbe77912391c8" app_id=write-app instance=write-deployment-8668b6984f-mbv9w scope=dapr.runtime type=log ver=1.10.4 | |
time="2023-04-06T13:54:10.060173383Z" level=info msg="log level set to: debug" app_id=write-app instance=write-deployment-8668b6984f-mbv9w scope=dapr.runtime type=log ver=1.10.4 | |
time="2023-04-06T13:54:10.060241258Z" level=info msg="metrics server started on :9090/" app_id=write-app instance=write-deployment-8668b6984f-mbv9w scope=dapr.metrics type=log ver=1.10.4 | |
time="2023-04-06T13:54:10.060342549Z" level=info msg="Initializing the operator client (config: )" app_id=write-app instance=write-deployment-8668b6984f-mbv9w scope=dapr.runtime type=log ver=1.10.4 | |
time="2023-04-06T13:54:10.063646299Z" level=info msg="loading default configuration" app_id=write-app instance=write-deployment-8668b6984f-mbv9w scope=dapr. |
NewerOlder