File: Upgrading%20to%201.7.0.md

package info (click to toggle)
owncloud 7.0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 104,192 kB
  • sloc: php: 403,584; xml: 5,843; perl: 630; cs: 504; sh: 453; sql: 271; python: 221; makefile: 104
file content (39 lines) | stat: -rw-r--r-- 1,246 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
## ObjectStore completely refactored

All functionality is documented in detail here. If you need a more in-depth look, most of the source code is commented
and has docblocks for each method.

## Renamed service methods

Factory methods in `OpenCloud\OpenStack` have been upgraded for greater consistency. The full range are:

### OpenStack services

- `objectStoreService`
- `computeService`
- `orchestrationService`
- `volumeService`

### Rackspace services

- `databaseService`
- `loadBalancerService`
- `dnsService`
- `cloudMonitoringService`
- `autoscaleService`
- `queuesService`

The arguments remain the same

## HTTP stuff

- Issuing HTTP requests are now a breeze: you can piggy-back off Guzzle\Http and issue your own requests if you so wish.
 For a full overview, please see the [official documentation](http://guzzlephp.org).

## Misc changes

- URLs are no longer returned as strings, but rather as `Guzzle\Http\Url` objects. To get a string representation, you
 can cast the object as a string: `(string) $url`

- The models of most services have had minor changes to their namespaces - which shouldn't matter if you've used the
convenience methods in the past. So a server, for example, is now `OpenCloud\Compute\Resource\Server`.