Compare commits

...

67 Commits

Author SHA1 Message Date
3392aea1ac Update 'otc_metadata/data/documents/obs-swiftapi.yaml'
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Muller, Martin <martin.muller@t-systems.com>
Co-committed-by: Muller, Martin <martin.muller@t-systems.com>
2023-10-06 14:04:36 +00:00
2b4f4e3d6a ctd to tcc
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-10-04 09:57:00 +00:00
34b4466184 Added ctd
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-09-29 11:48:57 +00:00
c3ba114fef fixing nosql wrong url link and adding hc_location metadata
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-09-20 09:31:33 +00:00
f798833162 Update 'otc_metadata/data/services/apm.yaml'
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-09-11 09:24:58 +00:00
987ad4ac57 Remove API-REF docs from DBSS
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-08-30 09:26:26 +00:00
54afd0bfe9 Sorting for Search Index
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-08-30 08:12:34 +00:00
f533fee17f add new service APM to metadata
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-08-30 08:00:52 +00:00
4cf33fc15b Fix environment on dbss
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-08-22 07:29:15 +00:00
49db7c7fd1 Removed internal on dbss docs and service
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-08-21 09:06:24 +00:00
6f07280954 fixing correct location for hss
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-08-16 09:21:54 +00:00
6a96bfc07f adding metadata params to be generated for doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-08-14 07:30:32 +00:00
2795fb42eb Update 'otc_metadata/templates/tox.ini.j2'
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-08-09 12:08:57 +00:00
c0de8bf198 adding global constraints
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-08-09 11:12:15 +00:00
5e2b62b480 adding sorting function for generating metadata yaml
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-08-07 11:30:10 +00:00
3e3441973c adding price calculator metadata
Reviewed-by: vladimirhasko <vladimirhasko@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-08-05 00:03:02 +00:00
19248854d4 spliting metadata
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-08-03 12:48:36 +00:00
4541a4e276 fixing visibility of hss on public portal
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-07-31 11:01:47 +00:00
12fd438a6c adding Host Security Service metadata
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-07-28 08:48:48 +00:00
370bf69636 Additions to sbv confpy
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-07-27 12:28:43 +00:00
8dd8fbb3d4 Fix environment on search service indexing
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-07-24 08:12:02 +00:00
56591f3bb2 making gaussdb mysql publicly visible
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-07-20 11:27:59 +00:00
2851c8f0d0 wafd best practice metadata
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-07-13 06:26:53 +00:00
4b13b85a96 adding ed links
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: vladimirhasko <vladimirhasko@gmail.com>
Co-committed-by: vladimirhasko <vladimirhasko@gmail.com>
2023-07-10 15:57:10 +00:00
dd1ffe943c Updated to enable data-arts for public docs portal
Reviewed-by: vladimirhasko <vladimirhasko@gmail.com>
Co-authored-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-committed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
2023-07-10 12:40:31 +00:00
c563986e29 Added Search-URL
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-07-10 09:18:10 +00:00
9535ff8841 fixing Document title
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-07-10 09:14:01 +00:00
634561a398 typo fix for best-practice
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-07-07 09:13:24 +00:00
c5bb899ee8 fixing wrong location
Reviewed-by: vladimirhasko <vladimirhasko@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-07-05 06:49:07 +00:00
74acea544f fixing wrong naming and placement for fg best-practise
Reviewed-by: vladimirhasko <vladimirhasko@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-07-04 22:38:14 +00:00
966e61c110 Adding permissions, best practise and sorting some others
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-07-03 07:41:45 +00:00
02d62ed323 metadata for new service FG
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-committed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
2023-07-02 15:58:55 +00:00
3a84eaeec0 Index Tool for Search
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-06-27 07:57:25 +00:00
7b247f1e70 Update 'otc_metadata/templates/conf.py.j2'
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-06-13 10:03:28 +00:00
f9a83705e1 Added function for search listing
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-06-13 08:15:04 +00:00
229823f93e enabling WAFD on public portal
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-06-13 08:06:51 +00:00
c39be95a60 fixing wrong team for dcs
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: vladimirhasko <vladimirhasko@gmail.com>
Co-committed-by: vladimirhasko <vladimirhasko@gmail.com>
2023-06-08 19:44:38 +00:00
677c98dc0f Fixing missing required approvals in generate script for gitcontrol
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-06-08 18:23:33 +00:00
036fbe3062 dli_public_enable
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-06-05 11:50:52 +00:00
dee14208f6 removing public images from internal location
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-06-02 15:07:44 +00:00
16a45b69d9 activate sbv for vpn service
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-06-02 11:07:14 +00:00
94dadbd764 From 1.June Swift become deprecated service
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Muller, Martin <martin.muller@t-systems.com>
Co-committed-by: Muller, Martin <martin.muller@t-systems.com>
2023-06-01 08:20:00 +00:00
59917cac1f Added search index params on confpy
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-05-30 08:58:43 +00:00
b8f397e3e1 fix services to internal
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-05-26 07:21:04 +00:00
45f4f26ac8 deactivate VPN due to issues while Rendering
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-05-25 12:22:04 +00:00
4fa75d7af6 Added force push option
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-05-25 12:10:54 +00:00
d4d35ff02c Adding new documentation type for GaussDB nosql
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-committed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
2023-05-25 11:59:12 +00:00
c6f3bc7e0c Fixing SFS service name
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-05-23 13:20:35 +00:00
8b1dd0814c revert 4245d4cb97b0823b35ee1fc2891d045657f968f1
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-05-22 08:33:11 +00:00
4245d4cb97 refactor public images documentation
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-05-22 08:18:43 +00:00
47ced42e39 set status dashboard service to hidden
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-05-16 09:47:35 +00:00
b494b0db5a change enterprise dashboard environment to hidden
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-05-16 09:10:56 +00:00
40e1518c2c change service uri from UMN to SBV view
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-05-16 07:35:10 +00:00
e03522e98f adding fix for data-arts-studion link
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-05-12 12:47:57 +00:00
1d66be1766 add environment variable for services as preparation for SBV
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-05-12 07:35:08 +00:00
6ab00242d2 first update of readme
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2023-05-12 07:31:18 +00:00
9056f4caeb Fixing wrong dli public repo
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-05-12 07:26:51 +00:00
9cc819b011 Rolled back ecs
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-05-12 07:17:40 +00:00
648c7b72ed added new service CSE
Reviewed-by: vladimirhasko <vladimirhasko@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-05-11 17:15:54 +00:00
b4d5457009 Updated links to reflect current sbv status
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-05-05 09:08:02 +00:00
0ea50e19f3 Added service_uri for service-based-view
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-05-03 06:52:27 +00:00
58f1b9f492 Added option to specify a custom commit-description
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-05-03 06:52:24 +00:00
b711305a4c New template and options for Service-Based-View
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2023-04-20 13:10:18 +00:00
6c27e42e4b enablign OBS permission guide on prod
Reviewed-by: vladimirhasko <vladimirhasko@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-04-19 15:30:22 +00:00
800add1b2d fixing wrong category for new services
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-04-13 07:36:08 +00:00
e7c64b24ee fixing the dataarts repo name
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-04-12 13:49:48 +00:00
88fd397d6a adding DataArts Studio and API Gateway document metadata
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-04-12 12:07:35 +00:00
241 changed files with 2933 additions and 1848 deletions

