joss.javaswift.org
JOSS / Authentication
http://joss.javaswift.org/authentication.html
Java library for OpenStack Storage, aka Swift. JOSS supports two modes of authentication:. Authenticates against the Swift container. Authenticates against the Swift TempAuth module. Authenticates against a Keystone. Keystone authentication is the JOSS default. The JOSS authentication architecture. Is based on a stateful session. If both username and tenantName are passed, they will be appended with a colon as delimiter. Ie, user:tenant. If only username is passed, this value will be used. Keystone authe...
joss.javaswift.org
JOSS / Features
http://joss.javaswift.org/feature-matrix.html
Java library for OpenStack Storage, aka Swift. Below is the list of features mapped to the features of the OpenStack Swift REST API. Supported: prefix, marker, limit, format (always json). Supported: prefix, marker, limit, format (always json). Not supported: end marker, delimiter, path. Special Metadata: Container ACLs. Not supported: fine-grained authorization. Static Web Middleware via swift. Set Error Pages for Static Website. Automatically apply Swift convention for large objects.
joss.javaswift.org
JOSS / Release Notes
http://joss.javaswift.org/release-notes.html
Java library for OpenStack Storage, aka Swift. Added support for External authentication method. Added access to the manifest of StoredObjects. Bugfix for lacking hashCode in Directory.java. Absolute paths for mock fileset. If JOSS is required to pass extra, custom headers to Swift, which do not fit the standard pattern, you can now add these to the Container. JOSS will then take care to set these headers on the create request for a container. Flexible Basic / TempAuth username determination. When both u...
joss.javaswift.org
JOSS / Pagination
http://joss.javaswift.org/pagination.html
Java library for OpenStack Storage, aka Swift. Let us presume you have a list of 5 containers, like this:. Alpha beta gamma delta epsilon. The most basic form of pagination is the way the OpenStack API implemented it. You have to pass the point from where to continue and a page size. In this case, the next element after "beta" will be the starting point and a maximum of 2 elements will be added to the page. So the result will be:. Last record on the previous page. You have a number of containers (or obje...
joss.javaswift.org
JOSS / Wiring to Spring
http://joss.javaswift.org/spring.html
Java library for OpenStack Storage, aka Swift. In your Spring application context (ie, probably application-context.xml), you need the following beans:. Nltweeenveertig.openstack.client.factory.AccountConfig". Http:/ url.where.you.authenticate". Nltweeenveertig.openstack.client.factory.AccountFactory". Is the bean that will create the Account instance. Its method. Will be called to actually do that. Of course, it's also possible to wire your config bean using JNDI:. The account bean is meant for long-liv...
joss.javaswift.org
JOSS by javaswift
http://joss.javaswift.org/index.html
Java library for OpenStack Storage, aka Swift. JOSS is a Java client for the OpenStack Storage component. REST interface. In order to use it you must have an account with an OpenStack Storage provider, such as the CloudVPS Object Store. In order to use JOSS in your project, simply add the following dependency:. You can also download the artifact on Maven Search. Your Object Store provider will have provided you with the following information in order to authenticate yourself:. Alternatively, besides File.
joss.javaswift.org
JOSS / Future features
http://joss.javaswift.org/future-features.html
Java library for OpenStack Storage, aka Swift. Object Storage Swift API related functionality. Chunking - http:/ docs.openstack.org/api/openstack-object-storage/1.0/content/chunked-transfer-encoding.html. CORS - http:/ docs.openstack.org/api/openstack-object-storage/1.0/content/assigning-cors-headers-to-requests.html. Content encoding - http:/ docs.openstack.org/api/openstack-object-storage/1.0/content/enabling-file-compression-with-content-encoding-header.html. Automatically apply Swift convention for l...
joss.javaswift.org
JOSS / Economy of server calls
http://joss.javaswift.org/economy.html
Java library for OpenStack Storage, aka Swift. Economy of server calls. This page is aimed at helping you understand how JOSS decides when calls are made to the server. Is made. When you have re-authentication enabled, every time the token expires, JOSS will automatically re-authenticate with the server. On fetching lists of containers and objects, exactly. Is placed to the server. Note that for the following fields no extra calls are made if. You acquired the instance through the list operation:.
SOCIAL ENGAGEMENT