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
<java.version>17</java.version> |
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
<spring-native.version>0.11.3</spring-native.version> | |
<dependency> | |
<groupId>org.springframework.experimental</groupId> | |
<artifactId>spring-native</artifactId> | |
<version>${spring-native.version}</version> | |
</dependency> | |
<repositories> | |
<repository> |
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
<dependency> | |
<groupId>org.springdoc</groupId> | |
<artifactId>springdoc-openapi-ui</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springdoc</groupId> | |
<artifactId>springdoc-openapi-hateoas</artifactId> | |
</dependency> |
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
<dependency> | |
<groupId>org.springdoc</groupId> | |
<artifactId>springdoc-openapi-hateoas</artifactId> | |
</dependency> |
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
package io.github.susimsek.springbootdemorest.config; | |
import io.swagger.v3.oas.models.parameters.Parameter; | |
import org.springdoc.core.customizers.OperationCustomizer; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
@Configuration | |
public class ApiDocConfig { |
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
<properties> | |
<java.version>17</java.version> | |
<spring-native.version>0.11.0-RC1</spring-native.version> | |
<repackage.classifier/> | |
<maven.compiler.source>${java.version}</maven.compiler.source> | |
<maven.compiler.target>${java.version}</maven.compiler.target> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
</properties> |
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
FROM golang:1.17-buster as builder | |
ARG upx_version=3.96 | |
RUN apt-get update && apt-get install -y --no-install-recommends xz-utils && \ | |
curl -Ls https://github.com/upx/upx/releases/download/v${upx_version}/upx-${upx_version}-amd64_linux.tar.xz -o - | tar xvJf - -C /tmp && \ | |
cp /tmp/upx-${upx_version}-amd64_linux/upx /usr/local/bin/ && \ | |
chmod +x /usr/local/bin/upx && \ | |
apt-get remove -y xz-utils && \ | |
rm -rf /var/lib/apt/lists/* |
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
Organizations: | |
Name: OrdererOrg | |
# ID to load the MSP definition as | |
ID: OrdererMSP | |
# MSPDir is the filesystem path which contains the MSP configuration | |
MSPDir: ../organizations/ordererOrganizations/example.com/msp | |
... | |
OrdererEndpoints: |
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: batch/v1 | |
kind: Job | |
metadata: | |
name: create-artifacts | |
spec: | |
backoffLimit: 1 | |
template: | |
spec: | |
containers: | |
- name: create-artifacts |
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: batch/v1 | |
kind: Job | |
metadata: | |
name: create-certs | |
spec: | |
backoffLimit: 1 | |
parallelism: 1 | |
completions: 1 | |
template: | |
metadata: |