Skip to content

Commit

Permalink
massive update
Browse files Browse the repository at this point in the history
  • Loading branch information
William Cai committed Jun 7, 2020
1 parent 661bc3f commit b415670
Show file tree
Hide file tree
Showing 424 changed files with 908 additions and 908 deletions.
2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# go-tests = true
# unused-packages = true

ignored = ["github.com/oracle/speedle/samples*"]
ignored = ["github.com/teramoby/speedle-plus/samples*"]

[[constraint]]
name = "github.com/armon/go-radix"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Speedle+ is a general purpose authorization engine. It allows users to construct

Speedle+ open source project consits of a policy definition language, policy management module, authorization runtime module, commandline tool, and integration samples with popular systems.

Speedle+ is based on Speedle open source project which is hosted at https://github.com/oracle/speedle under UPL.
Speedle+ is based on Speedle open source project which is hosted at https://github.com/teramoby/speedle-plus under UPL.

## Who are we

Expand Down
4 changes: 2 additions & 2 deletions README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Speedle+是一个通用授权引擎。用户可以使用它非常易用的策略

作为一个开源项目,Speedle包括策略定义语言(SPDL),策略管理模块,授权决策模块,命令行工具,以及数个和流行系统集成的示例。

Speedle+项目基于Speedle项目<https://github.com/oracle/speedle>,两个项目都遵守UPL协议。
Speedle+项目基于Speedle项目<https://github.com/teramoby/speedle-plus>,两个项目都遵守UPL协议。

## 我们是谁

Expand All @@ -43,7 +43,7 @@ Speedle+项目基于Speedle项目<https://github.com/oracle/speedle>,两个项

请参阅 <https://speedle.io/quick-start/>

更详细的内容可以查阅[这里](https://github.com/oracle/speedle/tree/master/docs/%E4%B8%AD%E6%96%87%E8%B5%84%E6%96%99)
更详细的内容可以查阅[这里](https://github.com/teramoby/speedle-plus/tree/master/docs/%E4%B8%AD%E6%96%87%E8%B5%84%E6%96%99)

## 构建

Expand Down
2 changes: 1 addition & 1 deletion ci/setBuildEnv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ homeDir=$(cd $(dirname ${BASH_SOURCE[0]})/.. > /dev/null; pwd -P)

export GOPATH=$homeDir
mkdir -p $GOPATH/src/github.com/oracle
ln -s $homeDir $GOPATH/src/github.com/oracle/speedle
ln -s $homeDir $GOPATH/src/github.com/teramoby/speedle-plus
4 changes: 2 additions & 2 deletions cmd/spctl/command/run_etcd_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
set -ex
#source pkg/svcs/pmsrest/start_etcd.sh
rm -rf ./speedle.etcd
source ${GOPATH}/src/github.com/oracle/speedle/setTestEnv.sh
source ${GOPATH}/src/github.com/teramoby/speedle-plus/setTestEnv.sh
go clean -testcache

#Reconfig spctl
${GOPATH}/bin/spctl config pms-endpoint http://localhost:6733/policy-mgmt/v1/

startPMS etcd --config-file pkg/svcs/pmsrest/config_etcd.json
go test ${TEST_OPTS} github.com/oracle/speedle/cmd/spctl/command -run=TestMats
go test ${TEST_OPTS} github.com/teramoby/speedle-plus/cmd/spctl/command -run=TestMats

4 changes: 2 additions & 2 deletions cmd/spctl/command/run_file_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -ex

#Reconfig spctl
${GOPATH}/bin/spctl config pms-endpoint http://localhost:6733/policy-mgmt/v1/
source ${GOPATH}/src/github.com/oracle/speedle/setTestEnv.sh
source ${GOPATH}/src/github.com/teramoby/speedle-plus/setTestEnv.sh

startPMS file --config-file pkg/svcs/pmsrest/config_file.json
go test ${TEST_OPTS} github.com/oracle/speedle/cmd/spctl/command -run=TestMats
go test ${TEST_OPTS} github.com/teramoby/speedle-plus/cmd/spctl/command -run=TestMats

6 changes: 3 additions & 3 deletions docs/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<li><a href="/docs/usecases">Docs</a>
</li>

<li><a href="https://github.com/oracle/speedle">Github</a>
<li><a href="https://github.com/teramoby/speedle-plus">Github</a>
</li>

<li><a href="/about">About</a>
Expand Down Expand Up @@ -205,7 +205,7 @@ <h1>About Speedle</h1>
<a title="speedle-users" href="https://groups.google.com/forum/#!forum/speedle-users">
<img src="/img/speedle/28. Mail.svg" />
</a>
<a title="speedle" href="https://github.com/oracle/speedle">
<a title="speedle" href="https://github.com/teramoby/speedle-plus">
<img src="/img/speedle/18. Github.svg" />
</a>
<a title="slack" href="https://join.slack.com/t/speedleproject/shared_invite/enQtNTUzODM3NDY0ODE2LTg0ODc0NzQ1MjVmM2NiODVmMThkMmVjNmMyODA0ZWJjZjQ3NDc2MjdlMzliN2U4MDRkZjhlYzYzMDEyZTgxMGQ">
Expand All @@ -223,4 +223,4 @@ <h1>About Speedle</h1>
</script>
</body>

</html>
</html>
6 changes: 3 additions & 3 deletions docs/blog/discovery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<li><a href="/docs/usecases">Docs</a>
</li>

<li><a href="https://github.com/oracle/speedle">Github</a>
<li><a href="https://github.com/teramoby/speedle-plus">Github</a>
</li>

<li><a href="/about">About</a>
Expand Down Expand Up @@ -294,7 +294,7 @@ <h2 id="lorem-epsum">Lorem Epsum</h2>
<a title="speedle-users" href="https://groups.google.com/forum/#!forum/speedle-users">
<img src="/img/speedle/28. Mail.svg" />
</a>
<a title="speedle" href="https://github.com/oracle/speedle">
<a title="speedle" href="https://github.com/teramoby/speedle-plus">
<img src="/img/speedle/18. Github.svg" />
</a>
<a title="slack" href="https://join.slack.com/t/speedleproject/shared_invite/enQtNTUzODM3NDY0ODE2LTg0ODc0NzQ1MjVmM2NiODVmMThkMmVjNmMyODA0ZWJjZjQ3NDc2MjdlMzliN2U4MDRkZjhlYzYzMDEyZTgxMGQ">
Expand All @@ -311,4 +311,4 @@ <h2 id="lorem-epsum">Lorem Epsum</h2>
</script>
</body>

</html>
</html>
6 changes: 3 additions & 3 deletions docs/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<li><a href="/docs/usecases">Docs</a>
</li>

<li><a href="https://github.com/oracle/speedle">Github</a>
<li><a href="https://github.com/teramoby/speedle-plus">Github</a>
</li>

<li><a href="/about">About</a>
Expand Down Expand Up @@ -216,7 +216,7 @@ <h2 class="title2">
<a title="speedle-users" href="https://groups.google.com/forum/#!forum/speedle-users">
<img src="/img/speedle/28. Mail.svg" />
</a>
<a title="speedle" href="https://github.com/oracle/speedle">
<a title="speedle" href="https://github.com/teramoby/speedle-plus">
<img src="/img/speedle/18. Github.svg" />
</a>
<a title="slack" href="https://join.slack.com/t/speedleproject/shared_invite/enQtNTUzODM3NDY0ODE2LTg0ODc0NzQ1MjVmM2NiODVmMThkMmVjNmMyODA0ZWJjZjQ3NDc2MjdlMzliN2U4MDRkZjhlYzYzMDEyZTgxMGQ">
Expand All @@ -234,4 +234,4 @@ <h2 class="title2">
</script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion docs/blog/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Lorem Epsum Apple pie chocolate cake jelly-o icing bonbon. Gingerbread pastry fr
</item>

</channel>
</rss>
</rss>
2 changes: 1 addition & 1 deletion docs/blog/page/1/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><title>/blog/</title><link rel="canonical" href="/blog/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=/blog/" /></head></html>
<!DOCTYPE html><html><head><title>/blog/</title><link rel="canonical" href="/blog/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=/blog/" /></head></html>
8 changes: 4 additions & 4 deletions docs/blog/what-is-speedle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<li><a href="/docs/usecases">Docs</a>
</li>

<li><a href="https://github.com/oracle/speedle">Github</a>
<li><a href="https://github.com/teramoby/speedle-plus">Github</a>
</li>

<li><a href="/about">About</a>
Expand Down Expand Up @@ -216,7 +216,7 @@ <h2 id="old-content">Old Content</h2>
a. Ladon <a href="https://github.com/ory/ladon">https://github.com/ory/ladon</a>
b. Casbin <a href="https://github.com/casbin/casbin">https://github.com/casbin/casbin</a>
c. OPA <a href="https://github.com/open-policy-agent/opa">https://github.com/open-policy-agent/opa</a>
d. Speedle <a href="https://github.com/oracle/speedle">https://github.com/oracle/speedle</a></p></li>
d. Speedle <a href="https://github.com/teramoby/speedle-plus">https://github.com/teramoby/speedle-plus</a></p></li>
</ol>

<p>Please <a href="../index.html#user-community">let us know</a> if you find other good stuff. We are happy to add it to the list.</p>
Expand Down Expand Up @@ -313,7 +313,7 @@ <h2 id="lorem-epsum">Lorem Epsum</h2>
<a title="speedle-users" href="https://groups.google.com/forum/#!forum/speedle-users">
<img src="/img/speedle/28. Mail.svg" />
</a>
<a title="speedle" href="https://github.com/oracle/speedle">
<a title="speedle" href="https://github.com/teramoby/speedle-plus">
<img src="/img/speedle/18. Github.svg" />
</a>
<a title="slack" href="https://join.slack.com/t/speedleproject/shared_invite/enQtNTUzODM3NDY0ODE2LTg0ODc0NzQ1MjVmM2NiODVmMThkMmVjNmMyODA0ZWJjZjQ3NDc2MjdlMzliN2U4MDRkZjhlYzYzMDEyZTgxMGQ">
Expand All @@ -330,4 +330,4 @@ <h2 id="lorem-epsum">Lorem Epsum</h2>
</script>
</body>

</html>
</html>
6 changes: 3 additions & 3 deletions docs/categories/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<li><a href="/docs/usecases">Docs</a>
</li>

<li><a href="https://github.com/oracle/speedle">Github</a>
<li><a href="https://github.com/teramoby/speedle-plus">Github</a>
</li>

<li><a href="/about">About</a>
Expand Down Expand Up @@ -210,7 +210,7 @@ <h2 class="title2">
<a title="speedle-users" href="https://groups.google.com/forum/#!forum/speedle-users">
<img src="/img/speedle/28. Mail.svg" />
</a>
<a title="speedle" href="https://github.com/oracle/speedle">
<a title="speedle" href="https://github.com/teramoby/speedle-plus">
<img src="/img/speedle/18. Github.svg" />
</a>
<a title="slack" href="https://join.slack.com/t/speedleproject/shared_invite/enQtNTUzODM3NDY0ODE2LTg0ODc0NzQ1MjVmM2NiODVmMThkMmVjNmMyODA0ZWJjZjQ3NDc2MjdlMzliN2U4MDRkZjhlYzYzMDEyZTgxMGQ">
Expand All @@ -228,4 +228,4 @@ <h2 class="title2">
</script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion docs/categories/blog/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Lorem Epsum Apple pie chocolate cake jelly-o icing bonbon. Gingerbread pastry fr
</item>

</channel>
</rss>
</rss>
2 changes: 1 addition & 1 deletion docs/categories/blog/page/1/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><title>/categories/blog/</title><link rel="canonical" href="/categories/blog/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=/categories/blog/" /></head></html>
<!DOCTYPE html><html><head><title>/categories/blog/</title><link rel="canonical" href="/categories/blog/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=/categories/blog/" /></head></html>
6 changes: 3 additions & 3 deletions docs/categories/cloudnative/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<li><a href="/docs/usecases">Docs</a>
</li>

<li><a href="https://github.com/oracle/speedle">Github</a>
<li><a href="https://github.com/teramoby/speedle-plus">Github</a>
</li>

<li><a href="/about">About</a>
Expand Down Expand Up @@ -228,7 +228,7 @@ <h2 class="title2">
<a title="speedle-users" href="https://groups.google.com/forum/#!forum/speedle-users">
<img src="/img/speedle/28. Mail.svg" />
</a>
<a title="speedle" href="https://github.com/oracle/speedle">
<a title="speedle" href="https://github.com/teramoby/speedle-plus">
<img src="/img/speedle/18. Github.svg" />
</a>
<a title="slack" href="https://join.slack.com/t/speedleproject/shared_invite/enQtNTUzODM3NDY0ODE2LTg0ODc0NzQ1MjVmM2NiODVmMThkMmVjNmMyODA0ZWJjZjQ3NDc2MjdlMzliN2U4MDRkZjhlYzYzMDEyZTgxMGQ">
Expand All @@ -246,4 +246,4 @@ <h2 class="title2">
</script>
</body>

</html>
</html>
8 changes: 4 additions & 4 deletions docs/categories/cloudnative/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<guid>/integrations/docker/</guid>
<description>Docker authorization plugin Docker users can implement a docker authorization plugin for authorization check, the docker official document &amp;ldquo;Access authorization plugin&amp;rdquo; shows the details.
Build git clone [email protected]:oracle/speedle.git # make sure the speedle golang adsclient code is in your $GOPATH/src package. cp -r samples/adsclient/go/src/speedle/ $GOPATH/src # Get docker authorization plugin go get github.com/docker/go-plugins-helpers/authorization cd samples/integration/docker-integration make Executable speedle-docker-plugin could be found in \$HOME/go/bin
Build git clone [email protected]:teramoby/speedle-plus.git # make sure the speedle golang adsclient code is in your $GOPATH/src package. cp -r samples/adsclient/go/src/speedle/ $GOPATH/src # Get docker authorization plugin go get github.com/docker/go-plugins-helpers/authorization cd samples/integration/docker-integration make Executable speedle-docker-plugin could be found in \$HOME/go/bin
Run speedle refer to speedle quickstart</description>
</item>

Expand All @@ -28,7 +28,7 @@ Run speedle refer to speedle quickstart</description>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

<guid>/integrations/istio/</guid>
<description>Speedle Istio Mixer Adapter for authorization Prerequisite To setup speedle istio adapter, a running Kubernetes cluster with istio is required. Speedle services need to be deployed. Please see Deploy Speedle Istio bookinfo sample installed. The kubectl configuration is set so that kubectl can be used to manage the cluster. A docker repository is required to push build result. Istio Adapter Before you start Build git clone [email protected]:oracle/speedle.git cd samples/integration/istio-integration copy set-env.</description>
<description>Speedle Istio Mixer Adapter for authorization Prerequisite To setup speedle istio adapter, a running Kubernetes cluster with istio is required. Speedle services need to be deployed. Please see Deploy Speedle Istio bookinfo sample installed. The kubectl configuration is set so that kubectl can be used to manage the cluster. A docker repository is required to push build result. Istio Adapter Before you start Build git clone [email protected]:teramoby/speedle-plus.git cd samples/integration/istio-integration copy set-env.</description>
</item>

<item>
Expand All @@ -37,8 +37,8 @@ Run speedle refer to speedle quickstart</description>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

<guid>/integrations/kubernetes/</guid>
<description>Kubernetes Authorization Webhook Sample Build git clone [email protected]:oracle/speedle.git # make sure the speedle golang adsclient code is in your $GOPATH/src package. cp -r samples/adsclient/go/src/speedle/ $GOPATH/src # get additional required packages: $go get k8s.io/api/authorization/v1beta1 $go get k8s.io/client-go/kubernetes $go get k8s.io/client-go/tools/clientcmd # build cd samples/integration/kubernetes-integration go build webhook.go #Executable webhook could be found in same folder Create Certificates Generate self-signed certificates used by webhook by refering to this document BTW, let&amp;rsquo;s assume we store the generated certificates and other needed files to path /path/to/webhook/, we will use this path in below sections.</description>
<description>Kubernetes Authorization Webhook Sample Build git clone [email protected]:teramoby/speedle-plus.git # make sure the speedle golang adsclient code is in your $GOPATH/src package. cp -r samples/adsclient/go/src/speedle/ $GOPATH/src # get additional required packages: $go get k8s.io/api/authorization/v1beta1 $go get k8s.io/client-go/kubernetes $go get k8s.io/client-go/tools/clientcmd # build cd samples/integration/kubernetes-integration go build webhook.go #Executable webhook could be found in same folder Create Certificates Generate self-signed certificates used by webhook by refering to this document BTW, let&amp;rsquo;s assume we store the generated certificates and other needed files to path /path/to/webhook/, we will use this path in below sections.</description>
</item>

</channel>
</rss>
</rss>
2 changes: 1 addition & 1 deletion docs/categories/cloudnative/page/1/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><title>/categories/cloudnative/</title><link rel="canonical" href="/categories/cloudnative/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=/categories/cloudnative/" /></head></html>
<!DOCTYPE html><html><head><title>/categories/cloudnative/</title><link rel="canonical" href="/categories/cloudnative/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=/categories/cloudnative/" /></head></html>
6 changes: 3 additions & 3 deletions docs/categories/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<li><a href="/docs/usecases">Docs</a>
</li>

<li><a href="https://github.com/oracle/speedle">Github</a>
<li><a href="https://github.com/teramoby/speedle-plus">Github</a>
</li>

<li><a href="/about">About</a>
Expand Down Expand Up @@ -242,7 +242,7 @@ <h2 class="title2">
<a title="speedle-users" href="https://groups.google.com/forum/#!forum/speedle-users">
<img src="/img/speedle/28. Mail.svg" />
</a>
<a title="speedle" href="https://github.com/oracle/speedle">
<a title="speedle" href="https://github.com/teramoby/speedle-plus">
<img src="/img/speedle/18. Github.svg" />
</a>
<a title="slack" href="https://join.slack.com/t/speedleproject/shared_invite/enQtNTUzODM3NDY0ODE2LTg0ODc0NzQ1MjVmM2NiODVmMThkMmVjNmMyODA0ZWJjZjQ3NDc2MjdlMzliN2U4MDRkZjhlYzYzMDEyZTgxMGQ">
Expand All @@ -260,4 +260,4 @@ <h2 class="title2">
</script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion docs/categories/docs/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,4 @@ Version 0.1.0 release notes: This is the first open source version. All basic fu
</item>

</channel>
</rss>
</rss>
2 changes: 1 addition & 1 deletion docs/categories/docs/page/1/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><title>/categories/docs/</title><link rel="canonical" href="/categories/docs/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=/categories/docs/" /></head></html>
<!DOCTYPE html><html><head><title>/categories/docs/</title><link rel="canonical" href="/categories/docs/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=/categories/docs/" /></head></html>
6 changes: 3 additions & 3 deletions docs/categories/docs/page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<li><a href="/docs/usecases">Docs</a>
</li>

<li><a href="https://github.com/oracle/speedle">Github</a>
<li><a href="https://github.com/teramoby/speedle-plus">Github</a>
</li>

<li><a href="/about">About</a>
Expand Down Expand Up @@ -239,7 +239,7 @@ <h2 class="title2">
<a title="speedle-users" href="https://groups.google.com/forum/#!forum/speedle-users">
<img src="/img/speedle/28. Mail.svg" />
</a>
<a title="speedle" href="https://github.com/oracle/speedle">
<a title="speedle" href="https://github.com/teramoby/speedle-plus">
<img src="/img/speedle/18. Github.svg" />
</a>
<a title="slack" href="https://join.slack.com/t/speedleproject/shared_invite/enQtNTUzODM3NDY0ODE2LTg0ODc0NzQ1MjVmM2NiODVmMThkMmVjNmMyODA0ZWJjZjQ3NDc2MjdlMzliN2U4MDRkZjhlYzYzMDEyZTgxMGQ">
Expand All @@ -257,4 +257,4 @@ <h2 class="title2">
</script>
</body>

</html>
</html>
6 changes: 3 additions & 3 deletions docs/categories/docs/page/3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<li><a href="/docs/usecases">Docs</a>
</li>

<li><a href="https://github.com/oracle/speedle">Github</a>
<li><a href="https://github.com/teramoby/speedle-plus">Github</a>
</li>

<li><a href="/about">About</a>
Expand Down Expand Up @@ -240,7 +240,7 @@ <h2 class="title2">
<a title="speedle-users" href="https://groups.google.com/forum/#!forum/speedle-users">
<img src="/img/speedle/28. Mail.svg" />
</a>
<a title="speedle" href="https://github.com/oracle/speedle">
<a title="speedle" href="https://github.com/teramoby/speedle-plus">
<img src="/img/speedle/18. Github.svg" />
</a>
<a title="slack" href="https://join.slack.com/t/speedleproject/shared_invite/enQtNTUzODM3NDY0ODE2LTg0ODc0NzQ1MjVmM2NiODVmMThkMmVjNmMyODA0ZWJjZjQ3NDc2MjdlMzliN2U4MDRkZjhlYzYzMDEyZTgxMGQ">
Expand All @@ -258,4 +258,4 @@ <h2 class="title2">
</script>
</body>

</html>
</html>
Loading

0 comments on commit b415670

Please sign in to comment.