-
Notifications
You must be signed in to change notification settings - Fork 2
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 #20 from gikang82/master
fix: update billing cost datasource
- Loading branch information
Showing
6 changed files
with
34 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from cloudforet.cost_analysis.manager.data_source_manager import DataSourceManager | ||
from cloudforet.cost_analysis.manager.job_manager import JobManager | ||
from cloudforet.cost_analysis.manager.cost_manager import CostManager | ||
from plugin.manager.data_source_manager import DataSourceManager | ||
from plugin.manager.job_manager import JobManager | ||
from plugin.manager.cost_manager import CostManager |
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,2 +1 @@ | ||
from cloudforet.cost_analysis.connector.bigquery_connector import BigqueryConnector | ||
from cloudforet.cost_analysis.connector.cloud_billing_connector import CloudBillingConnector | ||
from plugin.connector.bigquery_connector import BigqueryConnector |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
from plugin.error.cost import * |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from spaceone.core.error import * | ||
|
||
|
||
class ERROR_INVALID_SECRET_TYPE(ERROR_INVALID_ARGUMENT): | ||
_message = 'Invalid secret type: {secret_type}' | ||
|
||
|
||
class ERROR_TOO_MANY_CSV_FILES(ERROR_UNKNOWN): | ||
_message = 'Too many csv files: {target_dir}' | ||
|
||
|
||
class ERROR_EXCHANGE_RATE_DATA_NOT_FOUND(ERROR_UNKNOWN): | ||
_message = 'Exchange rate data not found' | ||
|
||
|
||
class ERROR_NOT_FOUND_EXCHANGE_RATE(ERROR_UNKNOWN): | ||
_message = 'Invalid exchange rate: {year}-{month}' | ||
|
||
|
||
class ERROR_NOT_FOUND_TABLE(ERROR_UNKNOWN): | ||
_message = 'Not found table: {table} / dataset: {dataset}' | ||
|
||
|
||
class ERROR_NOT_EXIST_TARGET_PROJECT_ID(ERROR_INVALID_ARGUMENT): | ||
_message = 'Not exist target_project_id: {target_project_id}' |
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,3 +1,3 @@ | ||
from cloudforet.cost_analysis.manager.data_source_manager import DataSourceManager | ||
from cloudforet.cost_analysis.manager.job_manager import JobManager | ||
from cloudforet.cost_analysis.manager.cost_manager import CostManager | ||
from plugin.manager.data_source_manager import DataSourceManager | ||
from plugin.manager.job_manager import JobManager | ||
from plugin.manager.cost_manager import CostManager |