Rename from leplatrem/iam to mozilla/doorman

This commit is contained in:
Mathieu Leplatre 2017-11-21 11:50:03 +01:00
Родитель 450b8a536e
Коммит 17336e76e6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 767B105F81A15CDD
8 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -1,13 +1,13 @@
Doorman
=======
[![Build Status](https://travis-ci.org/leplatrem/iam.svg?branch=master)](https://travis-ci.org/leplatrem/iam)
[![Coverage Status](https://coveralls.io/repos/github/leplatrem/iam/badge.svg?branch=master)](https://coveralls.io/github/leplatrem/iam?branch=master)
[![Go Report](https://goreportcard.com/badge/github.com/leplatrem/iam)](https://goreportcard.com/report/github.com/leplatrem/iam)
[![Build Status](https://travis-ci.org/mozilla/doorman.svg?branch=master)](https://travis-ci.org/mozilla/doorman)
[![Coverage Status](https://coveralls.io/repos/github/mozilla/doorman/badge.svg?branch=master)](https://coveralls.io/github/mozilla/doorman?branch=master)
[![Go Report](https://goreportcard.com/badge/github.com/mozilla/doorman)](https://goreportcard.com/report/github.com/mozilla/doorman)
*Doorman* is an **authorization micro-service**.
* [Documentation](https://leplatrem.github.io/iam/)
* [Documentation](https://mozilla.github.io/doorman/)
## Run
@ -20,7 +20,7 @@ Doorman
mozilla/doorman
```
*Doorman* is now ready to respond authorization requests on `http://localhost:8080`. See [API docs](https://leplatrem.github.io/iam/).
*Doorman* is now ready to respond authorization requests on `http://localhost:8080`. See [API docs](https://mozilla.github.io/doorman/).
## Policies

Просмотреть файл

@ -11,7 +11,7 @@ import (
log "github.com/sirupsen/logrus"
"gopkg.in/yaml.v2"
"github.com/leplatrem/iam/utilities"
"github.com/mozilla/doorman/utilities"
)
type fileLoader struct{}

Просмотреть файл

@ -179,12 +179,12 @@ func TestLoadGithub(t *testing.T) {
assert.NotNil(t, err)
// Bad file
w = New([]string{"https://github.com/leplatrem/iam/raw/06a2531/main.go"})
w = New([]string{"https://github.com/mozilla/doorman/raw/06a2531/main.go"})
err = w.LoadPolicies()
assert.NotNil(t, err)
// Good URL
w = New([]string{"https://github.com/leplatrem/iam/raw/452ef7a/sample.yaml"})
w = New([]string{"https://github.com/mozilla/doorman/raw/452ef7a/sample.yaml"})
err = w.LoadPolicies()
assert.Nil(t, err)
assert.Equal(t, len(w.configs["https://sample.yaml"].Tags), 1)

Просмотреть файл

@ -1,4 +1,4 @@
package: github.com/leplatrem/iam
package: github.com/mozilla/doorman
import:
- package: github.com/gin-gonic/gin
version: ^1.2.0

Просмотреть файл

@ -7,8 +7,8 @@ import (
"github.com/gin-gonic/gin"
log "github.com/sirupsen/logrus"
"github.com/leplatrem/iam/doorman"
"github.com/leplatrem/iam/utilities"
"github.com/mozilla/doorman/doorman"
"github.com/mozilla/doorman/utilities"
)
// DefaultPoliciesFilename is the default policies filename.

Просмотреть файл

@ -2,11 +2,11 @@ name: Doorman
description: Doorman is an authorization micro-service
repository:
license: Mozilla Public Licence 2.0
url: https://github.com/leplatrem/iam
tests: https://travis-ci.org/leplatrem/iam/
url: https://github.com/mozilla/doorman
tests: https://travis-ci.org/mozilla/doorman/
participate:
irc: irc://irc.mozilla.org/#product-delivery
docs: https://github.com/leplatrem/iam
docs: https://github.com/mozilla/doorman
irc-contacts:
- Natim
- mostlygeek

Просмотреть файл

@ -295,7 +295,7 @@ paths:
build:
type: string
example:
source: https://github.com/leplatrem/iam
source: https://github.com/mozilla/doorman
version: "1.0"
commit: 490ed70efff482d17a
build: "20171102"

Просмотреть файл

@ -1,5 +1,5 @@
{
"source":"https://github.com/leplatrem/iam",
"source":"https://github.com/mozilla/doorman",
"version":"stub",
"commit":"stub",
"build":"stub"