Commit 6731bd69 authored by lixiaofang's avatar lixiaofang

修改dbmw

parent d0f4f066
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="d124fa2a-32cc-4b9e-a06a-0fa9d00e5734" name="Default Changelist" comment="" /> <list default="true" id="d124fa2a-32cc-4b9e-a06a-0fa9d00e5734" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/gaia/celery_task_router.py" beforeDir="false" afterPath="$PROJECT_DIR$/gaia/celery_task_router.py" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
...@@ -19,7 +21,7 @@ ...@@ -19,7 +21,7 @@
<usages-collector id="statistics.file.extensions.open"> <usages-collector id="statistics.file.extensions.open">
<counts> <counts>
<entry key="json" value="5" /> <entry key="json" value="5" />
<entry key="py" value="1" /> <entry key="py" value="5" />
<entry key="txt" value="1" /> <entry key="txt" value="1" />
</counts> </counts>
</usages-collector> </usages-collector>
...@@ -27,24 +29,24 @@ ...@@ -27,24 +29,24 @@
<counts> <counts>
<entry key="JSON" value="5" /> <entry key="JSON" value="5" />
<entry key="PLAIN_TEXT" value="1" /> <entry key="PLAIN_TEXT" value="1" />
<entry key="Python" value="1" /> <entry key="Python" value="5" />
</counts> </counts>
</usages-collector> </usages-collector>
<usages-collector id="statistics.file.extensions.edit"> <usages-collector id="statistics.file.extensions.edit">
<counts> <counts>
<entry key="py" value="10" /> <entry key="py" value="29" />
</counts> </counts>
</usages-collector> </usages-collector>
<usages-collector id="statistics.file.types.edit"> <usages-collector id="statistics.file.types.edit">
<counts> <counts>
<entry key="Python" value="10" /> <entry key="Python" value="29" />
</counts> </counts>
</usages-collector> </usages-collector>
</session> </session>
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf> <leaf>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/trans2es/mapping/service.json"> <entry file="file://$PROJECT_DIR$/trans2es/mapping/service.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1065"> <state relative-caret-position="1065">
...@@ -54,10 +56,37 @@ ...@@ -54,10 +56,37 @@
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/trans2es/mapping/service_ngram.json"> <entry file="file://$PROJECT_DIR$/injection/data_sync/tasks.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-3072"> <state relative-caret-position="165">
<caret line="5" column="56" selection-start-line="5" selection-start-column="51" selection-end-line="5" selection-end-column="56" /> <caret line="18" column="24" selection-start-line="18" selection-start-column="24" selection-end-line="18" selection-end-column="24" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/gaia/celery_task_router.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="37" column="16" selection-start-line="37" selection-start-column="16" selection-end-line="37" selection-end-column="16" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/trans2es/type_info.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275">
<caret line="56" column="37" selection-start-line="56" selection-start-column="37" selection-end-line="56" selection-end-column="37" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/api/models/special.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1238">
<caret line="287" column="19" selection-start-line="287" selection-start-column="19" selection-end-line="287" selection-end-column="19" />
</state> </state>
</provider> </provider>
</entry> </entry>
...@@ -121,6 +150,8 @@ ...@@ -121,6 +150,8 @@
<find>&quot;type&quot;: &quot;string&quot;</find> <find>&quot;type&quot;: &quot;string&quot;</find>
<find>&quot;index&quot;: &quot;not_analyzed&quot;</find> <find>&quot;index&quot;: &quot;not_analyzed&quot;</find>
<find>elasticsearch</find> <find>elasticsearch</find>
<find>gm_default_search</find>
<find>es_config</find>
</findStrings> </findStrings>
<replaceStrings> <replaceStrings>
<replace>&quot;type&quot;:&quot;text&quot;</replace> <replace>&quot;type&quot;:&quot;text&quot;</replace>
...@@ -140,10 +171,13 @@ ...@@ -140,10 +171,13 @@
<option value="$PROJECT_DIR$/trans2es/mapping/sku_norms_disable.json" /> <option value="$PROJECT_DIR$/trans2es/mapping/sku_norms_disable.json" />
<option value="$PROJECT_DIR$/gaia/log_settings.py" /> <option value="$PROJECT_DIR$/gaia/log_settings.py" />
<option value="$PROJECT_DIR$/requirements/common.txt" /> <option value="$PROJECT_DIR$/requirements/common.txt" />
<option value="$PROJECT_DIR$/injection/data_sync/tasks.py" />
<option value="$PROJECT_DIR$/trans2es/type_info.py" />
<option value="$PROJECT_DIR$/gaia/celery_task_router.py" />
</list> </list>
</option> </option>
</component> </component>
<component name="ProjectFrameBounds" extendedState="1"> <component name="ProjectFrameBounds">
<option name="x" value="-317" /> <option name="x" value="-317" />
<option name="y" value="-1080" /> <option name="y" value="-1080" />
<option name="width" value="1920" /> <option name="width" value="1920" />
...@@ -179,6 +213,11 @@ ...@@ -179,6 +213,11 @@
<item name="graces_es6" type="b2602c69:ProjectViewProjectNode" /> <item name="graces_es6" type="b2602c69:ProjectViewProjectNode" />
<item name="graces_es6" type="462c0819:PsiDirectoryNode" /> <item name="graces_es6" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="graces_es6" type="b2602c69:ProjectViewProjectNode" />
<item name="graces_es6" type="462c0819:PsiDirectoryNode" />
<item name="gaia" type="462c0819:PsiDirectoryNode" />
</path>
</expand> </expand>
<select /> <select />
</subPane> </subPane>
...@@ -215,7 +254,7 @@ ...@@ -215,7 +254,7 @@
<servers /> <servers />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-317" y="-1080" width="1920" height="1080" extended-state="1" /> <frame x="-317" y="-1080" width="1920" height="1080" extended-state="0" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info id="DB Browser" /> <window_info id="DB Browser" />
...@@ -225,7 +264,7 @@ ...@@ -225,7 +264,7 @@
<window_info anchor="bottom" id="DB Execution Console" /> <window_info anchor="bottom" id="DB Execution Console" />
<window_info anchor="bottom" id="Version Control" show_stripe_button="false" /> <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
<window_info anchor="bottom" id="Python Console" /> <window_info anchor="bottom" id="Python Console" />
<window_info anchor="bottom" id="Terminal" visible="true" weight="0.22797927" /> <window_info anchor="bottom" id="Terminal" visible="true" weight="0.23419689" />
<window_info anchor="bottom" id="Event Log" side_tool="true" /> <window_info anchor="bottom" id="Event Log" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" /> <window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" /> <window_info anchor="bottom" id="Find" order="1" />
...@@ -295,6 +334,34 @@ ...@@ -295,6 +334,34 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/trans2es/type_info.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275">
<caret line="56" column="37" selection-start-line="56" selection-start-column="37" selection-end-line="56" selection-end-column="37" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/models/special.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1238">
<caret line="287" column="19" selection-start-line="287" selection-start-column="19" selection-end-line="287" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/injection/data_sync/tasks.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="18" column="24" selection-start-line="18" selection-start-column="24" selection-end-line="18" selection-end-column="24" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/gaia/celery_task_router.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="37" column="16" selection-start-line="37" selection-start-column="16" selection-end-line="37" selection-end-column="16" />
</state>
</provider>
</entry>
</component> </component>
<component name="masterDetails"> <component name="masterDetails">
<states> <states>
......
...@@ -35,7 +35,7 @@ class CeleryTaskRouter(object): ...@@ -35,7 +35,7 @@ class CeleryTaskRouter(object):
'pay.tasks.momo_task.get_momo_stat_log_from_db_and_send', 'pay.tasks.momo_task.get_momo_stat_log_from_db_and_send',
], ],
'gaia-dbmw': [ 'graces-es6-dbmw': [
'api.tasks.ping_pong_tasks.ping_dbmw', 'api.tasks.ping_pong_tasks.ping_dbmw',
'injection.data_sync.tasks.write_to_es', 'injection.data_sync.tasks.write_to_es',
'injection.data_sync.task.user_follow_sync', 'injection.data_sync.task.user_follow_sync',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment