|
|
@ -343,7 +343,7 @@ func (srv *OkAPIServer) EnableService( |
|
|
|
Protocol: cnf.FetchProtocol.Protocol, |
|
|
|
Protocol: cnf.FetchProtocol.Protocol, |
|
|
|
Configuration: cnf.FetchProtocol.ConfigToOkapi(), |
|
|
|
Configuration: cnf.FetchProtocol.ConfigToOkapi(), |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Method: "BearerToken", |
|
|
|
Method: sharedmodel.AuthMethodDecozoBearerToken, |
|
|
|
Configuration: toStruct(map[string]interface{}{"token": "2222"}), |
|
|
|
Configuration: toStruct(map[string]interface{}{"token": "2222"}), |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|