Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
8ceda1c
[#126] Add test for size attribute in iRODSReplica
alanking May 15, 2018
7656902
[#126] Add size attribute to iRODSReplica
alanking May 15, 2018
ddb9cee
[#137] Add test for filename with ampersand
alanking Sep 25, 2018
42f5df7
[#137] Escape StringProperty values
alanking Sep 25, 2018
8a3f4c9
[#139] Use uppercase queries in tests
alanking Sep 26, 2018
3a651ea
[#140] Remove randomization from password test
alanking Sep 26, 2018
35bef9e
[#3] v0.8.1 and update changelog
trel Sep 27, 2018
3c46ea8
[#8] PAM Authentication
mdantonio Sep 15, 2018
bc1ec89
[#5] Remove commented-out import
alanking Dec 3, 2018
8330b7a
[irods#5] Add `.idea` directory to `.gitignore`
jonlandrum Dec 3, 2018
9c4cc4a
Fix specific query argument labeling
csklimowski Dec 3, 2018
d77cc04
[#150] test for specific query with arguments
trel Dec 6, 2018
53ac78d
[#148] DataObjectManager.put() can return the new data_object
jonlandrum Nov 30, 2018
5e41bdb
Update README.rst
trel Dec 7, 2018
800488b
Update README.rst
trel Jan 18, 2019
c5072ad
[#124] Add test for utf8 query
alanking Mar 15, 2019
4862d3f
[#124] Convert strings going to irods to Unicode
alanking Mar 15, 2019
556133a
add SSL connection example to README.md
trel May 10, 2019
d1a46ac
Allow dynamic I/O for rule from file
Jollyfant Jun 6, 2019
be2e3b6
Include resc_hier in replica information
Jun 19, 2019
cf54e99
Fix CAT_STATEMENT_TABLE_FULL by auto closing queries
cjsmeele Aug 6, 2019
42506a1
[#166] Test freeing statements in unfinished query
d-w-moore Aug 11, 2019
3fd432d
Add metadata property for user and usergroup objects
erwinvanwieringen Aug 8, 2019
027eaf2
Added user metadata tests to user_group_test.py
erwinvanwieringen Aug 9, 2019
57a43e2
[#167] test user/group AVU queries; clean up AVUs
d-w-moore Aug 17, 2019
0d9a14f
[#175] metadata property for instances of iRODSResource
d-w-moore Oct 18, 2019
14ebbdb
[#163] add keywords to query objects
d-w-moore Oct 1, 2019
d5677b8
[#3] v0.8.2 and update changelog
trel Nov 13, 2019
27faafb
[#3] updates for PyPI
trel Nov 13, 2019
38c7be7
[#3] update release date for v0.8.2
trel Nov 13, 2019
9474408
[#5] fix ssl example in README.rst
trel Nov 16, 2019
7427597
[#183] fix key error when tables from order_by() not in query()
d-w-moore Dec 10, 2019
8a75751
[#180] add the "in" genquery operator
d-w-moore Dec 8, 2019
ff426fa
[#135] Allow multiple criteria based on column name
d-w-moore Dec 12, 2019
d4306ef
[#135] fix queries for multiple AVUs of same name
d-w-moore Dec 16, 2019
007526e
[#187] Allow query on metadata create and modify times
d-w-moore Dec 10, 2019
f8979f8
Additional sections and examples in README
d-w-moore Dec 9, 2019
a306ebf
[irods/irods#4796] add data object copy tests
d-w-moore Mar 11, 2020
6cd44f5
[#5] clarify unlink specific replica example
trel Apr 2, 2020
abbc4a4
[#3] remove order sensitivity in test_user_dn
d-w-moore May 28, 2020
82fb71d
[#3] v0.8.3 and update changelog
trel Jun 5, 2020
423cef2
[#3] update changelog
trel Jun 5, 2020
7f52a8b
[#207] add raw-acl permissions getter
d-w-moore Jul 16, 2020
8937709
[#156] fix the PAM authentication with env json file.
gscteam Jan 16, 2020
904e61a
[#205] Disallow PAM plaintext passwords as strong default
d-w-moore Jul 14, 2020
55356fa
[#209] store hashed PAM pw
d-w-moore Jul 21, 2020
1214430
[#209] pam/ssl/env auth tests imported from test harness
d-w-moore Jul 22, 2020
be3e657
[#156] skip ssh/pam login tests if user doesn't exist
d-w-moore Aug 28, 2020
6f7be52
[#211] set and report application name to server
d-w-moore Aug 28, 2020
8ea65cb
[#214] store/load rules as utf-8 in files
d-w-moore Sep 4, 2020
ce04d53
[#3] tests failing on Python3 unicode defaults
d-w-moore Sep 4, 2020
bfd10d6
[#220] Replace stale connections pulled from idle pools
Oct 13, 2020
14ef665
[#221] fix tests which were failing in Py3.4 and 3.7
d-w-moore Oct 17, 2020
4f893eb
[#3] v0.8.4 and update changelog
trel Oct 19, 2020
9d2815d
Merge remote-tracking branch 'remotes/current/master' into openid_202…
Nov 5, 2020
4210229
[#220] Use connection create time (not last used time) to decide whet…
Nov 10, 2020
de3e3d3
[#3] v0.8.4 and update changelog
trel Nov 10, 2020
7f30caf
[#227] [#228] enable ICAT entries for zones and foreign-zone users
d-w-moore Nov 10, 2020
a17c6cf
Merge remote-tracking branch 'upstream/master' into openid_20201105
Nov 13, 2020
dc84374
Remove unneeded, non-existing import
Nov 13, 2020
3998d13
[#241][irods/irods_capability_automated_ingest#136] fix redundant dis…
d-w-moore Dec 10, 2020
b44b94f
[#239] add iRODSUser.comment attribute
pigay Dec 10, 2020
8817c9f
[#239] add iRODSUser.info attribute
pigay Dec 10, 2020
eaebbd9
[#239] to keep the tests passing
d-w-moore Dec 11, 2020
b9b0f34
[#230] Add force option to data_object_manager create
Nov 12, 2020
30acb40
[#226] Document creation of users.
Nov 13, 2020
5a6216d
[#244] added capability to add/remove atomic metadata
d-w-moore Jan 6, 2021
4f1e071
[#3] v0.8.6 and update changelog
trel Jan 22, 2021
b83dbc9
[#5] README formatting tweaks
trel Jan 23, 2021
c2df752
[#250] add exception for SYS_INVALID_INPUT_PARAM
d-w-moore Feb 4, 2021
12eb306
Add force option.
Feb 26, 2021
13594d0
[#255] make results of atomic metadata ops visible
d-w-moore Feb 26, 2021
56d5bf1
[#257] add pure python SSL session example
trel Mar 23, 2021
142c068
[#257] more clarity in example
trel Mar 24, 2021
9198987
Add functions and tests for obtaining temporary passwords issued by t…
PaulVanSchayck Apr 26, 2021
ee587e2
[#263] update documentation for connection_timeout
trel Apr 26, 2021
952de73
[#267] RuleExec model for genquery
d-w-moore May 5, 2021
5fc12da
[#221] minor revisions to get test suite consistently passing
d-w-moore Apr 17, 2021
ac6fb8b
[#221] DEST RESC in object open-for-write now required for some tests
d-w-moore Apr 20, 2021
97ec305
[#221] general server vsn override and test skip
d-w-moore Apr 21, 2021
6794aaf
[#260 irods/irods#5520] XML protocol will use BinBytesBuf in 4.2.9
d-w-moore Apr 2, 2021
8f79e42
[#221] add infrastructure and update tests for Jenkins client CI
d-w-moore Apr 26, 2021
dcd1f67
[#270] Speed up tests.
d-w-moore Apr 27, 2021
9a2469a
[#246] implementation of chksum for data object mgr
d-w-moore Jan 13, 2021
38072e9
[#233] add null handler for irods package root
d-w-moore Nov 20, 2020
75f6f0c
[#232] do not arbitrarily pick first replica for DEST RESC
d-w-moore Nov 19, 2020
67c228e
[#235] multithreaded parallel transfer for PUT and GET
d-w-moore Nov 18, 2020
682bc7e
[#3] codacy corrections
d-w-moore May 8, 2021
75684aa
[#21] Update README.rst regarding outdated versions of Python
d-w-moore May 10, 2021
776e9dc
[#269] cleanup() is now automatic with session destruct.
d-w-moore Jan 15, 2021
c168fcc
[#221] new way of syncing containers avoids false starts
d-w-moore May 12, 2021
193a18b
[#3] v0.9.0 and update changelog
trel May 15, 2021
f49368b
[#269] maintain account info in session cleanup
d-w-moore May 16, 2021
d506145
[#269] Update README.rst with regard to session cleanup
d-w-moore May 16, 2021
e1bdce5
[#274] calculate common vault dir for unicode query tests
d-w-moore May 27, 2021
232a2d7
[#3] v1.0.0 and update changelog
trel Jun 3, 2021
425357d
Merge remote-tracking branch 'upstream/master' into openid_20210628
Jun 28, 2021
ef823d7
Fix missing comma.
Jun 28, 2021
532c2eb
Expose creation time of collection; comments regarding other fields p…
Oct 27, 2021
5487a86
Merge pull request #4 from lexis-project/exposeCreationTime
RubenGarcia Oct 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ nosetests.xml
.settings
.project
.pydevproject
.idea

# Vim
*.s[a-w][a-z]
Expand Down
87 changes: 87 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,93 @@
Changelog
=========

v1.0.0 (2021-06-03)
-------------------
[#274] calculate common vault dir for unicode query tests [Daniel Moore]
[#269] better session cleanup [Daniel Moore]

v0.9.0 (2021-05-14)
-------------------
[#269] cleanup() is now automatic with session destruct [Daniel Moore]
[#235] multithreaded parallel transfer for PUT and GET [Daniel Moore]
[#232] do not arbitrarily pick first replica for DEST RESC [Daniel Moore]
[#233] add null handler for irods package root [Daniel Moore]
[#246] implementation of checksum for data object manager [Daniel Moore]
[#270] speed up tests [Daniel Moore]
[#260] [irods/irods#5520] XML protocol will use BinBytesBuf in 4.2.9 [Daniel Moore]
[#221] prepare test suite for CI [Daniel Moore]
[#267] add RuleExec model for genquery [Daniel Moore]
[#263] update documentation for connection_timeout [Terrell Russell]
[#261] add temporary password support [Paul van Schayck]
[#257] better SSL examples [Terrell Russell]
[#255] make results of atomic metadata operations visible [Daniel Moore]
[#250] add exception for SYS_INVALID_INPUT_PARAM [Daniel Moore]

v0.8.6 (2021-01-22)
-------------------
[#244] added capability to add/remove atomic metadata [Daniel Moore]
[#226] Document creation of users [Ruben Garcia]
[#230] Add force option to data_object_manager create [Ruben Garcia]
[#239] to keep the tests passing [Daniel Moore]
[#239] add iRODSUser.info attribute [Pierre Gay]
[#239] add iRODSUser.comment attribute [Pierre Gay]
[#241] [irods/irods_capability_automated_ingest#136] fix redundant disconnect [Daniel Moore]
[#227] [#228] enable ICAT entries for zones and foreign-zone users [Daniel Moore]

v0.8.5 (2020-11-10)
-------------------
[#220] Use connection create time to determine stale connections [Kaivan Kamali]

v0.8.4 (2020-10-19)
-------------------
[#221] fix tests which were failing in Py3.4 and 3.7 [Daniel Moore]
[#220] Replace stale connections pulled from idle pools [Kaivan Kamali]
[#3] tests failing on Python3 unicode defaults [Daniel Moore]
[#214] store/load rules as utf-8 in files [Daniel Moore]
[#211] set and report application name to server [Daniel Moore]
[#156] skip ssh/pam login tests if user doesn't exist [Daniel Moore]
[#209] pam/ssl/env auth tests imported from test harness [Daniel Moore]
[#209] store hashed PAM pw [Daniel Moore]
[#205] Disallow PAM plaintext passwords as strong default [Daniel Moore]
[#156] fix the PAM authentication with env json file. [Patrice Linel]
[#207] add raw-acl permissions getter [Daniel Moore]

v0.8.3 (2020-06-05)
-------------------
- [#3] remove order sensitivity in test_user_dn [Daniel Moore]
- [#5] clarify unlink specific replica example [Terrell Russell]
- [irods/irods#4796] add data object copy tests [Daniel Moore]
- [#5] Additional sections and examples in README [Daniel Moore]
- [#187] Allow query on metadata create and modify times [Daniel Moore]
- [#135] fix queries for multiple AVUs of same name [Daniel Moore]
- [#135] Allow multiple criteria based on column name [Daniel Moore]
- [#180] add the "in" genquery operator [Daniel Moore]
- [#183] fix key error when tables from order_by() not in query() [Daniel Moore]
- [#5] fix ssl example in README.rst [Terrell Russell]

v0.8.2 (2019-11-13)
-------------------
- [#8] Add PAM Authentication handling (still needs tests) [Mattia D'Antonio]
- [#5] Remove commented-out import [Alan King]
- [#5] Add .idea directory to .gitignore [Jonathan Landrum]
- [#150] Fix specific query argument labeling [Chris Klimowski]
- [#148] DataObjectManager.put() can return the new data_object [Jonathan Landrum]
- [#124] Convert strings going to irods to Unicode [Alan King]
- [#161] Allow dynamic I/O for rule from file [Mathijs Koymans]
- [#162] Include resc_hier in replica information [Brett Hartley]
- [#165] Fix CAT_STATEMENT_TABLE_FULL by auto closing queries [Chris Smeele]
- [#166] Test freeing statements in unfinished query [Daniel Moore]
- [#167] Add metadata for user and usergroup objects [Erwin van Wieringen]
- [#175] Add metadata property for instances of iRODSResource [Daniel Moore]
- [#163] add keywords to query objects [Daniel Moore]

v0.8.1 (2018-09-27)
-------------------
- [#140] Remove randomization from password test [Alan King]
- [#139] Use uppercase queries in tests [Alan King]
- [#137] Handle filenames with ampersands [Alan King]
- [#126] Add size attribute to iRODSReplica [Alan King]

v0.8.0 (2018-05-03)
-------------------
- Add rescName and replNum awareness. [Hao Xu]
Expand Down
29 changes: 29 additions & 0 deletions Dockerfile.prc_test.centos
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ARG os_image
FROM ${os_image}
ARG log_output_dir=/tmp
ENV LOG_OUTPUT_DIR="$log_output_dir"
ARG py_N
ENV PY_N "$py_N"

RUN yum install -y epel-release
RUN yum install -y git nmap-ncat sudo
RUN yum install -y python${py_N} python${py_N}-pip
RUN useradd -md /home/user -s /bin/bash user
RUN echo "user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
WORKDIR /home/user
COPY ./ ./repo/
RUN chown -R user repo/
USER user
RUN pip${py_N} install --user --upgrade pip==20.3.4 # - limit pip version for C7 system python2.7
RUN cd repo && python${py_N} -m pip install --user .
RUN python${py_N} repo/docker_build/iinit.py \
host irods-provider \
port 1247 \
user rods \
zone tempZone \
password rods
SHELL ["/bin/bash","-c"]
CMD echo "Waiting on iRODS server... " ; \
python${PY_N} repo/docker_build/recv_oneshot -h irods-provider -p 8888 -t 360 && \
sudo groupadd -o -g $(stat -c%g /irods_shared) irods && sudo usermod -aG irods user && \
newgrp irods < repo/run_python_tests.sh
36 changes: 36 additions & 0 deletions Dockerfile.prc_test.ubuntu
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
ARG os_image
FROM ${os_image}
ARG log_output_dir=/tmp
ENV LOG_OUTPUT_DIR="$log_output_dir"
ARG py_N
ENV PY_N "$py_N"

RUN apt update
RUN apt install -y git netcat-openbsd sudo
RUN apt install -y python${py_N} python${py_N}-pip
RUN useradd -md /home/user -s /bin/bash user
RUN echo "user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
WORKDIR /home/user
COPY ./ ./repo/
RUN chown -R user repo/
USER user
RUN pip${py_N} install --user --upgrade pip==20.3.4 # -- version specified for Ub16
RUN cd repo && python${py_N} -m pip install --user .
RUN python${py_N} repo/docker_build/iinit.py \
host irods-provider \
port 1247 \
user rods \
zone tempZone \
password rods

SHELL ["/bin/bash","-c"]

# -- At runtime: --
# 1. wait for provider to run.
# 2. give user group permissions to access shared irods directories
# 3. run python tests as the new group

CMD echo "Waiting on iRODS server... " ; \
python${PY_N} repo/docker_build/recv_oneshot -h irods-provider -p 8888 -t 360 && \
sudo groupadd -o -g $(stat -c%g /irods_shared) irods && sudo usermod -aG irods user && \
newgrp irods < repo/run_python_tests.sh
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include AUTHORS CHANGELOG.rst LICENSE.txt README.rst irods/test/README.rst irods/test/unicode_sampler.xml
include AUTHORS CHANGELOG.rst LICENSE.txt README.rst irods/test/README.rst irods/test/unicode_sampler.xml irods/test/test-data/*.json
Loading