This is an automated email from the ASF dual-hosted git repository.
warren pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
from a27bf451 feat(frontend): change jira basicauthencode to
username/password (#2002)
new f88e5c22 feat(api): change jira basicauthencoded to username/password
and extract common utils
new ab0dc9e8 fix(jira): modify migrationscripts to spread basicAuthEncoded
to username/password
new 7b485ed0 unit test for connection
new 1980cb39 minor fixes
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
api/shared/api_output.go | 2 +-
config-ui/src/hooks/useConnectionManager.jsx | 2 +-
.../pages/configure/connections/ConnectionForm.jsx | 4 +-
config-ui/src/pages/configure/settings/jira.jsx | 26 +-
config-ui/webpack.config.js | 18 +-
config-ui/webpack.production.config.js | 18 +-
plugins/feishu/tasks/api_client.go | 2 +-
plugins/github/tasks/api_client.go | 2 +-
plugins/gitlab/gitlab.go | 3 +
plugins/gitlab/tasks/api_client.go | 2 +-
plugins/helper/connection.go | 238 ++++++++++++++++
plugins/helper/connection_test.go | 166 +++++++++++
plugins/helper/worker_scheduler_test.go | 2 +-
plugins/jira/api/connection.go | 314 ++-------------------
plugins/jira/api/init.go | 4 -
plugins/jira/api/issue_status_mapping.go | 216 --------------
plugins/jira/api/issue_type_mapping.go | 214 --------------
plugins/jira/api/proxy.go | 16 +-
plugins/jira/jira.go | 26 +-
plugins/jira/models/connection.go | 31 +-
.../migrationscripts/updateSchemas20220505.go | 20 +-
.../migrationscripts/updateSchemas20220601.go | 114 ++++++++
plugins/jira/tasks/api_client.go | 11 +-
plugins/jira/tasks/apiv2models/issue.go | 12 +-
plugins/jira/tasks/issue_extractor.go | 2 +-
plugins/tapd/api/connection.go | 27 --
plugins/tapd/tapd.go | 8 +-
plugins/tapd/tasks/api_client.go | 4 +-
runner/directrun.go | 3 +-
29 files changed, 628 insertions(+), 879 deletions(-)
create mode 100644 plugins/helper/connection.go
create mode 100644 plugins/helper/connection_test.go
delete mode 100644 plugins/jira/api/issue_status_mapping.go
delete mode 100644 plugins/jira/api/issue_type_mapping.go
create mode 100644
plugins/jira/models/migrationscripts/updateSchemas20220601.go