Commit Graph

720 Commits

Author SHA1 Message Date
Peter Hamilton 5c5012f524 Add AttestationCredential support
This change adds an implementation of the AttestationCredential
introduced in KMIP 1.2. The underlying Nonce struct is included.
Unit test suites for both objects are provided. Finally, the
Credential struct has also been updated to support the new
credential type.
2018-03-03 09:34:43 -05:00
Peter Hamilton c9c72e172e
Merge pull request #396 from OpenKMIP/feat/remove-client-base
Remove legacy base class code for the original client
2018-02-26 15:33:06 -05:00
Peter Hamilton fc2ff5d04c Remove legacy base class code for the original client
This change removes the legacy KMIP base class that was originally
used for the KMIPProxy client. The base class simply defined the
KMIP operation methods that the client should support. It has not
been actively used to guide client development for some time and
now just clutters up the code base. The KMIPProxy class has been
updated to remove any reference to this original base class.
2018-02-26 15:02:42 -05:00
Peter Hamilton 77ec2a3648
Merge pull request #395 from OpenKMIP/feat/update-auth-struct
Update the Authentication object
2018-02-26 14:27:28 -05:00
Peter Hamilton 8d492fcda4 Update the Authentication object
This change updates the Authentication object, taking into account
the recent changes made to the Credential object hierarchy. A new
comprehensive unit test suite has been added for the Authentication
object. Usage of the object in the PyKMIP server has also been
updated to reflect these changes.
2018-02-26 10:23:25 -05:00
Peter Hamilton f72995490f
Merge pull request #394 from OpenKMIP/feat/update-credential
Update the Credential objects
2018-02-25 11:00:13 -05:00
Peter Hamilton 86b23a9d53 Update the Credential objects
This change updates the implementation of the Credential objects.
The UsernamePassword and Device credentials are now first-class
objects and, along with the base Credential, have been restructured
to match the current struct style. Comprehensive unit test suites
for each class have been added. Additionally, the credential
factory code and its usage in the KMIPProxy class and associated
test suites have been updated to reflect this change.
2018-02-25 10:29:52 -05:00
Peter Hamilton 08f22b424c
Merge pull request #391 from OpenKMIP/feat/add-policy-integration-tests
Update the Travis CI config to add policies for integration tests
2018-02-22 14:08:08 -05:00
Peter Hamilton 499328b077
Merge pull request #392 from OpenKMIP/feat/update-protocol-version
Update the ProtocolVersion implementation
2018-02-22 14:07:56 -05:00
Peter Hamilton dd4a078cc1 Update the ProtocolVersion implementation
This change updates the implementation of the ProtocolVersion
struct, bringing it inline with the current struct style. All
uses of the struct have been updated to reflect these changes,
as have the struct unit tests.
2018-02-22 13:35:11 -05:00
Peter Hamilton ba746775d3 Update the Travis CI config to add policies for integration tests
This change updates the files used by Travis CI to set up the
PyKMIP server used for integration testing, specifically adding in
support for custom operation policies.
2018-02-20 13:03:55 -05:00
Peter Hamilton 4df9273bae
Merge pull request #390 from OpenKMIP/feat/update-policy-examples
Update operation policy file examples
2018-02-20 08:51:54 -05:00
Peter Hamilton b6e881cc64
Merge pull request #389 from OpenKMIP/feat/support-group-policies
Update the server to support group-based operation policies
2018-02-20 08:51:37 -05:00
Peter Hamilton 78190bbdce Update operation policy file examples
This change updates the operation policy files provided under the
examples directory to reflect the new group-based policy model. A
future patch will include documentation describing this model.
2018-02-19 12:25:21 -05:00
Peter Hamilton 61347d80b6 Update the server to support group-based operation policies
This change updates the PyKMIP server, allowing it to process and
use group-based operation policies. The server still supports the
original operation policy file format, so no immediate difference
should be apparent to users. Future documentation changes will
explain group-based policy files and how they should be used.
2018-02-19 12:12:40 -05:00
Peter Hamilton 7f8ace909c
Merge pull request #388 from OpenKMIP/feat/update-gitignore
Update and clean up .gitignore
2018-02-14 16:58:27 -05:00
Peter Hamilton 23045b6b6e
Merge pull request #387 from OpenKMIP/feat/update-license
Update the project license, removing an unneeded appendix
2018-02-14 16:07:07 -05:00
Peter Hamilton 488b8e59e9 Update and clean up .gitignore
This change updates .gitignore, adding new entries and reorganizing
and pruning existing ones.
2018-02-14 15:55:27 -05:00
Peter Hamilton e3b24f9f50 Update the project license, removing an unneeded appendix 2018-02-12 13:49:11 -05:00
Peter Hamilton 425b87938f
Merge pull request #376 from OpenKMIP/feat/add-poll-payload
Add payload for the Poll operation
2017-12-13 08:59:13 -05:00
Peter Hamilton 21fbb6ab3f
Merge pull request #372 from OpenKMIP/feat/add-obtain-lease-payloads
Add payloads for the ObtainLease operation
2017-12-12 14:44:22 -05:00
Peter Hamilton fe52d7a03d
Merge pull request #375 from OpenKMIP/feat/add-recover-payloads
Add payloads for the Recover operation
2017-12-12 13:50:37 -05:00
Peter Hamilton d59ff58cf4
Merge pull request #370 from OpenKMIP/feat/add-check-payloads
Add payloads for the Check operation
2017-12-12 10:21:00 -05:00
Peter Hamilton c3a7eef59c
Merge pull request #373 from OpenKMIP/feat/add-get-usage-allocation-payloads
Add payloads for the GetUsageAllocation operation
2017-12-12 08:45:05 -05:00
Peter Hamilton a9d1683c4d
Merge pull request #377 from OpenKMIP/feat/add-cancel-payloads
Add payloads for the Cancel operation
2017-12-11 17:00:13 -05:00
Peter Hamilton 07be1cd585
Merge pull request #384 from OpenKMIP/feat/remove-unused-errors
Remove unused error code
2017-12-08 14:20:43 -05:00
Peter Hamilton b84af4f88d Add payload for the Poll operation
This change adds the request payload for the Poll operation. A unit
test suite for the payload is included. The payload can be imported
directly from the payloads package.
2017-12-08 13:10:34 -05:00
Peter Hamilton d984c77211
Merge pull request #374 from OpenKMIP/feat/add-archive-payloads
Add payloads for the Archive operation
2017-12-08 12:16:51 -05:00
Peter Hamilton 42da7f1d15 Add payloads for the ObtainLease operation
This change adds request and response payloads for the ObtainLease
operation. Unit test suites are included for both payloads and
both payloads can be imported directly from the payloads package.
2017-12-08 11:36:25 -05:00
Peter Hamilton db7c56b37c
Merge pull request #382 from OpenKMIP/feat/remove-key-factory
Remove dead KeyFactory code
2017-12-08 11:07:56 -05:00
Peter Hamilton 637f358db7
Merge pull request #378 from OpenKMIP/feat/remove-dead-object-code
Remove dead object code
2017-12-08 10:01:14 -05:00
Peter Hamilton 553ee285ac
Merge pull request #363 from OpenKMIP/feat/update-test-infra
Update the Travis CI infrastructure to run integration tests
2017-12-08 08:44:16 -05:00
Peter Hamilton 827b682583 Add payloads for the Recover operation
This change adds request and response payloads for the Recover
operation. Unit test suites are included for both payloads and
both payloads can be imported directly from the payloads package.
2017-12-08 08:43:06 -05:00
Peter Hamilton 53cbab7396 Add payloads for the Check operation
This change adds the request and response payloads needed for the
Check operation. Unit tests have been added to cover the new
payload structures.
2017-12-08 06:26:25 -05:00
Peter Hamilton 4c4bddc521 Add payloads for the GetUsageAllocation operation
This change adds request and response payloads for the
GetUsageAllocation operation. Unit test suites are included for
both payloads and both payloads can be imported directly from the
payloads package.
2017-12-08 05:58:40 -05:00
Peter Hamilton f23dde88cf Add payloads for the Cancel operation
This change adds request and response payloads for the Cancel
operation. Unit test suites are included for both payloads. Both
payloads can be imported directly from the payloads package.
2017-12-08 05:09:44 -05:00
Peter Hamilton 54b1df7726 Remove unused error code
This change removes unused exceptions defined in core/errors.py,
along with the errors.py module itself. The few used items from
this file are migrated over to core/exceptions.py. Any dependent
code is updated, dropping the use of errors.py and adding in the
use of exceptions.py.
2017-12-07 20:59:23 -05:00
Peter Hamilton 0b08301606 Add payloads for the Archive operation
This change adds request and response payloads for the Archive
operation. Unit test suites are included for both payloads and
both payloads can be imported directly from the payloads package.
2017-12-07 19:04:36 -05:00
Peter Hamilton 187ed7e924 Remove dead KeyFactory code
This change removes the KeyFactory code from the factories package.
It was unused and has been replaced with direct key object creation
where needed.
2017-12-07 18:15:54 -05:00
Peter Hamilton 65bea78cad Remove dead object code
This change removes dead, unused code in core/objects.py. No other
changes are included.
2017-12-07 16:40:36 -05:00
Peter Hamilton ce51ea65f8 Update the Travis CI infrastructure to run integration tests
This change updates the Travis CI configuration to support running
the PyKMIP integation test suite. A custom run.sh script is added
which conditionally runs tox based on an environment flag set in
.travis.yml. If integration tests are activated, the test VM will
be prepped for running the PyKMIP server; this includes creating
/etc/pykmip content, like pykmip.conf and server.conf, along with
a basic certificate to use for both the client and server.
2017-12-07 16:03:22 -05:00
Peter Hamilton 26af4b3404
Merge pull request #383 from OpenKMIP/feat/drop-python-3.3-support
Drop Python 3.3 support
2017-12-07 15:56:01 -05:00
Peter Hamilton c6ba51c2ac Drop Python 3.3 support
This change drops Python 3.3 support for PyKMIP. Python 3.3 was
released over 5 years ago and has reached end-of-life as of
September 19, 2017 with the 3.3.7 release. Library dependencies
have begun to drop Python 3.3 support as well.
2017-12-07 14:53:53 -05:00
Peter Hamilton d27d838db2
Merge pull request #380 from OpenKMIP/feat/update-readme
Update README to align with new project documentation
2017-12-07 13:20:44 -05:00
Peter Hamilton 7895d4c820
Merge pull request #379 from OpenKMIP/feat/update-client-docs
Updating the client documentation with configuration info
2017-12-07 13:20:23 -05:00
Peter Hamilton 0c046b173d Updating the client documentation with configuration info
This change updates the client documentation, adding in the
client configuration information available in the README. This
consolidates all client information in the same place and
prepares the README for an upcoming change.
2017-12-07 10:53:08 -05:00
Peter Hamilton 8db92c32b9 Update README to align with new project documentation
This change updates the project README, dropping most of the old
README content and replacing it with snippets taken from the new
project documentation. Users and developers should reference the
project docs as their main source of information from now on.
2017-12-07 10:52:38 -05:00
Peter Hamilton bd9e28e10e
Merge pull request #371 from OpenKMIP/maint/temp-pin-pytest
Temporarily pin pytest to <3.3
2017-12-04 11:19:24 -05:00
Peter Hamilton cc7f3e022a Temporarily pin pytest to <3.3
This change pins the pytest requirement to <3.3 to allow for
continuing Python 3.3 support. This change will be reverted once
official support for Python 3.3 is dropped from PyKMIP.
2017-12-04 10:51:56 -05:00
Peter Hamilton 0f85a9016b
Merge pull request #369 from OpenKMIP/feat/update-tox-doc-tests
Update the Travis CI config to test doc building
2017-11-20 14:34:36 -05:00