Skip to content

Commit

Permalink
removed apps/ and moved subdirs up one level (#894)
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

removed apps/ and moved subdirs up one level

**Release note**:

```release-note
<PLEASE PUT RELEASE-NOTE HERE, PUT NONE if NO RELEASE-NOTE>
NONE
```

Former-commit-id: 4f4226c
  • Loading branch information
GregHanson authored and istio-merge-robot committed Sep 21, 2017
1 parent 7811382 commit b902cd7
Show file tree
Hide file tree
Showing 86 changed files with 33 additions and 33 deletions.
20 changes: 0 additions & 20 deletions samples/apps/bookinfo/BUILD

This file was deleted.

20 changes: 20 additions & 0 deletions samples/bookinfo/BUILD
@@ -0,0 +1,20 @@
filegroup(
name = "bookinfo",
srcs = [
"kube/bookinfo.yaml",
"kube/bookinfo-db.yaml",
"kube/bookinfo-mysql.yaml",
"kube/bookinfo-ratings-v2.yaml",
"kube/mixer-rule-additional-telemetry.yaml",
"kube/mixer-rule-ratings-denial.yaml",
"kube/mixer-rule-ratings-ratelimit.yaml",
"kube/route-rule-all-v1.yaml",
"kube/route-rule-ratings-db.yaml",
"kube/route-rule-ratings-test-delay.yaml",
"kube/route-rule-reviews-50-v3.yaml",
"kube/route-rule-reviews-test-v2.yaml",
"kube/route-rule-reviews-v2-v3.yaml",
"kube/route-rule-reviews-v3.yaml",
],
visibility = ["//visibility:public"],
)
Expand Up @@ -39,7 +39,7 @@ To build all images for the bookinfo sample for the consul adapter, run:
./build-docker-services.sh
```

To bring up all containers directly, from the `samples/apps/bookinfo/consul` directory run
To bring up all containers directly, from the `samples/bookinfo/consul` directory run

```
docker-compose up -d
Expand Down Expand Up @@ -79,7 +79,7 @@ kubectl config set-context mac --cluster=mac
kubectl config use-context mac
```

You can create basic routing rules using istioctl from the `samples/apps/bookinfo/consul` directory:
You can create basic routing rules using istioctl from the `samples/bookinfo/consul` directory:

```
istioctl create -f consul-reviews-v1.yaml
Expand Down
Expand Up @@ -22,7 +22,7 @@ SCRIPTDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
HUB=istio
WORKSPACE=$GOPATH/src/istio.io/pilot
BINDIR=$WORKSPACE/bazel-bin
APPSDIR=$GOPATH/src/istio.io/istio/samples/apps/bookinfo/src
APPSDIR=$GOPATH/src/istio.io/istio/samples/bookinfo/src
DISCOVERYDIR=$SCRIPTDIR/discovery
PILOTAGENTPATH=$WORKSPACE/cmd/pilot-agent
PILOTDISCOVERYPATH=$WORKSPACE/cmd/pilot-discovery
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/e2e/tests/bookinfo/BUILD
Expand Up @@ -4,7 +4,7 @@ go_test(
name = "go_default_test",
srcs = ["demo_test.go"],
data = [
"//samples/apps/bookinfo",
"//samples/bookinfo",
"//tests/apps/bookinfo/output:bookinfo_out",
],
tags = ["manual"],
Expand Down
8 changes: 4 additions & 4 deletions tests/e2e/tests/bookinfo/demo_test.go
Expand Up @@ -37,11 +37,11 @@ import (
const (
u1 = "normal-user"
u2 = "test-user"
bookinfoYaml = "samples/apps/bookinfo/bookinfo.yaml"
bookinfoRatingsv2Yaml = "samples/apps/bookinfo/bookinfo-ratings-v2.yaml"
bookinfoDbYaml = "samples/apps/bookinfo/bookinfo-db.yaml"
bookinfoYaml = "samples/bookinfo/kube/bookinfo.yaml"
bookinfoRatingsv2Yaml = "samples/bookinfo/kube/bookinfo-ratings-v2.yaml"
bookinfoDbYaml = "samples/bookinfo/kube/bookinfo-db.yaml"
modelDir = "tests/apps/bookinfo/output"
rulesDir = "samples/apps/bookinfo/rules"
rulesDir = "samples/bookinfo/kube"
allRule = "route-rule-all-v1.yaml"
delayRule = "route-rule-ratings-test-delay.yaml"
fiftyRule = "route-rule-reviews-50-v3.yaml"
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/tests/mixer/BUILD
Expand Up @@ -5,7 +5,7 @@ go_test(
size = "large",
srcs = ["mixer_test.go"],
data = [
"//samples/apps/bookinfo",
"//samples/bookinfo",
"//tests/e2e/tests:testdata",
],
tags = ["manual"],
Expand Down
8 changes: 4 additions & 4 deletions tests/e2e/tests/mixer/mixer_test.go
Expand Up @@ -40,10 +40,10 @@ import (
)

const (
bookinfoYaml = "samples/apps/bookinfo/bookinfo.yaml"
bookinfoRatingsv2Yaml = "samples/apps/bookinfo/bookinfo-ratings-v2.yaml"
bookinfoDbYaml = "samples/apps/bookinfo/bookinfo-db.yaml"
rulesDir = "samples/apps/bookinfo/rules"
bookinfoYaml = "samples/bookinfo/kube/bookinfo.yaml"
bookinfoRatingsv2Yaml = "samples/bookinfo/kube/bookinfo-ratings-v2.yaml"
bookinfoDbYaml = "samples/bookinfo/kube/bookinfo-db.yaml"
rulesDir = "samples/bookinfo/kube"
rateLimitRule = "mixer-rule-ratings-ratelimit.yaml"
denialRule = "mixer-rule-ratings-denial.yaml"
newTelemetryRule = "mixer-rule-additional-telemetry.yaml"
Expand Down

0 comments on commit b902cd7

Please sign in to comment.