Revision e60d9343 snf-pithos-webclient/pithos_webclient/services.py
b/snf-pithos-webclient/pithos_webclient/services.py | ||
---|---|---|
1 |
# Copyright 2011-2013 GRNET S.A. All rights reserved.
|
|
1 |
# Copyright (C) 2013 GRNET S.A. All rights reserved.
|
|
2 | 2 |
# |
3 | 3 |
# Redistribution and use in source and binary forms, with or |
4 | 4 |
# without modification, are permitted provided that the following |
... | ... | |
30 | 30 |
# documentation are those of the authors and should not be |
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 |
# |
|
33 |
|
|
34 | 34 |
|
35 | 35 |
pithos_services = { |
36 | 36 |
'pithos_object-store': { |
... | ... | |
39 | 39 |
'prefix': 'object-store', |
40 | 40 |
'public': True, |
41 | 41 |
'endpoints': [ |
42 |
{'version': 'v1', |
|
42 |
{'versionId': 'v1',
|
|
43 | 43 |
'publicURL': None}, |
44 |
]}, |
|
44 |
], |
|
45 |
'resources': { |
|
46 |
'diskspace': { |
|
47 |
"desc": "Pithos account diskspace", |
|
48 |
"name": "pithos.diskspace", |
|
49 |
"unit": "bytes", |
|
50 |
"service_type": "object-store", |
|
51 |
"service_origin": "pithos_object-store", |
|
52 |
}, |
|
53 |
}, |
|
54 |
}, |
|
45 | 55 |
|
46 | 56 |
'pithos_public': { |
47 | 57 |
'type': 'public', |
... | ... | |
49 | 59 |
'prefix': 'public', |
50 | 60 |
'public': True, |
51 | 61 |
'endpoints': [ |
52 |
{'version': 'v2.0', |
|
62 |
{'versionId': 'v2.0',
|
|
53 | 63 |
'publicURL': None}, |
54 |
]}, |
|
64 |
], |
|
65 |
'resources': {}, |
|
66 |
}, |
|
55 | 67 |
|
56 | 68 |
'pithos_ui': { |
57 | 69 |
'type': 'pithos_ui', |
58 | 70 |
'component': 'pithos', |
59 | 71 |
'prefix': 'ui', |
60 |
'public': True,
|
|
72 |
'public': False,
|
|
61 | 73 |
'endpoints': [ |
62 |
{'version': '', |
|
74 |
{'versionId': '',
|
|
63 | 75 |
'publicURL': None}, |
64 |
]}, |
|
76 |
], |
|
77 |
'resources': {}, |
|
78 |
}, |
|
65 | 79 |
} |
Also available in: Unified diff