Commit Graph

80 Commits

Author SHA1 Message Date
Boxiang Zhu
eb59b2614d fix: Remove invalid panko policy
1. remove invalid panko policy
2. remove install panko from post_install.sh
3. update policy

Change-Id: Icb23e4ff34ff47952294f711ddabd36cc9df706e
2022-08-17 14:05:06 +08:00
yangshaoxue
cbabcbce89 feat: Support SSO login via openID
1. add API sso and websso
2. add sso conf

Implements: blueprint skyline-sso-oid
Change-Id: I352200bb2ebf426adaea71826253730c51eeee03
2022-08-11 17:35:07 +08:00
Boxiang Zhu
5f47c8346a refactor: Remove base_roles and add more into extension_mapping
1. remove base_roles from openstack group
2. add qos and floating-ip-port-forwarding into extention_mapping

Change-Id: I461ae3f8979377ae22ec851bf3315e509b22cfbd
2022-07-28 18:17:10 +08:00
Boxiang Zhu
88ef320dc6 feat: Support mypy check
1. support mypy check, tox -e mypy or tox -e pep8
2. fix error of mypy check

Change-Id: I41b0013d271f3c7d3a28e1ea6dd0b083893d8983
2022-07-28 16:09:31 +08:00
zhu.boxiang
08c6265d1e feat: Support system scope for policy list and check
1. support system scope for policy list and check
2. add target for check policy api
3. update version of requirements and test-requirements

Change-Id: If251d26bdb522b03a8fb94ae0034d8ca44be5b61
2022-07-18 14:47:12 +08:00
zhu.boxiang
4d6f784384 fix: Fix schemas of ServersResponseBase
1. Not alias field. Just description field.
2. fix the python-glanceclient version

Change-Id: I95bdda3e69ad3f55dd1213ea6ef01df6245025db
2022-07-15 13:23:27 +08:00
zhu.boxiang
6ca007c1d0 refactor: Refactor the extension schemas
1. remove prefix ext
2. update the swagger file
3. add more detailed info for schemas field

Change-Id: I08f30087e8889d772db3da09a92f1e9390d10dbe
2022-07-14 13:43:52 +08:00
zhu.boxiang
4d9b577007 refactor: Refactor schemas
1. adjust setting schemas
2. adjust prometheus schemas
3. adjust policy schemas
4. adjust policy_manager schemas
5. adjust login schemas
6. remove some invalid model
7. update the swagger.json file

Change-Id: I6b513498999f1c56481107ca78df656e4c8b38cb
2022-07-13 15:21:51 +08:00
zhu.boxiang
7eaa53c9db refactor: Adjust the common and contrib schemas
1. adjust the common schemas
2. adjust the contrib schemas
3. just use schemas directly because all include in __init__.py
4. update swagger.json file

Change-Id: I4b8c366cbb439fbcb7c118329588eab1b31b9370
2022-07-13 10:16:10 +08:00
zhu.boxiang
1b17da1b2c refactor: cleanup some invalid tests
Some tests codes are not used, so just to cleanup them.

Change-Id: I9596a54705150271ae6900a17448d9250af4f2db
2022-07-12 09:52:49 +08:00
Zuul
a79e1d2c75 Merge "fix: add single quotation markx for password" 2022-06-27 03:06:10 +00:00
Wu Wenxiang
85a7f5fdac fix: add single quotation markx for password
Some users forget to add single quotation marks for the password
value which contains blanks or back slashes, which cause login
failures. Adding signle quotation marks for password values in
the example file as a remind.

Change-Id: I0ab68d67f94a90b983b204ced76e85323eeaacdc
2022-06-27 10:00:29 +08:00
zhu.boxiang
4f5b983a2a fix: Check both service and endpoint
When we decide whether the endpoint will add into profile, we will
both check whether the service has been set for openstack config
and the endpoint of this service exists.

Closes-Bug: #1979903
Change-Id: I0ad5558a0b6886d9af44c3e88eb43fc43f3cf58a
2022-06-26 22:52:38 +08:00
zhu.boxiang
e31e466f76 feat: Remove patch for barbican and update policy
1. remove patch for barbican
2. update heat policy
3. update requirements version

Depends-On: https://review.opendev.org/c/openstack/heat/+/812662
Depends-On: https://review.opendev.org/c/openstack/barbican/+/839147
Change-Id: I8f690c7c1e41cd78199de6386e986512edca9259
2022-06-22 21:54:39 +08:00
zhu.boxiang
fdd1064ab6 chore: Remove unused codes
Remove the coroutine.py file because unused codes.

Change-Id: I095ecd652c8ab17323ad330acb9bf4eddd790336
2022-06-14 21:19:17 +08:00
zhu.boxiang
fc547f8467 feat: Add barbican policy and service_mapping
1. add barbican related policy
2. add barbican into service_mapping
3. add releatenote for barbican
4. update releatenote for zun and magnum

