Commit Graph

14 Commits

Author SHA1 Message Date
zhu.boxiang
c104db6a72 chore: Update dependency packages and remove invalid
1. update dependency packages
2. remove invalid packages from pyproject.toml

Change-Id: I3c4d2c875e1d03a2a41304ccf82d4ca1187d6c7d
2022-05-06 09:54:41 +08:00
zhu.boxiang
a20c42ae90 feat: Add manila policy
1. add manila install into post_install.sh
2. add manila into SUPPORTED_SERVICE_EPS and PREFIX_MAPPINGS
3. add manila policy

Change-Id: I731b6aae1bbfd9bb88dc33d61b1660b71bf60b3a
2022-04-29 17:14:57 +08:00
zhu.boxiang
988185cbdf fix: Fix trove policy
1. add trove into SUPPORTED_SERVICE_EPS
2. add PREFIX_MAPPINGS
3. change manage to remove/add prefix auto

Change-Id: Ia6bfa83cb721655c25952e0fd7c0c12020bdf9ff
2022-04-29 16:52:01 +08:00
zhu.boxiang
ce16e7249b fix: Add prefix for trove policy APIRule
Some rule names are duplicated. So we add prefix for
trove policy APIrule.

Change-Id: Ib49431ffeea170f74163641df2d4f06e97ca06ae
2022-04-14 15:30:46 +08:00
Reşit Demir
3aa06f7853 Add Trove configs and policies to Skyline-Apiserver
Change-Id: I28d627dc00dcaafc1582b13b9c0416966978b594
2022-04-06 09:32:10 +00:00
zhu.boxiang
28429a0ac5 refactor: Remove -f of poetry build command
1. Remove -f of poetry build command. Merge two commands
as 'poetry build'.
2. Update submodule for skyline-console

Change-Id: I91a04439c3a605a0159890a4603684a785d7a90c
2021-09-29 14:10:13 +08:00
Gao Hanxiang
1d14b4067c test: Add skyline-policy-manager unit test
1. Add skyline-policy-manager unit test case and tools
2. Update `setup` method type annotation
3. Move some constants to `skyline_policy_manager.constants`
4. Adjust import to use modules instead of functions
5. Update code format

Change-Id: Ic72e21126de0b16e4d969ad48ce64c57542c4667
2021-09-29 02:50:31 +00:00
zhu.boxiang
da42ade264 feat: Add build sdist
1. add build sdist into Makefile
2. update the submodule for skyline-console

It's ready for kolla to build image with source packages.

Change-Id: Iee016f241e5c141de4f135a35a406517b3f87e1f
2021-09-27 18:03:35 +08:00
Gao Hanxiang
1eebe91eaf chore: Update dependencies
1. Update python dependencies
2. Update skyline-console

Change-Id: I9417671b8fecef76a4e00f1bf98877552801f66e
2021-09-23 12:33:16 -04:00
zhu.boxiang
809802d920 fix: Change the version of setuptools
The setuptools(>=58.0.0) has removed the support of use_2to3 during build[1].
There is a package named tempita[2] which has set use_2to3 in setup.py.

So here, we set the version of setuptools less than 58.0.0

[1]: https://setuptools.readthedocs.io/en/latest/history.html#v58-0-0
[2]: https://github.com/agramfort/tempita/blob/master/setup.py#L53

Change-Id: I0fffaa63eb91c4d4c4bf8d7e149e7087e514aa51
2021-09-10 17:56:44 +08:00
Wu Wenxiang
b8be76df8a fix: get domain always from admin interface
Use config interface in keystone client, rather than default value.

Closes-bug: #1940148
Change-Id: Id0cec1e488f854bfd6e2321e6abe9ac6d5f4a486
2021-09-08 16:37:00 +08:00
Gao Hanxiang
8d8c8bd89f chore: Add make clean to clean up project directory
1. Add make clean
2. Specify configuration file used by mypy
3. Add some directories to dockerignore

Change-Id: I4f6b0d5ba894214bb0fcff21443f9808f56d595e
2021-07-26 14:35:55 +00:00
Gao Hanxiang
4fa4083d57 refactor: Streamline libs directory structure
1. Adjust makefile
2. Delete unused files

Change-Id: I73a7490e658763b57ef528359ebbde6d945740db
2021-07-26 03:50:00 +00:00
Hanxiang Gao
38ea9e3d59 feat: Add initial code of skyline-apiserver
Add initial code of skyline-apiserver

Change-Id: Ib425960b707237193fd8531fb3989f29282f5b58
2021-06-01 23:39:57 +08:00