Skip to content

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hiwakaba committed Oct 4, 2024
1 parent 2c8af41 commit 3021ba7
Show file tree
Hide file tree
Showing 48 changed files with 753 additions and 1,425 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# -*- coding: utf-8 -*-
#
# K2HDKC DBaaS based on Trove
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright (c) 2020 Yahoo Japan Corporation
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
Expand All @@ -29,11 +35,6 @@ jobs:
build:

runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/k2hr3client
permissions:
id-token: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -74,7 +75,9 @@ jobs:
run: python -m build
- name: Publish distribution to PyPI
if: ${{ matrix.python-version == '3.11' && startsWith(github.ref, 'refs/tags') }}
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}

#
# Local variables:
Expand Down
14 changes: 7 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#
# K2HDKC DBaaS based on Trove
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HDKC DBaaS is a Database as a Service compatible with Trove which
# is DBaaS for OpenStack.
# Using K2HR3 as backend and incorporating it into Trove to provide
# DBaaS functionality. K2HDKC, K2HR3, CHMPX and K2HASH are components
# provided as AntPickax.
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
Expand Down
15 changes: 11 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# K2HDKC DBaaS based on Trove
#
# Copyright (c) 2022 Yahoo Japan Corporation
#
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
#
# AUTHOR: Hirotaka Wakabayashi
# CREATE: Tue Feb 08 2022
# REVISION:
Expand Down
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
History
=======

1.1.0 (2024-10-04)
-------------------

* Removes the deprecated Interfaces
* Removes the examples
* Updates the docs

