oubiwann / clj-openstack Goto Github PK
View Code? Open in Web Editor NEWOpenStack API for Clojure
License: Eclipse Public License 1.0
OpenStack API for Clojure
License: Eclipse Public License 1.0
During hackweek in December, lots of little (expected) messes were made. This should be cleaned up.
This is a placeholder for now, but as I walk through the code, I'll add items here that need to be tackled (probably a branch for each) and we can close this ticket when those have been completed.
Now that we have moved to openstack, we need to be able to support users who want to connect to arbitrary endpoints.
Requirements:
login
function to take an optional key value parameter - :config <config name>
<config name>
is the provider section heading in the yaml file that the function will read~/.openstack/providers.ini
[rackspace]
username = alice
apikey = abc123
password = asecret
[trystack]
username = bob
apikey = def456
password = tuf2break
auth-endpoint =
region =
tenant-id =
tenant-name =
It is probably best to use clj-iniconfig for parsing this file.
Be sure to break all the logic into separate functions, put the appropriate ones in the utility module, and then have a single call to handle the config data inside the login function.
For the tests, just create ./test/files
and put appropriate .ini
files there.
For now, create a function for every possible section (provider) key for which we want to extract a value.
We'll need to have a function that creates the config dir if it doesn't exist. openstack.api
is what everyone will use to hit any services. As such, let's
Add a new profile: "testing-integration"
We need to support the following environment variables:
OS_AUTH_URL
OS_PASSWORD
OS_USERNAME
OS_TENANT_ID
OS_TENANT_NAME
OS_AUTH_URL
OS_TOKEN
OS_REGION_NAME
As part of this, let's remove the various RAX
* env settings in
identity.clj``.
Once the latest changes get merged from other branches, do this and update all the namespaces.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.