Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / register.py @ b1cb2583

History | View | Annotate | Download (6.5 kB)

# Date Author Comment
c94dcec3 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Preserve visibility flags on register

When re-registering an existing resource, do not override the visibility
flags. They may have been modified by the administrator.

Also fix field naming in resource-list.

2e46be99 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Make limits possibly infinite

Register new resources with unlimited quota.

f72ba65d 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Preserve existing quota on default change

View the resource defaults as a skeleton to be consulted when accepting
a new user. All users keep their quota in AstakosUserQuota.

Operate resource-modify in bulk, in order to avoiding updating the
quotaholder separately for each resource.

2dc27ac1 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Add resource visibility flags

Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.
The former entails the latter.

85ae5a4c 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Restrict resource access in API

Make available in the API only resources with api_visible=True.

30edd93d 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Recompute quota when updating a resource

Avoid stateful update of holdings when a resource limit changes; rather
recompute and set all affected users' quota.

a1dae38d 11/12/2013 01:34 pm Christos Stavrakakis

Merge branch 'feature-cyclades-networks' into develop

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/server-inspect.py
snf-cyclades-app/synnefo/app_settings/urls.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/backend_allocator.py...

ccc5048f 11/08/2013 12:25 pm Giorgos Korfiatis

astakos: Relax checks in resource registration

Allow registering a resource for a different service, if it originates
from the same component.

6f8a3e6a 10/18/2013 05:14 pm Giorgos Korfiatis

astakos: Consider no base url in service register

Check whether component's base_url is None before assuming a string.

c7e03d20 10/09/2013 04:52 pm Giorgos Korfiatis

astakos: Remove custom ForUpdateManager

Remove custom manager that implemented select_for_update(), since this
is already implemented in Django 1.4.

51356707 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Fix service update

When registering a service that already exists, update its attributes.

eb765213 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Store base URL in component

Deployer should provide it when adding a new component. Service endpoints
originating from a component are expected to match its base URL; otherwise,
a warning is issued during service registration. Re-registration with...

51db2da2 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix some issues pointed out by pyflakes

38807757 06/04/2013 06:19 pm Giorgos Korfiatis

astakos: Register resources with services

If service-import finds resource definitions included in a service
definition, it imports them, too.

0e08e08e 06/04/2013 06:19 pm Giorgos Korfiatis

astakos: Record the service originating a resource

Add field service_origin in model Resource as well as in the
resource definitions, indicating the service where the resource
comes from. It is not a foreign key, in order to allow deleting
a component/service, without affecting registered resources and...

bd1f667b 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Import new-style services and resources