
Add bookable room to summit POST /api/v1/summits/{id}/locations/venues/{venue_id}/bookable-rooms payload time_slot_cost: required|numeric currency:required|iso_currency_code(USD,EUR) capacity:required|integer floor_id:sometimes|integer name:sometimes|string|max:255 description:sometimes|string order:sometimes|integer|min:1 update bookable room per summit PUT /api/v1/summits/{id}/locations/venues/{venue_id}/bookable-rooms/{room_id} payload time_slot_cost: required|numeric currency:required|iso_currency_code(USD,EUR) capacity:required|integer floor_id:sometimes|integer name:sometimes|string|max:255 description:sometimes|string order:sometimes|integer|min:1 delete bookable room DELETE /api/v1/summits/{id}/locations/venues/{venue_id}/bookable-rooms/{room_id} add attribute value to bookable room PUT /api/v1/summits/{id}/locations/venues/{venue_id}/bookable-rooms/{room_id}/attributes/{attribute_id} delete attribute value from bookable room DELETE /api/v1/summits/{id}/locations/venues/{venue_id}/bookable-rooms/{room_id}/attributes/{attribute_id} Added missing endpoints to CRUD bookable rooms attributes per summit Get all bookable rooms attribute types GET /api/v1/summits/{id}/bookable-room-attribute-types Get bookable room attribute type by id GET /api/v1/summits/{id}/bookable-room-attribute-types/{type_id} Add bookable room attribute type POST /api/v1/summits/{id}/bookable-room-attribute-types payload type [required|string] Update bookable room attribute type PUT /api/v1/summits/{id}/bookable-room-attribute-types/{type_id} payload type [required|string] delete attribute type by id DELETE /api/v1/summits/{id}/bookable-room-attribute-types/{type_id} get all attribute values by attribute type GET /api/v1/summits/{id}/bookable-room-attribute-types/{type_id}/values add attribute value to attribute type POST /api/v1/summits/{id}/bookable-room-attribute-types/{type_id}/values payload value [required|string] update attribute value PUT /api/v1/summits/{id}/bookable-room-attribute-types/{type_id}/values/{value_id} payload value [required|string] delete attribute value by id DELETE /api/v1/summits/{id}/bookable-room-attribute-types/{type_id}/values/{value_id} refund endpoint (admin only) DELETE /api/v1/summits/{id}/bookable-rooms/{room_id}/reservations/{reservation_id}/refund payload amount [numeric|required] get all reservations by summit (admin) GET /api/v1/summits/{id}/locations/bookable-rooms/all/reservations query params page:integer|min:1 per_page:required_with:page|integer|min:1|max:100 filter: allowed filters summit_id: ['=='] room_name: ['==', '=@'] room_id: ['=='] owner_id: ['=='] status: ['=='] start_datetime: ['>', '<', '<=', '>=', '=='] end_datetime: ['>', '<', '<=', '>=', '=='] order allowed ordering id,start_datetime,end_datetime Change-Id: Ic7f6ed7defaf20b8799a7d94beb0a82103b206f0
OpenStackId Resource Server
Prerequisites
* LAMP/LEMP environment
* PHP >= 7.1
* Redis
* composer (https://getcomposer.org/)
Install
run following commands on root folder
- curl -s https://getcomposer.org/installer | php
- php composer.phar install --prefer-dist
- php composer.phar dump-autoload --optimize
- php artisan migrate --env=YOUR_ENVIRONMENT
- php artisan db:seed --env=YOUR_ENVIRONMENT
- phpunit --bootstrap vendor/autoload.php
- php artisan doctrine:generate:proxies
- php artisan doctrine:clear:metadata:cache
- php artisan doctrine:clear:query:cache
- php artisan doctrine:clear:result:cache
- php artisan doctrine:ensure:production
- php artisan route:clear
- php artisan route:cache
- give proper rights to storage folder (775 and proper users)
- chmod 777 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer
Permissions
Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server.
create SS schema
php artisan doctrine:schema:create --sql --em=model > ss.sql
Doctrine Migrations
For Config Storage
create new migration
php artisan doctrine:migrations:generate --connection=config --create=
check status
php artisan doctrine:migrations:status --connection=config
run
php artisan doctrine:migrations:migrate --connection=config
For Model Storage
create new migrations
php artisan doctrine:migrations:generate --connection=model --create=
check status
php artisan doctrine:migrations:status --connection=model
run
php artisan doctrine:migrations:migrate --connection=model
Description