Commit Graph

5 Commits

Author SHA1 Message Date
Timur Nurlygayanov
2de25c8b6f Fixed many small issues. 2013-02-22 08:13:55 -05:00
Timur Nurlygayanov
1273092b6a Fixed small issues. 2013-02-20 08:23:06 -08:00
Georgy Okrokvertskhov
c138dd8f40 1. Added builders support. Each builder is a class dynamically loaded from
./windc/core/builders folder. The class name should be the same as module file name.
2. Updated core/api.py to support datacenter and service creation with extra parameters which are not defined by model explicitly.
3. Added event based approach for the windows environment change. Now when user submits a request to API the core updates database and initiates a new event which defined scope (datacenter, service, VM) and action (add, modify, delete). This event and data will be iterated over all registered builders. Each builder can use this event and data to plan some modification.
2013-02-12 15:05:27 -08:00
Georgy Okrokvertskhov
8994ffcab1 1. Fixed issue with main file start ./bin/windc-api
2. Added router to Route /datacenters/ and /services/ URLs
3. Added stubs for windc/core/api.
4. Fixed start-up process for service
-------------------------------------------------
Now it is working service which will reply for
curl http://localhost:8181/tenant_id/datacenters/
curl http://localhost:8181/tenant_id/datacenters/dc_id/services
curl http://localhost:8181/tenant_id/datacenters/dc_id/services/service_id
2013-02-11 14:13:20 -08:00
Georgy Okrokvertskhov
7d7d480d79 Initial version of the Windows DataCenter project. It is openstak-skeleton based. 2013-02-09 09:37:03 -08:00