This file contains hidden or 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
| resource "google_dns_record_set" "zone_subzone_ns" { | |
| name = "subdomain.${google_dns_managed_zone.zone.dns_name}" | |
| type = "NS" | |
| ttl = 300 | |
| managed_zone = google_dns_managed_zone.zone.name | |
| rrdatas = google_dns_managed_zone.sub_zone.name_servers | |
| } |
This file contains hidden or 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
| resource "google_dns_managed_zone" "sub_zone" { | |
| name = "my-subdomain" | |
| dns_name = "subdomain.my-domain.com." | |
| } |
This file contains hidden or 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
| resource "google_dns_managed_zone" "zone" { | |
| name = "my-domain" | |
| dns_name = "my-domain.com." | |
| } | |
This file contains hidden or 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
| package com.eon.iotcore.datapoint.compute; | |
| import com.eon.iotcore.datapoint.DatapointChangedEvent; | |
| import java.time.Instant; | |
| import org.apache.kafka.clients.consumer.ConsumerRecord; | |
| import org.apache.kafka.streams.processor.TimestampExtractor; | |
| // Extracts the embedded timestamp of a record (giving you "event-time" semantics). | |
| public class MyTimestampExtractor implements TimestampExtractor { |
This file contains hidden or 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
| // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_schema) = { | |
| // example : {value : '{"parent" : "0x01", "name":"name of child", "namespace" : "abc"}'} | |
| // }; |
This file contains hidden or 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
| <div id="app"> | |
| <v-app id="inspire"> | |
| <v-treeview :items="items"></v-treeview> | |
| </v-app> | |
| </div> |
This file contains hidden or 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
| m := &api.Mutation{ | |
| CommitNow: true, | |
| Set: []*api.NQuad{ | |
| &api.NQuad{Subject: request.GetEntityUid(), Predicate: "access.to", ObjectId: request.GetResourceUid(), Facets: []*api.Facet{ | |
| &api.Facet{ | |
| Key: "permission", | |
| Value: []byte(request.GetAction()), | |
| ValType: api.Facet_STRING, | |
| Tokens: []string{request.GetAction()}, | |
| }, |
This file contains hidden or 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
| FROM birdy/graalvm:latest | |
| WORKDIR /tmp/build | |
| ENV GRADLE_USER_HOME /tmp/build/.gradle | |
| ADD . /tmp/build | |
| RUN ./gradlew build fatJar | |
| RUN native-image -jar /tmp/build/build/libs/graal-javalin-all-1.0-SNAPSHOT.jar -H:ReflectionConfigurationFiles=reflection.json -H:+JNI \ | |
| -H:Name=graal-javalin --static --delay-class-initialization-to-runtime=io.javalin.json.JavalinJson | |
| FROM scratch |
This file contains hidden or 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
| [ | |
| { | |
| "name": "[Lorg.eclipse.jetty.servlet.ServletMapping;", | |
| "allDeclaredFields": true, | |
| "allPublicFields": true, | |
| "allDeclaredMethods": true, | |
| "allPublicMethods": true | |
| }, | |
| { | |
| "name": "org.slf4j.impl.StaticLoggerBinder", |
This file contains hidden or 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
| task fatJar(type: Jar) { | |
| manifest { | |
| attributes 'Implementation-Title': 'Gradle Jar File Example', | |
| 'Implementation-Version': version, | |
| 'Main-Class': 'de.nerden.samples.graal.Main' | |
| } | |
| baseName = project.name + '-all' | |
| from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } | |
| with jar | |
| } |
NewerOlder