1.0.3 (2024-10-03)
-------------------

Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#
# K2HDKC DBaaS based on Trove
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HDKC DBaaS is a Database as a Service compatible with Trove which
# is DBaaS for OpenStack.
# Using K2HR3 as backend and incorporating it into Trove to provide
# DBaaS functionality. K2HDKC, K2HR3, CHMPX and K2HASH are components
# provided as AntPickax.
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
Expand Down
2 changes: 0 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ Let's try to get a token and create a resource.::
... name=k2hr3_resource_name,
... data_type="string",
... data="testresourcedata",
... tenant="demo",
... cluster_name="testcluster",
... keys={
... "cluster-name": "test-cluster",
... "chmpx-server-port": "8020",
Expand Down
14 changes: 7 additions & 7 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#
# K2HDKC DBaaS based on Trove
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HDKC DBaaS is a Database as a Service compatible with Trove which
# is DBaaS for OpenStack.
# Using K2HR3 as backend and incorporating it into Trove to provide
# DBaaS functionality. K2HDKC, K2HR3, CHMPX and K2HASH are components
# provided as AntPickax.
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
Expand Down
12 changes: 9 additions & 3 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# -*- coding: utf-8 -*-
#
# K2HDKC DBaaS based on Trove
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright (c) 2022 Yahoo Japan Corporation
# Copyright (c) 2024 LY Corporation
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
Expand Down
14 changes: 10 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# -*- coding: utf-8 -*-
#
# K2HDKC DBaaS based on Trove
#
# Copyright (c) 2022 Yahoo Japan Corporation
# Copyright (c) 2024 LY Corporation
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
Expand Down
38 changes: 27 additions & 11 deletions docs/locale/ja/LC_MESSAGES/history.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: k2hr3client \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-03 18:04+0900\n"
"POT-Creation-Date: 2024-10-04 20:13+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: ja\n"
Expand All @@ -26,46 +26,62 @@ msgid "History"
msgstr "歴史"

#: ../../../HISTORY.rst:6
msgid "1.0.3 (2024-10-03)"
msgid "1.1.0 (2024-10-04)"
msgstr ""

#: ../../../HISTORY.rst:8
msgid "Removes the deprecated Interfaces"
msgstr "非推奨のインタフェースを削除"

#: ../../../HISTORY.rst:9
msgid "Removes the examples"
msgstr "例示プログラムの削除"

#: ../../../HISTORY.rst:10
msgid "Updates the docs"
msgstr "ドキュメントの更新"

#: ../../../HISTORY.rst:13
msgid "1.0.3 (2024-10-03)"
msgstr ""

#: ../../../HISTORY.rst:15
msgid "Fixes the K2hr3 API version"
msgstr "K2hr3 APIのバージョンを固定化"

#: ../../../HISTORY.rst:9
#: ../../../HISTORY.rst:16
msgid "Deprecates K2hr3Resource.create_conf_resource params"
msgstr "K2hr3Resource.create_conf_resourceのパラメータを一部非推奨化"

#: ../../../HISTORY.rst:12
#: ../../../HISTORY.rst:19
msgid "1.0.2 (2024-09-26)"
msgstr ""

#: ../../../HISTORY.rst:14
#: ../../../HISTORY.rst:21
msgid "Fixes lint errors"
msgstr "静的解析ツールのエラーを修正"

#: ../../../HISTORY.rst:17
#: ../../../HISTORY.rst:24
msgid "1.0.1 (2024-09-25)"
msgstr ""

#: ../../../HISTORY.rst:19
#: ../../../HISTORY.rst:26
msgid "Fixes resource API bugs"
msgstr "Resource APIの不具合を修正"

#: ../../../HISTORY.rst:22
#: ../../../HISTORY.rst:29
msgid "1.0.0 (2024-08-28)"
msgstr ""

#: ../../../HISTORY.rst:24
#: ../../../HISTORY.rst:31
msgid "Supports the other APIs"
msgstr "他のAPIをサポート"

#: ../../../HISTORY.rst:27
#: ../../../HISTORY.rst:34
msgid "0.0.1 (2020-08-28)"
msgstr ""

#: ../../../HISTORY.rst:29
#: ../../../HISTORY.rst:36
msgid "Supports Token, Resource, Policy and Role API"
msgstr "トークン、リソース、ポリシーおよびロールAPIをサポート"

13 changes: 6 additions & 7 deletions docs/locale/ja/LC_MESSAGES/k2hr3client.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: k2hr3client \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-26 10:42+0900\n"
"POT-Creation-Date: 2024-10-04 20:13+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: ja\n"
Expand Down Expand Up @@ -325,10 +325,6 @@ msgstr "https://k2hr3.antpick.ax/api_resource.html を参照する"
msgid "Create the resource."
msgstr "リソースを作成する"

#: k2hr3client.resource.K2hr3Resource.data:1 of
msgid "Return data."
msgstr "データを返す"

#: k2hr3client.resource.K2hr3Resource.delete_with_notoken:1 of
msgid "Delete the resource without token."
msgstr "ロールトークン情報なしでリソースを削除する"
Expand Down Expand Up @@ -649,11 +645,11 @@ msgstr "https://k2hr3.antpick.ax/api_version.html を参照する"

#: k2hr3client.version.K2hr3Version.get:1 of
msgid "Get the version."
msgstr ""
msgstr "Version APIからバージョンを取得する"

#: ../../k2hr3client.rst:120
msgid "Module contents"
msgstr ""
msgstr "モジュールのコンテンツ"

#: k2hr3client.get_version:1 of
#, fuzzy
Expand All @@ -674,3 +670,6 @@ msgstr "バージョン"
msgid "Return type"
msgstr "データを返す"

#~ msgid "Return data."
#~ msgstr "データを返す"

12 changes: 9 additions & 3 deletions docs/make.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# -*- coding: utf-8 -*-
#
# K2HDKC DBaaS based on Trove
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright (c) 2022 Yahoo Japan Corporation
# Copyright (c) 2024 LY Corporation
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
Expand Down
12 changes: 9 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# -*- coding: utf-8 -*-
#
# K2HDKC DBaaS based on Trove
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright (c) 2022 Yahoo Japan Corporation
# Copyright (c) 2024 LY Corporation
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
Expand Down
13 changes: 6 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# -*- coding: utf-8 -*-
#
#
# K2HDKC DBaaS based on Trove
# k2hr3client - Python client for K2HR3 REST API
#
# Copyright 2020 Yahoo Japan Corporation
# Copyright 2024 LY Corporation
#
# K2HDKC DBaaS is a Database as a Service compatible with Trove which
# is DBaaS for OpenStack.
# Using K2HR3 as backend and incorporating it into Trove to provide
# DBaaS functionality. K2HDKC, K2HR3, CHMPX and K2HASH are components
# provided as AntPickax.
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
Expand Down
Loading

0 comments on commit 3021ba7

Please sign in to comment.