You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ka...@apache.org on 2023/05/11 02:54:49 UTC

[incubator-devlake] branch issues/4762 updated (8718e09e6 -> be06a2ce7)

This is an automated email from the ASF dual-hosted git repository.

ka94 pushed a change to branch issues/4762
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


    omit 8718e09e6 feat(config-ui): use new page connection home and detail (#5149)
     add 1c4a9e0f7 feat: Minimal support for deleting scopes
     add be06a2ce7 feat: pagerduty adapted to use Delete Scopes

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (8718e09e6)
            \
             N -- N -- N   refs/heads/issues/4762 (be06a2ce7)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 backend/core/models/blueprint.go                   |  86 +++++
 backend/go.mod                                     |   4 +-
 backend/go.sum                                     |  15 -
 backend/helpers/pluginhelper/api/api_collector.go  |   6 +-
 .../helpers/pluginhelper/api/api_collector_test.go |  17 +-
 .../pluginhelper/api/api_collector_with_state.go   |   7 +-
 backend/helpers/pluginhelper/api/api_extractor.go  |   1 -
 backend/helpers/pluginhelper/api/api_rawdata.go    |  26 +-
 .../helpers/pluginhelper/api/remote_api_helper.go  |  12 +-
 backend/helpers/pluginhelper/api/scope_helper.go   | 352 ++++++++++++++++++---
 .../helpers/pluginhelper/api/scope_helper_test.go  |   4 +-
 .../pluginhelper}/services/blueprint_helper.go     | 115 +++++--
 backend/plugins/pagerduty/api/scope.go             |  21 +-
 .../e2e/raw_tables/_raw_pagerduty_incidents.csv    |   6 +-
 .../_tool_pagerduty_assignments.csv                |   6 +-
 .../snapshot_tables/_tool_pagerduty_incidents.csv  |   6 +-
 .../e2e/snapshot_tables/_tool_pagerduty_users.csv  |   4 +-
 backend/plugins/pagerduty/impl/impl.go             |  17 +-
 .../plugins/pagerduty/tasks/incidents_collector.go |   8 +-
 .../plugins/pagerduty/tasks/incidents_converter.go |   8 +-
 .../plugins/pagerduty/tasks/incidents_extractor.go |   8 +-
 backend/plugins/pagerduty/tasks/task_data.go       |   8 +
 backend/server/api/router.go                       |   7 +-
 backend/server/services/blueprint.go               |  30 +-
 backend/server/services/init.go                    |   5 +-
 backend/test/e2e/remote/helper.go                  |  22 +-
 backend/test/e2e/remote/python_plugin_test.go      |  41 ++-
 backend/test/helper/api.go                         |  46 ++-
 backend/test/helper/json_helper.go                 |  12 +
 backend/test/helper/models.go                      |   7 +
 config-ui/src/App.tsx                              |   9 +-
 config-ui/src/components/dialog/styled.ts          |   4 +-
 config-ui/src/components/page-header/styled.ts     |   4 +-
 config-ui/src/components/table/styled.ts           |   8 +-
 config-ui/src/layouts/base/use-menu.ts             |   9 +
 .../pages/blueprint/create/components/step-1.tsx   |   4 +-
 config-ui/src/pages/connection/detail/index.tsx    | 152 ---------
 config-ui/src/pages/connection/detail/styled.ts    |  56 ----
 .../form/index.tsx}                                |  29 +-
 .../connection/home/count.tsx}                     |  14 +-
 config-ui/src/pages/connection/home/index.tsx      | 212 ++++---------
 config-ui/src/pages/connection/home/styled.ts      |  10 -
 config-ui/src/pages/connection/index.ts            |   3 +-
 .../src/pages/connection/{detail => list}/api.ts   |   0
 config-ui/src/pages/connection/list/connection.tsx | 142 +++++++++
 .../list/index.tsx}                                |  39 ++-
 .../connection/list}/styled.ts                     |  25 +-
 .../plugins/components/connection-form/index.tsx   |  65 +---
 .../fields => connection-form/operate}/index.ts    |   3 +-
 .../connection-form/operate/save.tsx}              |  49 +--
 .../connection-form/operate/test.tsx}              |  57 ++--
 .../plugins/components/connection-form/styled.ts   |   7 +-
 .../plugins/components/transformation-form/misc.ts |  12 +-
 config-ui/src/plugins/config.ts                    |   4 +-
 config-ui/src/plugins/register/ae/config.ts        |   2 +-
 config-ui/src/plugins/register/azure/config.tsx    |   7 +-
 .../src/plugins/register/bitbucket/config.tsx      |   4 +-
 config-ui/src/plugins/register/customize/config.ts |   2 +-
 config-ui/src/plugins/register/dbt/config.ts       |   2 +-
 config-ui/src/plugins/register/dora/config.ts      |   2 +-
 config-ui/src/plugins/register/feishu/config.ts    |   2 +-
 config-ui/src/plugins/register/gitee/config.ts     |   2 +-
 .../src/plugins/register/gitextractor/config.ts    |   2 +-
 config-ui/src/plugins/register/github/config.tsx   |   6 +-
 .../src/plugins/register/github_graphql/config.ts  |   2 +-
 config-ui/src/plugins/register/gitlab/config.tsx   |   6 +-
 config-ui/src/plugins/register/jenkins/config.ts   |   4 +-
 config-ui/src/plugins/register/jira/config.tsx     |   4 +-
 config-ui/src/plugins/register/org/config.ts       |   2 +-
 .../src/plugins/register/pagerduty/config.tsx      |   4 +-
 config-ui/src/plugins/register/refdiff/config.ts   |   2 +-
 config-ui/src/plugins/register/sonarqube/config.ts |   4 +-
 config-ui/src/plugins/register/starrocks/config.ts |   2 +-
 config-ui/src/plugins/register/tapd/config.tsx     |   7 +-
 .../src/plugins/register/teambition/config.tsx     |   6 +-
 config-ui/src/plugins/register/webook/config.ts    |   6 +-
 config-ui/src/plugins/register/zentao/config.ts    |   4 +-
 config-ui/src/store/connections/api.ts             |  13 +-
 config-ui/src/store/connections/context.tsx        |   4 +-
 config-ui/src/store/connections/status.tsx         |  47 +--
 .../src/store/connections/use-context-value.ts     | 179 +++++------
 81 files changed, 1255 insertions(+), 896 deletions(-)
 rename backend/{server => helpers/pluginhelper}/services/blueprint_helper.go (54%)
 delete mode 100644 config-ui/src/pages/connection/detail/index.tsx
 delete mode 100644 config-ui/src/pages/connection/detail/styled.ts
 copy config-ui/src/pages/{blueprint/detail/blueprint-detail-page.tsx => connection/form/index.tsx} (59%)
 copy config-ui/src/{components/table/components/loading.tsx => pages/connection/home/count.tsx} (80%)
 rename config-ui/src/pages/connection/{detail => list}/api.ts (100%)
 create mode 100644 config-ui/src/pages/connection/list/connection.tsx
 copy config-ui/src/pages/{blueprint/detail/blueprint-detail-page.tsx => connection/list/index.tsx} (51%)
 copy config-ui/src/{plugins/components/data-scope-form => pages/connection/list}/styled.ts (78%)
 copy config-ui/src/plugins/components/{transformation-form/fields => connection-form/operate}/index.ts (94%)
 copy config-ui/src/plugins/{register/webook/delete-dialog/use-delete.ts => components/connection-form/operate/save.tsx} (53%)
 copy config-ui/src/plugins/{register/webook/delete-dialog/use-delete.ts => components/connection-form/operate/test.tsx} (50%)