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
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
1. add ironic into service_mapping
2. add octavia into service_mapping
3. change interface_type as public
Change-Id: I9ffa419ffac3b7f20784cf7ae4e12a26e3e6bb4d
1. add skyline-functional-devstack which inherits from devstack
2. add skyline-functional-devstack into check and gate job
3. add playbook to integrate with devstack for zuul
4. change the port from 8080 to 9999 because the 8080 is used for s3api
5. rename functional-py38 as unittest-py38
6. add install extra tools ready for skyline-console's e2e test
Change-Id: I7f4b549bec6573661e62dd2bd9a3355253afd47d
Use constants in contrib but lack of import it.
Here we import constants from skyline_apiserver.types to fix it.
Closes-Bug: #1942087
Change-Id: I6fd874400f77e9d201d6c5d7284c78345d52b63f
1. Add x-openstack-request-id into header
Let the skyline API continue to pass down with Request ID using for tracking chain.
It contributes to find the problem preliminarily.
Change-Id: Ib7f7dcc98183aa99a00fc69b73eba53d87642502
The skyline-nginx is dependent on skyline-apiserver.
From the patch[0], we add aiosqlite into tool.poetry.dependencies.
So we need to re-generate the poetry.lock of skyline-nginx.
[0]: https://review.opendev.org/c/skyline/skyline-apiserver/+/803539
Change-Id: I82dc76ed286376d2c388e1dab95d4c24743d02f2
When using http protocol to access, nginx will respond with 400 and
report "400 The plain HTTP request was sent to HTTPS port".
The reason is that http 497 error[1] appeared in nginx, so 497
error was redirected to https protocol.
[1] 56f5331683/src/http/ngx_http_special_response.c (L274)
Change-Id: I01c35318dd5d219dbb31e6a89bdc05d2a4db7804
When a network failure occurs, the openstack client will be blocked for
a long time. Set a timeout on the session to feedback network problem
as soon as possible.
Change-Id: I2eec95b18241b0bf2103ad3dfa1efd2774f2bd77
1. Add make clean
2. Specify configuration file used by mypy
3. Add some directories to dockerignore
Change-Id: I4f6b0d5ba894214bb0fcff21443f9808f56d595e
1. Move skyline-apiserver to libs
2. Modify Makefile
3. Rename the skyline-apiserver.yaml.sample file to skyline.yaml.sample
At the top level, we use "skyline" as the namespace, using the idea of
monorepo to manage the project. At the top level, only some common
configuration files (mypy.ini, black.conf, isort.conf, etc.) and
common tools are included.
In the `libs` directory, there are three core libraries,
skyline-console, skyline-apiserver, skyline-nginx, and some dependent
libraries.
There are cross-imports between these libraries,
for example: skyline-nginx requires skyline-apiserver;
Both skyline-nginx and skyline-apiserver require skyline-config.
Therefore, skyline-apiserver should not be placed
at the top level, it is also suitable for management as a library.
Change-Id: Ie2f1f4bdfbc2e985ec4327705eecaae3181f5b50
When building a docker image, skyline-console is required,
so add skyline-console as a git submodule.
Change-Id: I429879dbfb93f48aacbe09966388f25a5afab43d