Change-Id: I366e4482617654baab9091736e6f2b186aed6371
2022-06-07 14:05:47 +08:00
zhu.boxiang
10c910c6d5 refactor: Use source code instead of release packages
We install the service projects from opendev instead of
release packages. If the service projects are DEPRECATED,
then we will install them by latest release packages.

Update the neutron policy with the master branch.

Change-Id: I56a10452e731fd6e2597501659ce84e96c4c91ab
2022-06-07 13:29:04 +08:00
zhu.boxiang
32a00a6529 refactor: Register rule and apirule into enforcer
1. We register both apirule and rule into enforcer, so we can keep
the rule in the check_str
2. We re-generate all the services' policy, we just use the original
policy of them. If users want to change, they can change them by
themselves.
3. Adjust the post_install.sh, we install the service packages with
dependencies.
4. Split the ironic and ironic_inspector policy, they can not be in
the same policy file.

Change-Id: I9e152e33be4eef60432fb2030d388b3bec4c082e
2022-06-06 15:03:58 +08:00
Zuul
32990f9269 Merge "fix: Use debug config from default" 2022-05-30 12:47:07 +00:00
Zuul
62038c963e Merge "feature: Add zun config and policy" 2022-05-30 11:39:37 +00:00
zhu.boxiang
2d978cc755 fix: Use debug config from default
Use debug config from default. Set INFO as default level.

Change-Id: I03834f5a69d9f5b6b87d9c4c08296a4589952a92
2022-05-30 18:54:47 +08:00
Reşit Demir
7260c09fae feature: Add zun config and policy
1. add zun install into post_install.sh
2. add zun into SUPPORTED_SERVICE_EPS and PREFIX_MAPPINGS
3. add zun policy

Change-Id: I741922f06ad5103417a817ed0695f6b3d67fb926
2022-05-30 10:17:16 +00:00
zhu.boxiang
193f2ed6c7 refactor: Use pbr to get package version
1. use pbr to get package version
2. update the dependencies' version

Change-Id: If221a54a2eecbca76c212838fddef272bfd48484
2022-05-30 14:42:53 +08:00
zhu.boxiang
72e7cf3cf5 refactor: Remove invalid config
Remove invalid config show_raw_sql.

Change-Id: Id839175530a6de441b3a3c90e94650c3ca851c6f
2022-05-27 16:49:39 +08:00
zhu.boxiang
ee6d1a7a49 fix: Add manila into service mapping
Add manila into service mapping. So if we deployed the
manila service, we can get the endpoint of it by default.
Re-sort the service mapping by its' initial.

Change-Id: I88dbafbe34b0e95eff0b00d9260f1b7a6fc0db77
2022-05-27 11:11:34 +08:00
zhu.boxiang
37a0cacf26 style: Re-generate the default config yaml
Re-generate the default config yaml.

Change-Id: I4b536694ae311308cdc9b3a43b32c146613daf18
2022-05-26 20:19:51 +08:00
zhu.boxiang
1a050ec2c4 chore: Remove poetry
1. remove poetry dependency
2. add requirements.tx, test-requirements.txt, setup.py and setup.cfg
3. add more env into tox.ini
4. remove some command from Makefile
5. cleanup the dependencies
6. change some commands of README
7. update the devstack

Depends-On: https://review.opendev.org/c/openstack/skyline-console/+/843257

Change-Id: I4cefc4cfdaadf7b3ba03ffe8441e9ae760772349
2022-05-25 22:26:42 +08:00
Numan MENEKŞE
60144767cd feature: Add magnum config and policy
1. add magnum install into post_install.sh
2. add magnum into SUPPORTED_SERVICE_EPS and PREFIX_MAPPINGS
3. add magnum policy

Change-Id: I10d2d337331d8c4857f6e58331e545eead0bf26f
2022-05-25 15:59:28 +08:00
zhu.boxiang
a7856401a9 fix: Remove invalid constant NEUTRON_PORTS_API
Remove invalid constant NEUTRON_PORTS_API.

Depends-On: https://review.opendev.org/c/openstack/skyline-apiserver/+/839462
Change-Id: I05bfcd1483af9daf7da3873cca84df22096e44f2
2022-05-23 21:35:16 +08:00
zhu.boxiang
8cb60f0833 chore: Move skyline_apiserver out of libs
1. move skyline_apiserver out of libs
2. remove libs folder
3. remove old skyline folder
4. adjust zull, devstack and dockerfile

Change-Id: I27a4babd3df077d1dfc7555f67a6ea618d4b2966
2022-05-18 17:21:00 +08:00