Skip to content

Commit

Permalink
minor: merge tencent/ft_tenant into local_data_source_io
Browse files Browse the repository at this point in the history
  • Loading branch information
narasux committed Sep 18, 2023
2 parents 4d3d571 + 6957e3f commit 112f9ba
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 146 deletions.
145 changes: 0 additions & 145 deletions src/bk-user/bkuser/apps/data_source/exporter.py

This file was deleted.

Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,17 @@
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
"""

# TODO (su) Poller 会基于 blue-krill 的能力,提供各类同步任务


class DataSourceSyncTaskPoller:
"""数据源同步任务上下文管理器"""

...


class TenantSyncTaskPoller:
"""租户同步任务上下文管理器"""

...
1 change: 0 additions & 1 deletion src/bk-user/tests/apis/web/data_source/test_data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ def test_create_local_data_source(self, api_client, local_ds_plugin_config):
# 本地数据源不需要字段映射配置
},
)
print(resp.content)
assert resp.status_code == status.HTTP_201_CREATED

def test_create_with_minimal_plugin_config(self, api_client):
Expand Down

0 comments on commit 112f9ba

Please sign in to comment.