View File

@ -1,6 +1,9 @@
===============================
ssh://git@gitea.eco.tsi-dev.otc-service.com:2222/infra/otc-metadata.git
===============================
============
otc-metadata
============
Link: ssh://git@gitea.eco.tsi-dev.otc-service.com:2222/infra/otc-metadata.git
Metadata about OTC for Ecosystem
@ -13,6 +16,39 @@ Note that this is a hard requirement.
* Source: https://github.com/infra/ssh://git@gitea.eco.tsi-dev.otc-service.com:2222/infra/otc-metadata.git
Features
--------
========
* TODO
Overview: service.yaml
======================
The :code:`service.yaml` file contains all data about services, service
categories and the related documents of each service. The file is
used as a base for several internal and external applications or
websites like the Helpcenter 3.0 where the information about the document
repositories and its properties are stored.
File structure
--------------
The file is based on the yaml-file format and has three main sections
which can be compared with database tables in a relational database.
* documents: contains the information about every single document and its type
like umn, api-ref etc.
* service category: contains the keyword and title of the service category
* services: contains the repository information about the internal (Gitea) and
external location (GitHub) and all the necessary parameters of the service itself
These sections, or better "tables" have
their own keys and foreign keys so that the tables are linked together and
the related information can be fetched.
For the :code:`services` table
the key is :code:`service_type` which has the foreign key in the
:code:`documents` table. So a service can have multiple documents and each
document can only be linked to one service.
The key :code:`service_category` table is :code:`name` of the service category
which is then used in the :code:`services` table as foreign key.

