Skip to content

Commit

Permalink
Merge pull request #129 from andrewwhitehead/demo-fixes
Browse files Browse the repository at this point in the history
Fixes for running agents via docker; fix for running demo agents directly
  • Loading branch information
swcurran authored Aug 9, 2019
2 parents 8aeb552 + f7fea5b commit f553b5e
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 17 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# 0.3.0

## August 9, 2019

- Ledger and wallet config updates; add support for transaction author agreements [#127](https://github.com/hyperledger/aries-cloudagent-python/pull/127)
- Handle duplicate schema in send_schema by always fetching first [#126](https://github.com/hyperledger/aries-cloudagent-python/pull/126)
- More flexible timeout support in detect_process [#125](https://github.com/hyperledger/aries-cloudagent-python/pull/125)
- Add start command to run_docker invocations [#119](https://github.com/hyperledger/aries-cloudagent-python/pull/119)
- Add issuer stored state [#114](https://github.com/hyperledger/aries-cloudagent-python/pull/114)
- Add admin route to create a presentation request without sending it [#112](https://github.com/hyperledger/aries-cloudagent-python/pull/112)
- Add -v option to aca-py executable to print version [#110](https://github.com/hyperledger/aries-cloudagent-python/pull/110)
- Fix demo presentation request, optimize credential retrieval [#108](https://github.com/hyperledger/aries-cloudagent-python/pull/108)
- Add pypi badge to README and make document link URLs absolute [#103](https://github.com/hyperledger/aries-cloudagent-python/pull/103)
- Add admin routes for creating and listing wallet DIDs, adjusting the public DID [#102](https://github.com/hyperledger/aries-cloudagent-python/pull/102)
- Update the running locally instructions based on feedback from Sam Smith [#101](https://github.com/hyperledger/aries-cloudagent-python/pull/101)
- Add support for multiple invocation commands, implement start/provision/help commands [#99](https://github.com/hyperledger/aries-cloudagent-python/pull/99)
- Add admin endpoint to send problem report [#98](https://github.com/hyperledger/aries-cloudagent-python/pull/98)
- Add credential received state transition [#97](https://github.com/hyperledger/aries-cloudagent-python/pull/97)
- Adding documentation for the routing version of the performance example [#94](https://github.com/hyperledger/aries-cloudagent-python/pull/94)
- Document listing the Aries RFCs supported by ACA-Py and reference to the list in the README [#89](https://github.com/hyperledger/aries-cloudagent-python/pull/89)
- Further updates to the running locally section of the demo README [#86](https://github.com/hyperledger/aries-cloudagent-python/pull/86)
- Don't extract decorators with names matching the 'data_key' of defined schema fields [#85](https://github.com/hyperledger/aries-cloudagent-python/pull/85)
- Allow demo scripts to run outside of Docker; add command line parsing [#84](https://github.com/hyperledger/aries-cloudagent-python/pull/84)
- Connection invitation fixes and improvements; support DID-based invitations [#82](https://github.com/hyperledger/aries-cloudagent-python/pull/82)

# 0.2.1

## July 16, 2019
Expand Down
10 changes: 6 additions & 4 deletions PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

0. The code to be published should be in the `master` branch.

1. Update the version number listed in [aries_cloudagent/version.py](aries_cloudagent/version.py). The incremented version number should adhere to the [Semantic Versioning Specification](https://semver.org/#semantic-versioning-specification-semver) based on the changes since the last published release.
1. Update CHANGELOG.md to include details of the closed PRs included in this release.

2. Create a new GitHub release. The tag name and title of the release should be the same as the version in [aries_cloudagent/version.py](aries_cloudagent/version.py).
2. Update the version number listed in [aries_cloudagent/version.py](aries_cloudagent/version.py). The incremented version number should adhere to the [Semantic Versioning Specification](https://semver.org/#semantic-versioning-specification-semver) based on the changes since the last published release.

3. Create a new [distribution package](https://packaging.python.org/glossary/#term-distribution-package) with `python setup.py sdist bdist_wheel`.
3. Create a new GitHub release. The tag name and title of the release should be the same as the version in [aries_cloudagent/version.py](aries_cloudagent/version.py). Include the additions to CHANGELOG.md in the release notes.

4. Publish the release to [PyPI](https://pypi.org) using [twine](https://pypi.org/project/twine/) with `twine upload dist/*`.
4. Create a new [distribution package](https://packaging.python.org/glossary/#term-distribution-package) with `python setup.py sdist bdist_wheel`

5. Publish the release to [PyPI](https://pypi.org) using [twine](https://pypi.org/project/twine/) with `twine upload dist/*`
6 changes: 4 additions & 2 deletions demo/runners/acme.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
import os
import sys

from .support.agent import DemoAgent, default_genesis_txns
from .support.utils import (
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # noqa

from runners.support.agent import DemoAgent, default_genesis_txns
from runners.support.utils import (
log_json,
log_msg,
log_status,
Expand Down
6 changes: 4 additions & 2 deletions demo/runners/alice.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
import os
import sys

from .support.agent import DemoAgent, default_genesis_txns
from .support.utils import (
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # noqa

from runners.support.agent import DemoAgent, default_genesis_txns
from runners.support.utils import (
log_json,
log_msg,
log_status,
Expand Down
6 changes: 4 additions & 2 deletions demo/runners/faber.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
import random
import sys

from .support.agent import DemoAgent, default_genesis_txns
from .support.utils import (
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # noqa

from runners.support.agent import DemoAgent, default_genesis_txns
from runners.support.utils import (
log_json,
log_msg,
log_status,
Expand Down
6 changes: 4 additions & 2 deletions demo/runners/performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
import random
import sys

from .support.agent import DemoAgent, default_genesis_txns
from .support.utils import log_timer, progress, require_indy
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # noqa

from runners.support.agent import DemoAgent, default_genesis_txns
from runners.support.utils import log_timer, progress, require_indy

LOGGER = logging.getLogger(__name__)

Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.demo
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ FROM bcgovimages/von-image:py36-1.11-0
ENV ENABLE_PTVSD 0

# Add and install Indy Agent code
ADD requirements.txt .
ADD requirements.dev.txt .
ADD requirements*.txt ./

RUN pip3 install --no-cache-dir -r requirements.txt -r requirements.dev.txt

Expand Down
4 changes: 1 addition & 3 deletions docker/Dockerfile.run
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ FROM bcgovimages/von-image:py36-1.11-0

ENV ENABLE_PTVSD 0

ADD requirements.txt .
ADD requirements.dev.txt .

ADD requirements*.txt ./

RUN pip3 install --no-cache-dir -r requirements.txt -r requirements.dev.txt

Expand Down

0 comments on commit f553b5e

Please sign in to comment.