Bjoern Schiessle
|
5ad86170c1
|
According to the OCM specification the body needs to be JSON encoded
see: https://github.com/GEANT/OCM-API/pull/37
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2019-02-19 17:32:01 +01:00 |
Bjoern Schiessle
|
8bc0de3469
|
log error messgage
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-11 10:11:44 +02:00 |
Bjoern Schiessle
|
7ff74ae8ed
|
cache results from ocm end-point discovery
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 12:43:43 +02:00 |
Bjoern Schiessle
|
411bae5163
|
fix return type from send share
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 12:43:43 +02:00 |
Bjoern Schiessle
|
e251b34a8c
|
cleanup variable naming, it is actually a resource type
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:31 +02:00 |
Bjoern Schiessle
|
84fc188dfc
|
some minor fixes and clode cleanup
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:29 +02:00 |
Bjoern Schiessle
|
fab4e561f4
|
send reshare over OCM API
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:28 +02:00 |
Bjoern Schiessle
|
c572e84ad9
|
detect correctly if a share was send successful
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:28 +02:00 |
Bjoern Schiessle
|
bbce8c3ea1
|
adjust to latest api version
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:28 +02:00 |
Bjoern Schiessle
|
af178ef19a
|
check API Version
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:27 +02:00 |
Bjoern Schiessle
|
db428ea547
|
send accept share notification (WIP)
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:27 +02:00 |
Bjoern Schiessle
|
a3948e8a12
|
use new API to send a federated share if possible
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:27 +02:00 |
Bjoern Schiessle
|
6208f250e8
|
check if cloud federation api is ready
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:27 +02:00 |
Bjoern Schiessle
|
5cfe20675d
|
start implementing federated sharing 2.0
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2018-07-02 11:29:27 +02:00 |