How to import and indicate empty request or reply messages:
import "google/protobuf/empty.proto";
service SomeService {
rpc SomeOperation (google.protobuf.Empty) returns (google.protobuf.Empty) {}
}
httpResource is a new feature in 19.2.0 |
version: '3.8' | |
services: | |
keycloak: | |
image: quay.io/keycloak/keycloak:latest | |
container_name: keycloak | |
ports: | |
- "${KEYCLOAK_PORT}:8080" | |
environment: | |
- KEYCLOAK_ADMIN=${KEYCLOAK_USER_NAME} |
groups: | |
- name: node_exporter_alerts | |
rules: | |
- alert: Node down | |
expr: up{job="monitoring-pi"} == 0 | |
for: 2m | |
labels: | |
severity: warning | |
annotations: | |
title: Node {{ $labels.instance }} is down |
How to import and indicate empty request or reply messages:
import "google/protobuf/empty.proto";
service SomeService {
rpc SomeOperation (google.protobuf.Empty) returns (google.protobuf.Empty) {}
}
{ | |
"ids": [4, 19] | |
} |
npx -p @angular/cli ng new hello-world-project | |
then locally can run | |
npx ng g c hello-world-component | |
{ | |
"techStack": [ | |
"Angular", | |
"Vue", | |
"CSS", | |
"TypeScript", | |
"JavaScript", | |
"NestJS", | |
"NodeJS", | |
"PostgreSQL", |
{ | |
"preferences": { | |
"top": { | |
"backgroundColor": "yellow", | |
"border": "1px solid black", | |
"color": "rebeccapurple", | |
"fontSize": "36px", | |
"textAlign": "center" | |
}, | |
"content": { |
{ | |
"messages":[ | |
{ | |
"id":1, | |
"description":"This is an inbox layout.", | |
"isChecked":false | |
}, | |
{ | |
"id":2, | |
"description":"Check one item", |