|
|
@ -376,13 +376,18 @@ func main() {
|
|
|
|
|
|
|
|
|
|
|
|
jwtService := initJWTService(!*flags.NoAuth)
|
|
|
|
jwtService := initJWTService(!*flags.NoAuth)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ldapService := initLDAPService()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gitService := initGitService()
|
|
|
|
|
|
|
|
|
|
|
|
cryptoService := initCryptoService()
|
|
|
|
cryptoService := initCryptoService()
|
|
|
|
|
|
|
|
|
|
|
|
digitalSignatureService := initDigitalSignatureService()
|
|
|
|
digitalSignatureService := initDigitalSignatureService()
|
|
|
|
|
|
|
|
|
|
|
|
ldapService := initLDAPService()
|
|
|
|
err := initKeyPair(fileService, digitalSignatureService)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
gitService := initGitService()
|
|
|
|
log.Fatal(err)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
clientFactory := initClientFactory(digitalSignatureService)
|
|
|
|
clientFactory := initClientFactory(digitalSignatureService)
|
|
|
|
|
|
|
|
|
|
|
@ -398,11 +403,6 @@ func main() {
|
|
|
|
endpointManagement = false
|
|
|
|
endpointManagement = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
err = initKeyPair(fileService, digitalSignatureService)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
log.Fatal(err)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
swarmStackManager, err := initSwarmStackManager(*flags.Assets, *flags.Data, digitalSignatureService, fileService)
|
|
|
|
swarmStackManager, err := initSwarmStackManager(*flags.Assets, *flags.Data, digitalSignatureService, fileService)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
log.Fatal(err)
|
|
|
|
log.Fatal(err)
|
|
|
|