View File

@ -9,13 +9,13 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
__all__ = ['__version__', 'Docs']
__all__ = ["__version__", "Docs"]
import pbr.version
from otc_metadata.services import Services # flake8: noqa
__version__ = pbr.version.VersionInfo('otc-metadata').version_string()
__version__ = pbr.version.VersionInfo("otc-metadata").version_string()
_service_manager = None

View File

@ -12,30 +12,45 @@
# limitations under the License.
import os
import pathlib
import yaml
__all__ = ['read_data']
__all__ = ["read_data"]
DATA_DIR = os.path.dirname(__file__)
def read_data(filename):
"""Return data that is shipped inside the Python package.
"""
"""Return data that is shipped inside the Python package."""
filepath = os.path.join(DATA_DIR, filename)
with open(filepath, 'r') as fd:
return yaml.safe_load(fd)
with open(filepath, "r") as fd:
data = yaml.safe_load(fd)
# Merge data found in individual element files
data.setdefault("documents", list())
data.setdefault("services", list())
data.setdefault("service_categories", list())
for item in pathlib.Path(DATA_DIR, "documents").glob("*.yaml"):
with open(item, "r") as fp:
data["documents"].append(yaml.safe_load(fp))
for item in pathlib.Path(DATA_DIR, "services").glob("*.yaml"):
with open(item, "r") as fp:
data["services"].append(yaml.safe_load(fp))
for item in pathlib.Path(DATA_DIR, "service_categories").glob(
"*.yaml"
):
with open(item, "r") as fp:
data["service_categories"].append(yaml.safe_load(fp))
return data
def rewrite_data(filename, data):
"""Rewrites data formatting it
"""
"""Rewrites data formatting it"""
from ruamel.yaml import YAML
_yaml = YAML()
_yaml.indent(mapping=2, sequence=4, offset=2)
filepath = os.path.join(DATA_DIR, filename)
with open(filepath, 'w') as fd:
with open(filepath, "w") as fd:
_yaml.dump(data, fd)

View File

@ -0,0 +1,9 @@
---
hc_location: api/antiddos
html_location: docs/antiddos/api-ref
link: /anti-ddos/api-ref/
pdf_name: antiddos-api-ref
rst_location: api-ref/source
service_type: antiddos
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/antiddos
html_location: docs/antiddos/umn
link: /anti-ddos/umn/
pdf_name: antiddos-umn
rst_location: umn/source
service_type: antiddos
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/aom
html_location: docs/aom/api-ref
link: /application-operations-management/api-ref/
pdf_name: aom-api-ref
rst_location: api-ref/source
service_type: aom
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/aom
html_location: docs/aom/umn
link: /application-operations-management/umn/
pdf_name: aom-umn
rst_location: umn/source
service_type: aom
title: User Guide
type: umn

View File

@ -0,0 +1,10 @@
---
hc_location: api/apig
environment: internal
html_location: docs/apig/api-ref
link: /api-gateway/api-ref/
pdf_name: apig-api-ref
rst_location: api-ref/source
service_type: apig
title: API Reference
type: api-ref

View File

@ -0,0 +1,10 @@
---
hc_location: usermanual/apig
environment: internal
html_location: docs/apig/umn
link: /api-gateway/umn/
pdf_name: apig-umn
rst_location: umn/source
service_type: apig
title: User Guide
type: umn

View File

@ -0,0 +1,10 @@
---
environment: internal
hc_location: api/apm
html_location: docs/apm/api-ref
link: /application-performance-management/api-ref/
pdf_name: apm-api-ref
rst_location: api-ref/source
service_type: apm
title: API Reference
type: api-ref

View File

@ -0,0 +1,10 @@
---
environment: internal
hc_location: usermanual/apm
html_location: docs/apm/umn
link: /application-performance-management/umn/
pdf_name: apm-umn
rst_location: umn/source
service_type: apm
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/as
html_location: docs/as/api-ref
link: /auto-scaling/api-ref/
pdf_name: as-api-ref
rst_location: api-ref/source
service_type: as
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: devg/as
html_location: docs/as/dev
link: /auto-scaling/dev-guide/
pdf_name: as-dev-guide
rst_location: dev_guide/source
service_type: as
title: Developer Guide
type: dev

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/as
html_location: docs/as/umn
link: /auto-scaling/umn/
pdf_name: as-umn
rst_location: umn/source
service_type: as
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/bms
html_location: docs/bms/api-ref
link: /bare-metal-server/api-ref/
pdf_name: bms-api-ref
rst_location: api-ref/source
service_type: bms
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: devg/bms
html_location: docs/bms/dev
link: /bare-metal-server/dev-guide/
pdf_name: bms-dev-guide
rst_location: dev_guide/source
service_type: bms
title: Developer Guide
type: dev

View File

@ -0,0 +1,9 @@
---
hc_location: bpicg/bms
html_location: docs/bms/image-creation-guide
link: /bare-metal-server/image-creation-guide/
pdf_name: bms-image-creation-guide
rst_location: doc/image-creation-guide/source
service_type: bms
title: Private Image Creation Guide
type: image-creation-guide

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/bms
html_location: docs/bms/umn
link: /bare-metal-server/umn/
pdf_name: bms-umn
rst_location: umn/source
service_type: bms
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/cbr
html_location: docs/cbr/api-ref
link: /cloud-backup-recovery/api-ref/
pdf_name: cbr-api-ref
rst_location: api-ref/source
service_type: cbr
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/cbr
html_location: docs/cbr/umn
link: /cloud-backup-recovery/umn/
pdf_name: cbr-umn
rst_location: umn/source
service_type: cbr
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api2/cce
html_location: docs/cce/api-ref
link: /cloud-container-engine/api-ref/
pdf_name: cce-api-ref
rst_location: api-ref/source
service_type: cce
title: API Reference
type: api-ref

View File

@ -0,0 +1,8 @@
---
hc_location: usermanual2/cce
html_location: docs/cce/umn
link: /cloud-container-engine/umn/
rst_location: umn/source
service_type: cce
title: User Guide
type: umn

View File

@ -0,0 +1,10 @@
---
hc_location: api/cci
environment: internal
html_location: docs/cci/api-ref
link: /cloud-container-instance/api-ref/
pdf_name: cci-api-ref
rst_location: api-ref/source
service_type: cci
title: API Reference
type: api-ref

View File

@ -0,0 +1,10 @@
---
hc_location: usermanual/cci
environment: internal
html_location: docs/cci/umn
link: /cloud-container-instance/umn/
pdf_name: cci-umn
rst_location: umn/source
service_type: cci
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/ces
html_location: docs/ces/api-ref
link: /cloud-eye/api-ref/
pdf_name: ces-api-ref
rst_location: api-ref/source
service_type: ces
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/ces
html_location: docs/ces/umn
link: /cloud-eye/umn/
pdf_name: ces-umn
rst_location: umn/source
service_type: ces
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/csbs
html_location: docs/csbs/api-ref
link: /cloud-server-backup-service/api-ref/
pdf_name: csbs-api-ref
rst_location: api-ref/source
service_type: csbs
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/csbs
html_location: docs/csbs/umn
link: /cloud-server-backup-service/umn/
pdf_name: csbs-umn
rst_location: umn/source
service_type: csbs
title: User Guide
type: umn

View File

@ -0,0 +1,10 @@
---
hc_location: api/cse
environment: internal
html_location: docs/cse/api-ref
link: /cloud-service-engine/api-ref/
pdf_name: cse-api-ref
rst_location: api-ref/source
service_type: cse
title: API Reference
type: api-ref

View File

