Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change endpoints to pollination.solutions #132

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/continuous-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -29,10 +29,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- name: set up node
uses: actions/setup-node@v4
with:
node-version: '10.x'
registry-url: 'https://registry.npmjs.org'
- run: npx semantic-release@^17.0.0
node-version: 22.2.0
- run: npx semantic-release@^23.1.1
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# queenbee-pollination

queenbee-pollination extends [queenbee](https://github.com/ladybug-tools/queenbee) in order to interact with the [Pollination API](https://api.pollination.cloud).
queenbee-pollination extends [queenbee](https://github.com/pollination/queenbee) in order to interact with the [Pollination API](https://api.pollination.solutions).

## Installation

Expand All @@ -19,12 +19,12 @@ The CLI tool will authenticate to the Pollination API in one of two ways:

#### Env Vars

Set the following environment variable as your API token before running commands `QB_POLLINATION_TOKEN`.
Set the following environment variable as your API token before running commands `POLLINATION_TOKEN`.

Example for a bash shell:

```console
> export QB_POLLINATION_TOKEN=<some-long-token-string>
> export POLLINATION_TOKEN=<some-long-token-string>

> queenbee pollination project simulations list --project test-project --owner ladybug-tools
```
Expand Down
20 changes: 9 additions & 11 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
coverage==5.1
coveralls==2.1.1
pytest==5.4.3
pytest-cov==2.10.0
attrs==19.3.0
Sphinx==3.1.2
sphinx-bootstrap-theme==0.7.1
pytest==8.3.2
attrs>=19.3.0
Sphinx==8.0.2
sphinx-bootstrap-theme==0.8.1
sphinxcontrib-fulltoc==1.2.0
sphinxcontrib-websupport==1.2.3
twine==3.2.0
requests==2.24.0
wheel==0.34.2
sphinxcontrib-websupport==2.0.0
twine==3.4.1
requests>=2.24.0
wheel==0.36.2
pylint==2.6.0
setuptools==61.0.0
2 changes: 1 addition & 1 deletion queenbee_pollination/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class Client(object):
"""A Pollination client designed to interact with Workflow and Simulation objects."""

def __init__(self, api_token=None, access_token=None, host='https://api.pollination.cloud'):
def __init__(self, api_token=None, access_token=None, host='https://api.pollination.solutions'):
config = sdk.Configuration(
api_key={'APIKeyAuth': api_token}
)
Expand Down
4 changes: 2 additions & 2 deletions queenbee_pollination/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
class Config(BaseSettings):

endpoint: str = Field(
'https://api.pollination.cloud',
'https://api.pollination.solutions',
description='The API endpoint to use when making API calls',
env='QB_POLLINATION_ENDPOINT',
)

token: str = Field(
None,
description='The API token used to login to the API',
env='QB_POLLINATION_TOKEN'
env='POLLINATION_TOKEN'
)

jwt_token: str = Field(
Expand Down
Loading