-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from stat-kwon/master
refactor: change all for SpaceONE 2.0
- Loading branch information
Showing
34 changed files
with
790 additions
and
833 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
|
@@ -14,22 +14,19 @@ | |
# limitations under the License. | ||
|
||
import os | ||
|
||
from setuptools import setup, find_packages | ||
|
||
setup( | ||
name='spaceone-config', | ||
version=os.environ.get('PACKAGE_VERSION'), | ||
description='SpaceONE config service', | ||
long_description='', | ||
url='https://www.spaceone.dev/', | ||
author='MEGAZONE SpaceONE Team', | ||
author_email='[email protected]', | ||
license='Apache License 2.0', | ||
name="spaceone-config", | ||
version=os.environ.get("PACKAGE_VERSION"), | ||
description="SpaceONE config service", | ||
long_description="", | ||
url="https://www.spaceone.dev/", | ||
author="MEGAZONE SpaceONE Team", | ||
author_email="[email protected]", | ||
license="Apache License 2.0", | ||
packages=find_packages(), | ||
install_requires=[ | ||
'spaceone-core', | ||
'spaceone-api', | ||
'mongoengine' | ||
], | ||
install_requires=["spaceone-core", "spaceone-api", "mongoengine", "mongomock"], | ||
zip_safe=False, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
name = 'config' | ||
name = "config" |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,38 @@ | ||
# Database Settings | ||
DATABASE_AUTO_CREATE_INDEX = True | ||
DATABASES = { | ||
'default': { | ||
'db': 'config', | ||
'host': 'localhost', | ||
'port': 27017, | ||
'username': '', | ||
'password': '' | ||
"default": { | ||
"db": "config", | ||
"host": "localhost", | ||
"port": 27017, | ||
"username": "", | ||
"password": "", | ||
} | ||
} | ||
|
||
# Cache Settings | ||
CACHES = { | ||
'default': {}, | ||
'local': { | ||
'backend': 'spaceone.core.cache.local_cache.LocalCache', | ||
'max_size': 128, | ||
'ttl': 300 | ||
} | ||
"default": {}, | ||
"local": { | ||
"backend": "spaceone.core.cache.local_cache.LocalCache", | ||
"max_size": 128, | ||
"ttl": 300, | ||
}, | ||
} | ||
|
||
# Handler Settings | ||
HANDLERS = { | ||
# "authentication": [{ | ||
# "backend": "spaceone.core.handler.authentication_handler:SpaceONEAuthenticationHandler" | ||
# }], | ||
# "authorization": [{ | ||
# "backend": "spaceone.core.handler.authorization_handler:SpaceONEAuthorizationHandler" | ||
# }], | ||
# "mutation": [{ | ||
# "backend": "spaceone.core.handler.mutation_handler:SpaceONEMutationHandler" | ||
# }], | ||
# "event": [] | ||
} | ||
|
||
# Connector Settings | ||
CONNECTORS = {} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.