Commit Graph

15 Commits

Author SHA1 Message Date
Andreas Jaeger e88f6b747a Retire craton
Remove everything, add a README with explanation.

Change-Id: I7c8fcfac0d904f144b6a3838d25db0987d1e74a5
2018-01-18 15:22:28 +01:00
Kevin Carter d464139d34
Move craton to a non-conflicting port
This change moves craton to a port that is not in use according to
/etc/services and is not being consumed by any other OpenStack service
as defined here: [
https://docs.openstack.org/newton/config-reference/firewalls-default-ports.html
].  This should allow other deployers to leverage craton in an way that
does not conflict with other OpenStack services already running in
production.

Change-Id: I2d0432b4c608cf11538d7b8f267eaf7be763204c
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-01 17:30:22 -06:00
Sulochan Acharya e92431cced Change config default to use pymysqldb
- Currently a fresh install will fail for
mysqldb since it lacks 3.5 support. PyMysql
is used by default already in the project.
This patch simply changes the config so it
works out of the box.

Closes Bug: 1666889

Change-Id: I0f73bba27430bab05b594af88e0a33f403073304
2017-02-22 13:21:43 +00:00
Ian Cordasco 7e49a8a0fc Add pre-configured paste pipelines
Since we're now more actively supporting Keystone authentication and
authorization, it makes sense to have pre-configured pipelines in our
Paste config that can be selected via our craton-api config file.

This adds the `paste_pipeline` config option in the api section. This
allows deployers to select which pipeline they want to use.

Change-Id: Ia67915afacd185210192cbff212a6f1080f0192a
2016-10-21 08:08:02 -05:00
Ian Cordasco 2407803170 Fix Keystone integration
We add the necessary Paste filters for Keystone middleware and context
usage inside of Craton so that operators can use Keystone for Identity
and Access Management of Craton.

We also clean up our Keystone Context Middleware to access the
attributes that the keystonemiddleware library set on a request object
so we can determine if the token sent has been validated and what the
roles the user own.

Due to the effort exerted to get this working, this also adds
documentation around how to set up Craton to use Keystone for identity
and adds a tiny script in the `tools/` directory so that one can explore
the API interactively with keystone authentication.

Change-Id: Ida86881f1e6097b1a1f6dec912f094c53c2f4cc2
2016-10-20 15:36:57 -05:00
Sulochan Acharya 393c7452f0 Change file names from inventory to craton-api
- Since its not just inventory, and the service
now includes everything craton the file names
should reflect the same.

Fixes Bug: 1630784

Change-Id: I0fb77942a92bbf2aacbf2c4a7d0c3104ed8bebfe
2016-10-05 23:35:32 +01:00
Sulochan Acharya 5c2737b935 Fix paths for docker_run.sh
Fixing file path on sample config and script
to ensure docker always finds the right path
when run under any evnironment.

Change-Id: Ida678f152eb585be54031b6ecba3aaf64574be6f
2016-09-01 22:40:36 +01:00
Jenkins dfcb644bcf Merge "Remove deprecated option 'DEFAULT/verbose'" 2016-08-25 13:05:16 +00:00
Syed Ahsan Shamim Zaidi 3ddd8ec3d5 Remove deprecated option 'DEFAULT/verbose'
Remove the deprecated option 'verbose' from the default group
in conf file since it will be ignored in the future

Change-Id: I0de9c1f0c1185ab5a37e920bdecc2000250be7b8
Closes-bug: #1616194
2016-08-23 19:56:08 +00:00
Sulochan Acharya 609182ff41 Fix imports and paths in cmd and paste.ini
It was not matching the paths anymore after
project was updated to new structure.

Closes Bug: 1614483

Change-Id: Ic323ebcd39d380bad8652931f7c6b55874c130f9
2016-08-18 12:01:38 +01:00
sulochan acharya e620f13a15 Cleanup sample config file
- Few cleanup such that we can use the sample
config file by default on localhost.
2016-06-22 22:43:48 +01:00
sulochan acharya f6e7e47065 Adds local auth checking api key for user
- We now check api key for every api request.
This key is set on users table for that user.

Resolves #88
2016-06-08 18:06:15 +01:00
sulochan acharya 14d960e763 Init logging on application start
- and cleanup conf sample

Resolves #66
2016-05-17 14:36:00 +01:00
sulochan acharya 48fcdaad25 Adds db interface for python api
Resolves #28
2016-05-09 09:35:56 +01:00
sulochan acharya 2fc9e827de Add auth middleware for basic auth
- Adds paste based deploy
- Adds middleware for both simple and keystone based auth
- Few restructuring
2016-05-03 19:16:58 +01:00