-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore (quickstarts/gradle) : Cleanup unnecessary files in daprhellowo…
…rld quickstart + Remove unnecessary files + Add license headers + Correct typos Signed-off-by: Rohan Kumar <rohaan@redhat.com>
- Loading branch information
1 parent
579707b
commit 9cac97f
Showing
12 changed files
with
164 additions
and
97 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
# | ||
# Copyright (c) 2019 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at: | ||
# | ||
# https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
jkube.generator.registry = docker.io/vishalrijhwani | ||
jkube.generator.name = docker.io/vishalrijhwani/%a:%l | ||
jkube.image.name = daprhelloworld | ||
jkube.generator.build.imagePullPolicy = Always | ||
#jkube.enricher.jkube-namespace.namespace = default | ||
jkube.enricher.jkube-controller.replicaCount = 1 | ||
jkube.enricher.jkube-service.type = LoadBalancer |
13 changes: 13 additions & 0 deletions
13
...tarts/gradle/daprhelloworld/src/main/java/com/example/demo/DaprhelloworldApplication.java
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
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
14 changes: 14 additions & 0 deletions
14
quickstarts/gradle/daprhelloworld/src/main/resources/application.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# | ||
# Copyright (c) 2019 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at: | ||
# | ||
# https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
spring.application.name=daprhelloworld | ||
server.port=8085 |
13 changes: 0 additions & 13 deletions
13
.../gradle/daprhelloworld/src/test/java/com/example/demo/DaprhelloworldApplicationTests.java
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Copyright (c) 2019 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at: | ||
# | ||
# https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
# create name space usernamespace | ||
kubectl create namespace usernamespace | ||
# for installing zipkin use below command | ||
kubectl -n usernamespace create -f zipkin.yaml | ||
kubectl create -f zipkin.yaml | ||
kubectl -n usernamespace create -f appconfig.yaml | ||
kubectl create -f appconfig.yaml | ||
# for zipkin uninstallation | ||
kubectl -n usernamespace delete -f zipkin.yaml | ||
kubectl delete -f zipkin.yaml | ||
kubectl -n usernamespace delete -f appconfig.yaml | ||
kubectl delete -f appconfig.yaml | ||
# delete namespace | ||
kubectl delete namespace usernamespace |
This file was deleted.
Oops, something went wrong.