History | View | Annotate | Download (1.6 kB)
Remove keypath, use common dict operations instead
Replace get_path with dict indexing. Remove unused setting`CYCLADES_CUSTOMIZE_SERVICES' that used set_path. Remove the util/keypath.pymodule.
Revert "common: Do not encode key paths as string"
This reverts commit b10f66b9a20fb9dca0a56c88d5d224f1e3fa25ea.
common: Do not encode key paths as string
Handle explicitly key paths as lists of keys. This allows the keyto be any python object, as is the case in python dicts.
Provide utility unpack() to convert from a string representation toa list of keys. It assumes that a key is either a string or an integer...
Incorporate all resources into service definitions
- Add 'service_origin' key in resources, as the normative name of the service that exported it.- Keep resources backwards compatible, export-resource-service reads resources from the service list.
astakos: Import new-style services and resources
astakos: Control exposing resources in projects
Add attribute `allow_in_projects' in Resource model (True by default).Set this flag for astakos.pending_app to False in the descriptionof astakos resources.
astakos: Define and export local resources