Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dfss
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mpcs
dfss
Commits
db3d8512
Commit
db3d8512
authored
May 26, 2016
by
Caro Axel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unifomrizing imports
parent
3ee03370
Pipeline
#2311
passed with stage
Changes
28
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
37 additions
and
47 deletions
+37
-47
dfssc/security/files.go
dfssc/security/files.go
+3
-2
dfssc/security/request.go
dfssc/security/request.go
+2
-2
dfssc/security/security_test.go
dfssc/security/security_test.go
+1
-1
dfssc/sign/create_test.go
dfssc/sign/create_test.go
+0
-1
dfssc/user/authentication.go
dfssc/user/authentication.go
+2
-4
dfssc/user/authentication_test.go
dfssc/user/authentication_test.go
+1
-1
dfssc/user/client.go
dfssc/user/client.go
+0
-1
dfssc/user/config.go
dfssc/user/config.go
+3
-3
dfssc/user/config_test.go
dfssc/user/config_test.go
+2
-2
dfssc/user/register_test.go
dfssc/user/register_test.go
+4
-4
dfssc/user/unregister.go
dfssc/user/unregister.go
+2
-3
dfssp/authority/rootCA.go
dfssp/authority/rootCA.go
+1
-2
dfssp/contract/contract_test.go
dfssp/contract/contract_test.go
+0
-1
dfssp/contract/sequence_test.go
dfssp/contract/sequence_test.go
+2
-1
dfssp/entities/contract.go
dfssp/entities/contract.go
+1
-1
dfssp/entities/user.go
dfssp/entities/user.go
+1
-2
dfssp/user/auth_test.go
dfssp/user/auth_test.go
+1
-1
dfssp/user/create_test.go
dfssp/user/create_test.go
+1
-1
dfsst/entities/archivesManager.go
dfsst/entities/archivesManager.go
+0
-1
dfsst/entities/archivesManager_test.go
dfsst/entities/archivesManager_test.go
+1
-1
dfsst/entities/check_request.go
dfsst/entities/check_request.go
+1
-1
dfsst/resolve/resolve_test.go
dfsst/resolve/resolve_test.go
+1
-1
dfsst/server/server_test.go
dfsst/server/server_test.go
+1
-3
gui/userform/userform.go
gui/userform/userform.go
+0
-1
mgdb/manager_test.go
mgdb/manager_test.go
+2
-1
mockp/fixtures/authentication.go
mockp/fixtures/authentication.go
+3
-3
mockp/server/server.go
mockp/server/server.go
+0
-1
tests/impexp_test.go
tests/impexp_test.go
+1
-1
No files found.
dfssc/security/files.go
View file @
db3d8512
...
...
@@ -7,12 +7,13 @@ import (
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"dfss/auth"
"dfss/dfssc/common"
"encoding/base64"
"fmt"
"io"
"strings"
"dfss/auth"
"dfss/dfssc/common"
)
// GetCertificate return the Certificate stored on the disk
...
...
dfssc/security/request.go
View file @
db3d8512
...
...
@@ -3,10 +3,10 @@ package security
import
(
"crypto/rsa"
"dfss/auth"
"dfss/dfssc/common"
"fmt"
"dfss/auth"
"dfss/dfssc/common"
"github.com/spf13/viper"
)
...
...
dfssc/security/security_test.go
View file @
db3d8512
package
security
import
(
"dfss/dfssc/common"
"fmt"
"os"
"path/filepath"
"testing"
"dfss/dfssc/common"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
)
...
...
dfssc/sign/create_test.go
View file @
db3d8512
...
...
@@ -10,7 +10,6 @@ import (
"dfss/auth"
"dfss/mockp/server"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
)
...
...
dfssc/user/authentication.go
View file @
db3d8512
package
user
import
(
"errors"
"io/ioutil"
"regexp"
"time"
"github.com/spf13/viper"
"dfss/dfssc/common"
"dfss/dfssc/security"
pb
"dfss/dfssp/api"
"dfss/net"
"errors"
"github.com/spf13/viper"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
...
...
dfssc/user/authentication_test.go
View file @
db3d8512
package
user
import
(
"dfss/dfssc/common"
"fmt"
"os"
"testing"
"dfss/dfssc/common"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
)
...
...
dfssc/user/client.go
View file @
db3d8512
...
...
@@ -6,7 +6,6 @@ import (
"dfss/dfssc/security"
pb
"dfss/dfssp/api"
"dfss/net"
"github.com/spf13/viper"
)
...
...
dfssc/user/config.go
View file @
db3d8512
package
user
import
(
"dfss/auth"
"dfss/dfssc/common"
"dfss/dfssc/security"
"encoding/json"
"fmt"
"dfss/auth"
"dfss/dfssc/common"
"dfss/dfssc/security"
"github.com/spf13/viper"
)
...
...
dfssc/user/config_test.go
View file @
db3d8512
package
user
import
(
"dfss/dfssc/common"
"dfss/dfssc/security"
"fmt"
"os"
"path/filepath"
"testing"
"dfss/dfssc/common"
"dfss/dfssc/security"
"github.com/stretchr/testify/assert"
)
...
...
dfssc/user/register_test.go
View file @
db3d8512
package
user
import
(
"dfss/auth"
"dfss/dfssc/common"
"dfss/dfssc/security"
"dfss/mockp/server"
"fmt"
"os"
"path/filepath"
"testing"
"time"
"dfss/auth"
"dfss/dfssc/common"
"dfss/dfssc/security"
"dfss/mockp/server"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
)
...
...
dfssc/user/unregister.go
View file @
db3d8512
...
...
@@ -3,11 +3,10 @@ package user
import
(
"errors"
"golang.org/x/net/context"
"google.golang.org/grpc"
pb
"dfss/dfssp/api"
"dfss/net"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
// Unregister a user from the platform
...
...
dfssp/authority/rootCA.go
View file @
db3d8512
...
...
@@ -8,9 +8,8 @@ import (
"os"
"path/filepath"
"github.com/spf13/viper"
"dfss/auth"
"github.com/spf13/viper"
)
// PlatformID contains platform private key and root certificate
...
...
dfssp/contract/contract_test.go
View file @
db3d8512
...
...
@@ -11,7 +11,6 @@ import (
"dfss/dfssp/server"
"dfss/mgdb"
"dfss/net"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"gopkg.in/mgo.v2/bson"
...
...
dfssp/contract/sequence_test.go
View file @
db3d8512
package
contract_test
import
(
"testing"
"dfss/dfssp/contract"
"github.com/stretchr/testify/assert"
"testing"
)
var
refSeq
=
[]
uint32
{
0
,
1
,
2
,
0
,
1
,
2
,
0
,
1
,
2
}
// for n = 3
...
...
dfssp/entities/contract.go
View file @
db3d8512
...
...
@@ -2,9 +2,9 @@
package
entities
import
(
"dfss/mgdb"
"time"
"dfss/mgdb"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)
...
...
dfssp/entities/user.go
View file @
db3d8512
package
entities
import
(
"dfss/mgdb"
"time"
"dfss/mgdb"
"gopkg.in/mgo.v2/bson"
)
...
...
dfssp/user/auth_test.go
View file @
db3d8512
package
user_test
import
(
"dfss/dfssp/api"
"testing"
"time"
"dfss/dfssp/api"
"dfss/dfssp/entities"
"github.com/stretchr/testify/assert"
"golang.org/x/net/context"
...
...
dfssp/user/create_test.go
View file @
db3d8512
package
user_test
import
(
"dfss/dfssp/api"
"testing"
"time"
"dfss/dfssp/api"
"dfss/dfssp/entities"
"github.com/stretchr/testify/assert"
"golang.org/x/net/context"
...
...
dfsst/entities/archivesManager.go
View file @
db3d8512
...
...
@@ -4,7 +4,6 @@ package entities
import
(
cAPI
"dfss/dfssc/api"
"dfss/mgdb"
"gopkg.in/mgo.v2/bson"
)
...
...
dfsst/entities/archivesManager_test.go
View file @
db3d8512
package
entities
import
(
"crypto/sha512"
"fmt"
"os"
"testing"
"crypto/sha512"
cAPI
"dfss/dfssc/api"
"dfss/mgdb"
"github.com/stretchr/testify/assert"
...
...
dfsst/entities/check_request.go
View file @
db3d8512
...
...
@@ -2,9 +2,9 @@ package entities
import
(
"bytes"
"crypto/sha512"
"errors"
"crypto/sha512"
"dfss/auth"
cAPI
"dfss/dfssc/api"
pAPI
"dfss/dfssp/api"
...
...
dfsst/resolve/resolve_test.go
View file @
db3d8512
package
resolve
import
(
"crypto/sha512"
"fmt"
"os"
"testing"
"crypto/sha512"
cAPI
"dfss/dfssc/api"
"dfss/dfsst/entities"
"dfss/mgdb"
...
...
dfsst/server/server_test.go
View file @
db3d8512
...
...
@@ -10,12 +10,10 @@ import (
"path/filepath"
"testing"
"github.com/spf13/viper"
"dfss/auth"
"dfss/dfsst/entities"
"dfss/mgdb"
"github.com/spf13/viper"
"gopkg.in/mgo.v2/bson"
)
...
...
gui/userform/userform.go
View file @
db3d8512
...
...
@@ -7,7 +7,6 @@ import (
"dfss/dfssc/user"
"dfss/gui/common"
"dfss/gui/config"
"github.com/spf13/viper"
"github.com/visualfc/goqt/ui"
)
...
...
mgdb/manager_test.go
View file @
db3d8512
...
...
@@ -2,9 +2,10 @@ package mgdb
import
(
"fmt"
"gopkg.in/mgo.v2/bson"
"os"
"testing"
"gopkg.in/mgo.v2/bson"
)
type
card
struct
{
...
...
mockp/fixtures/authentication.go
View file @
db3d8512
package
fixtures
import
(
pb
"dfss/dfssp/api"
"dfss/dfssp/api"
)
// AuthFixture holds the fixture for the Auth route
var
AuthFixture
=
map
[
string
]
*
pb
.
RegisteredUser
{
"default"
:
&
pb
.
RegisteredUser
{
ClientCert
:
"default"
},
var
AuthFixture
=
map
[
string
]
*
api
.
RegisteredUser
{
"default"
:
&
api
.
RegisteredUser
{
ClientCert
:
"default"
},
}
mockp/server/server.go
View file @
db3d8512
...
...
@@ -9,7 +9,6 @@ import (
"dfss/dfssp/api"
"dfss/mockp/fixtures"
"dfss/net"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
...
...
tests/impexp_test.go
View file @
db3d8512
package
tests
import
(
"dfss/dfssc/common"
"io/ioutil"
"os"
"os/exec"
...
...
@@ -9,6 +8,7 @@ import (
"strings"
"testing"
"dfss/dfssc/common"
"github.com/stretchr/testify/assert"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment