SpaceONE Repository Service
- Support Private Docker Registry
CONNECTOR:
RegistryConnector:
host: https://<account_id>.dkr.ecr.<region_name>.amazonaws.com
verify_ssl: False
username: AWS
api_version: 2
Repository Service
License: Apache License 2.0
{
"schema": {
"properties": {
...
"external_id": {
"type": "string",
"minLength": 4,
"title": "External ID",
"format": "generate_id",
"markdown": "[How to use an external ID?](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html)"
}
}
}
}
Repository maintains plugin information.
We want to maintain public information as code.
Every plugin must be registered in repository service.
API: repository.Plugin.register
The default file is located at
{plugin repository}/test/spacectl/register_plugin.yaml
For example, plugin-appdynamics-inven-collector
The file path is plugin-appdynamics-inven-collector/test/spacectl/register_plugin.yaml
I am encountering the following error message when querying the Schema (list) in the repository service. I have currently installed it using the Helm chart. the chart version is 1.12.12. The repository image is cloudforet/repository:1.12.5.
> helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
cloudforet spaceone 5 2023-12-26 22:40:25.170089 +0900 KST deployed spaceone-1.12.12 1.12.12
Pod log
2023-12-26T23:42:28.558Z [DEBUG] a692a8b3b8199047c33f86db34954579 domain-17db7164329b [email protected] Schema.list (authentication_api_key_handler.py:45) [_check_api_key] check api key state (api-key-e0fb57a341a8)
2023-12-26T23:42:28.578Z [INFO] a692a8b3b8199047c33f86db34954579 domain-17db7164329b [email protected] Schema.list (service.py:111) (REQUEST) => {"query": {}, "repository_id": "repo-managed"}
2023-12-26T23:42:28.585Z [ERROR] (api.py:69) (Error) => 'SchemasInfo' load failed. (reason = Parameter to MergeFrom() must be instance of same class: expected google.protobuf.ListValue got float.)
error_code = ERROR_LOCATOR
status_code = INTERNAL
message = 'SchemasInfo' load failed. (reason = Parameter to MergeFrom() must be instance of same class: expected google.protobuf.ListValue got float.)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/spaceone_core-0.0.0-py3.8.egg/spaceone/core/locator.py", line 47, in get_info
return getattr(info_module, name_or_object)(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/spaceone_repository-1.12.5-py3.8.egg/spaceone/repository/info/schema_info.py", line 39, in SchemasInfo
return schema_pb2.SchemasInfo(results=list(
File "/usr/local/lib/python3.8/site-packages/spaceone_repository-1.12.5-py3.8.egg/spaceone/repository/info/schema_info.py", line 35, in SchemaInfo
return schema_pb2.SchemaInfo(**info)
TypeError: Parameter to MergeFrom() must be instance of same class: expected google.protobuf.ListValue got float.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/spaceone_core-0.0.0-py3.8.egg/spaceone/core/pygrpc/api.py", line 91, in wrapper
response_or_iterator = func(self, request_or_iterator, context)
File "/usr/local/lib/python3.8/site-packages/spaceone_repository-1.12.5-py3.8.egg/spaceone/repository/api/v1/schema.py", line 38, in list
return self.locator.get_info('SchemasInfo', schemas_data, total_count, minimal=self.get_minimal(params))
File "/usr/local/lib/python3.8/site-packages/spaceone_core-0.0.0-py3.8.egg/spaceone/core/service/service.py", line 50, in __exit__
raise exc_val
File "/usr/local/lib/python3.8/site-packages/spaceone_repository-1.12.5-py3.8.egg/spaceone/repository/api/v1/schema.py", line 38, in list
return self.locator.get_info('SchemasInfo', schemas_data, total_count, minimal=self.get_minimal(params))
File "/usr/local/lib/python3.8/site-packages/spaceone_core-0.0.0-py3.8.egg/spaceone/core/locator.py", line 55, in get_info
raise ERROR_LOCATOR(name=name_or_object, reason=e, _meta={'type': 'info'})
spaceone.core.error.ERROR_LOCATOR:
error_code = ERROR_LOCATOR
status_code = INTERNAL
message = 'SchemasInfo' load failed. (reason = Parameter to MergeFrom() must be instance of same class: expected google.protobuf.ListValue got float.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.