Skip to content

Commit

Permalink
Update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rhertle committed Aug 31, 2020
1 parent 07a14b1 commit 75b15f7
Show file tree
Hide file tree
Showing 86 changed files with 132 additions and 166 deletions.
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Eclipse
.project
.classpath
.settings/
bin/

# IntelliJ
.idea
*.ipr
*.iml
*.iws

# NetBeans
nb-configuration.xml

# Visual Studio Code
.vscode
.factorypath

# OSX
.DS_Store

# Vim
*.swp
*.swo

# patch
*.orig
*.rej

# Maven
*/target/
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
release.properties
95 changes: 95 additions & 0 deletions src/main/openshift/templates/data-producer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
apiVersion: v1
kind: List
metadata:
labels:
application: quarkus-techlab
items:

- apiVersion: v1
kind: ImageStream
metadata:
labels:
application: quarkus-techlab
name: data-producer

- apiVersion: v1
kind: DeploymentConfig
metadata:
labels:
application: quarkus-techlab
name: data-producer
spec:
replicas: 1
selector:
deploymentConfig: data-producer
strategy:
type: Recreate
template:
metadata:
labels:
application: quarkus-techlab
deploymentConfig: data-producer
spec:
containers:
- image: data-producer
imagePullPolicy: Always
livenessProbe:
failureThreshold: 5
httpGet:
path: /health
port: 8080
scheme: HTTP
initialDelaySeconds: 3
periodSeconds: 20
successThreshhold: 1
timeoutSeconds: 15
readinessProbe:
failureThreshold: 5
httpGet:
path: /health
port: 8080
scheme: HTTP
initialDelaySeconds: 3
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 15
name: data-producer
port:
- containerPort: 8080
name: http
protocol: TCP
resources:
limits:
cpu: 1
memory: 500Mi
requests:
cpu: 50m
memory: 100Mi
triggers:
- imageChangeParams:
automatic: true
containerNames:
- data-producer
from:
kind: ImageStreamTag
name: data-producer:latest
type: ImageChange
- type: ConfigChange

- apiVersion: v1
kind: Service
metadata:
labels:
application: quarkus-techlab
name: data-producer
spec:
ports:
- name: data-producer-http
port: 8080
protocol: TCP
targetPort: 8080
selector:
deploymentConfig: data-producer
sessionAffinity: None
type: ClusterIP

155 changes: 0 additions & 155 deletions target/classes/META-INF/resources/index.html

This file was deleted.

2 changes: 0 additions & 2 deletions target/classes/application.properties

This file was deleted.

Binary file removed target/classes/org/acme/quickstart/DataResource.class
Binary file not shown.
Binary file not shown.
Binary file removed target/data-producer-1.0-SNAPSHOT-runner.jar
Binary file not shown.
Binary file removed target/data-producer-1.0-SNAPSHOT.jar
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/com.ibm.async.asyncutil-0.1.0.jar
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/commons-io.commons-io-2.6.jar
Binary file not shown.
Binary file removed target/lib/io.netty.netty-buffer-4.1.49.Final.jar
Binary file not shown.
Binary file removed target/lib/io.netty.netty-codec-4.1.49.Final.jar
Binary file not shown.
Binary file removed target/lib/io.netty.netty-codec-dns-4.1.49.Final.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/io.netty.netty-common-4.1.49.Final.jar
Binary file not shown.
Binary file removed target/lib/io.netty.netty-handler-4.1.49.Final.jar
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/io.netty.netty-resolver-4.1.49.Final.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/io.quarkus.arc.arc-1.7.0.Final.jar
Binary file not shown.
Binary file removed target/lib/io.quarkus.quarkus-arc-1.7.0.Final.jar
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/io.quarkus.quarkus-core-1.7.0.Final.jar
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/io.quarkus.quarkus-jsonb-1.7.0.Final.jar
Binary file not shown.
Binary file removed target/lib/io.quarkus.quarkus-jsonp-1.7.0.Final.jar
Binary file not shown.
Binary file removed target/lib/io.quarkus.quarkus-netty-1.7.0.Final.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/io.smallrye.reactive.mutiny-0.7.0.jar
Binary file not shown.
Binary file removed target/lib/io.vertx.vertx-auth-common-3.9.2.jar
Binary file not shown.
Binary file removed target/lib/io.vertx.vertx-bridge-common-3.9.2.jar
Binary file not shown.
Binary file removed target/lib/io.vertx.vertx-core-3.9.2.jar
Binary file not shown.
Binary file removed target/lib/io.vertx.vertx-web-3.9.2.jar
Binary file not shown.
Binary file removed target/lib/io.vertx.vertx-web-common-3.9.2.jar
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/jakarta.el.jakarta.el-api-3.0.3.jar
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/jakarta.inject.jakarta.inject-api-1.0.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/org.eclipse.yasson-1.0.7.jar
Binary file not shown.
Binary file removed target/lib/org.glassfish.jakarta.json-1.1.6.jar
Binary file not shown.
Binary file removed target/lib/org.graalvm.sdk.graal-sdk-20.1.0.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target/lib/org.slf4j.slf4j-api-1.7.30.jar
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions target/maven-archiver/pom.properties

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

Empty file.
Binary file removed target/quarkus/bootstrap/dev-app-model.dat
Binary file not shown.

0 comments on commit 75b15f7

Please sign in to comment.