@ -0,0 +1,10 @@
---
hc_location: usermanual/cse
environment: internal
html_location: docs/cse/umn
link: /cloud-service-engine/umn/
pdf_name: cse-umn
rst_location: umn/source
service_type: cse
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/css
html_location: docs/css/api-ref
link: /cloud-search-service/api-ref/
pdf_name: css-api-ref
rst_location: api-ref/source
service_type: css
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/css
html_location: docs/css/umn
link: /cloud-search-service/umn/
pdf_name: css-umn
rst_location: umn/source
service_type: css
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/cts
html_location: docs/cts/api-ref
link: /cloud-trace-service/api-ref/
pdf_name: cts-api-ref
rst_location: api-ref/source
service_type: cts
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/cts
html_location: docs/cts/umn
link: /cloud-trace-service/umn/
pdf_name: cts-umn
rst_location: umn/source
service_type: cts
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/dataartsstudio
html_location: docs/dataartsstudio/api-ref
link: /data-arts-studio/api-ref/
pdf_name: dataarts_studio-api-ref
rst_location: api-ref/source
service_type: dataarts_studio
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/dataartsstudio
html_location: docs/dataartsstudio/umn
link: /data-arts-studio/umn/
pdf_name: dataarts_studio-umn
rst_location: umn/source
service_type: dataarts_studio
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/dbss
html_location: docs/dbss/umn
link: /database-security-service/umn/
pdf_name: dbss-umn
rst_location: umn/source
service_type: dbss
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/dc
html_location: docs/dc/api-ref
link: /direct-connect/api-ref/
pdf_name: dc-api-ref
rst_location: api-ref/source
service_type: dc
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/dc
html_location: docs/dc/umn
link: /direct-connect/umn/
pdf_name: dc-umn
rst_location: umn/source
service_type: dc
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/dcs
html_location: docs/dcs/api-ref
link: /distributed-cache-service/api-ref/
pdf_name: dcs-api-ref
rst_location: api-ref/source
service_type: dcs
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/dcs
html_location: docs/dcs/umn
link: /distributed-cache-service/umn/
pdf_name: dcs-umn
rst_location: umn/source
service_type: dcs
title: User Guide
type: umn

View File

@ -0,0 +1,10 @@
---
hc_location: api/ddm
environment: internal
html_location: docs/ddm/api-ref
link: /distributed-database-middleware/api-ref/
pdf_name: ddm-api-ref
rst_location: api-ref/source
service_type: ddm
title: API Reference
type: api-ref

View File

@ -0,0 +1,10 @@
---
hc_location: usermanual/ddm
environment: internal
html_location: docs/ddm/umn
link: /distributed-database-middleware/umn/
pdf_name: ddm-umn
rst_location: umn/source
service_type: ddm
title: User Guide
type: umn

View File

@ -0,0 +1,8 @@
---
hc_location: api/dds
html_location: docs/dds/api-ref
link: /document-database-service/api-ref/
rst_location: api-ref/source
service_type: dds
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/dds
html_location: docs/dds/umn
link: /document-database-service/umn/
pdf_name: dds-umn
rst_location: umn/source
service_type: dds
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/deh
html_location: docs/deh/api-ref
link: /dedicated-host/api-ref/
pdf_name: deh-api-ref
rst_location: api-ref/source
service_type: deh
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/deh
html_location: docs/deh/umn
link: /dedicated-host/umn/
pdf_name: deh-umn
rst_location: umn/source
service_type: deh
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/dis
html_location: docs/dis/api-ref
link: /data-ingestion-service/api-ref/
pdf_name: dis-api-ref
rst_location: api-ref/source
service_type: dis
title: API Reference
type: api-ref

View File

@ -0,0 +1,9 @@
---
hc_location: usermanual/dis
html_location: docs/dis/umn
link: /data-ingestion-service/umn/
pdf_name: dis-umn
rst_location: umn/source
service_type: dis
title: User Guide
type: umn

View File

@ -0,0 +1,9 @@
---
hc_location: api/dli
html_location: docs/dli/api-ref
link: /data-lake-insight/api-ref/
pdf_name: dli-api-ref
rst_location: api-ref/source
service_type: dli
title: API Reference
type: api-ref

Some files were not shown because too many files have changed in this diff Show More