Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
02bc64eb
Unverified
Commit
02bc64eb
authored
Oct 25, 2023
by
gaoyan
Committed by
GitHub
Oct 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Optimize][web]Add apache license header (#2429)
* Optimize the process * Complete the missing Apache protocol header
parent
a36ae43c
Show whitespace changes
Inline
Side-by-side
Showing
46 changed files
with
869 additions
and
0 deletions
+869
-0
LoadingBtn.tsx
dinky-web/src/components/CallBackButton/LoadingBtn.tsx
+19
-0
Title.tsx
dinky-web/src/components/Front/Title.tsx
+19
-0
data.d.ts
dinky-web/src/components/JobTags/data.d.ts
+19
-0
index.tsx
dinky-web/src/components/LineageGraph/index.tsx
+19
-0
lineage-dag-ext.tsx
dinky-web/src/components/LineageGraph/lineage-dag-ext.tsx
+19
-0
index.tsx
dinky-web/src/components/Scroll/ContentScroll/index.tsx
+19
-0
index.tsx
dinky-web/src/components/Sidebar/MovableSidebar/index.tsx
+19
-0
useAccess.tsx
dinky-web/src/hooks/useAccess.tsx
+19
-0
useService.tsx
dinky-web/src/hooks/useService.tsx
+19
-0
useThemeValue.tsx
dinky-web/src/hooks/useThemeValue.tsx
+19
-0
index.tsx
...eb/src/pages/DataStudio/BottomContainer/Lineage/index.tsx
+19
-0
function.tsx
.../src/pages/DataStudio/BottomContainer/Result/function.tsx
+18
-0
index.tsx
...web/src/pages/DataStudio/BottomContainer/Result/index.tsx
+18
-0
index.tsx
.../src/pages/DataStudio/BottomContainer/TableData/index.tsx
+19
-0
index.tsx
dinky-web/src/pages/DataStudio/BottomContainer/index.tsx
+19
-0
index.tsx
dinky-web/src/pages/DataStudio/FooterContainer/index.tsx
+19
-0
index.tsx
...src/pages/DataStudio/HeaderContainer/FlinkGraph/index.tsx
+19
-0
service.tsx
dinky-web/src/pages/DataStudio/HeaderContainer/service.tsx
+19
-0
data.tsx
...y-web/src/pages/DataStudio/LeftContainer/Catalog/data.tsx
+19
-0
index.tsx
...-web/src/pages/DataStudio/LeftContainer/Catalog/index.tsx
+19
-0
service.tsx
...eb/src/pages/DataStudio/LeftContainer/Catalog/service.tsx
+19
-0
index.tsx
...web/src/pages/DataStudio/LeftContainer/MetaData/index.tsx
+19
-0
service.tsx
...b/src/pages/DataStudio/LeftContainer/MetaData/service.tsx
+19
-0
function.tsx
...b/src/pages/DataStudio/LeftContainer/Project/function.tsx
+19
-0
service.tsx
...eb/src/pages/DataStudio/LeftContainer/Project/service.tsx
+19
-0
index.tsx
...web/src/pages/DataStudio/MiddleContainer/Editor/index.tsx
+19
-0
function.tsx
dinky-web/src/pages/DataStudio/MiddleContainer/function.tsx
+19
-0
service.tsx
...src/pages/DataStudio/RightContainer/JobConfig/service.tsx
+19
-0
data.d.tsx
dinky-web/src/pages/DataStudio/data.d.tsx
+19
-0
model.ts
dinky-web/src/pages/DataStudio/model.ts
+19
-0
index.tsx
dinky-web/src/pages/DevOps/JobDetail/JobLineage/index.tsx
+19
-0
JobOperator.tsx
...eb/src/pages/DevOps/JobDetail/JobOperator/JobOperator.tsx
+19
-0
FlinkTable.tsx
...es/DevOps/JobDetail/JobOverview/components/FlinkTable.tsx
+18
-0
JobDesc.tsx
...pages/DevOps/JobDetail/JobOverview/components/JobDesc.tsx
+19
-0
JobHistoryList.tsx
...eb/src/pages/DevOps/JobList/components/JobHistoryList.tsx
+18
-0
index.tsx
dinky-web/src/pages/DevOps/JobList/index.tsx
+18
-0
service.tsx
dinky-web/src/pages/Metrics/Job/service.tsx
+19
-0
service.tsx
dinky-web/src/pages/Metrics/service.tsx
+19
-0
service.tsx
dinky-web/src/pages/RegCenter/DataSource/service.tsx
+19
-0
function.tsx
...pages/RegCenter/Resource/components/FileTree/function.tsx
+19
-0
index.tsx
...Center/Resource/components/ResourcesUploadModal/index.tsx
+19
-0
function.ts
dinky-web/src/pages/SettingCenter/AlertRule/function.ts
+19
-0
index.tsx
...r/GlobalSetting/SettingOverView/ResourcesConfig/index.tsx
+19
-0
function.tsx
...ngCenter/SystemLogs/TagInfo/LogList/LogsTree/function.tsx
+19
-0
useLocalStorage.ts
dinky-web/src/utils/hook/useLocalStorage.ts
+19
-0
modelUtils.ts
dinky-web/src/utils/modelUtils.ts
+19
-0
No files found.
dinky-web/src/components/CallBackButton/LoadingBtn.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
Button
}
from
'antd'
;
import
{
Button
}
from
'antd'
;
import
{
ButtonProps
}
from
'antd/es/button/button'
;
import
{
ButtonProps
}
from
'antd/es/button/button'
;
import
React
,
{
useState
}
from
'react'
;
import
React
,
{
useState
}
from
'react'
;
...
...
dinky-web/src/components/Front/Title.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
// style={{color:token.colorText}}
// style={{color:token.colorText}}
import
{
theme
}
from
'antd'
;
import
{
theme
}
from
'antd'
;
...
...
dinky-web/src/components/JobTags/data.d.ts
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
export
interface
StatusTagProps
{
export
interface
StatusTagProps
{
status
?:
any
;
status
?:
any
;
animation
?:
boolean
;
animation
?:
boolean
;
...
...
dinky-web/src/components/LineageGraph/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
Badge
,
Tooltip
,
Typography
}
from
'antd'
;
import
{
Badge
,
Tooltip
,
Typography
}
from
'antd'
;
import
{
import
{
...
...
dinky-web/src/components/LineageGraph/lineage-dag-ext.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
LineageDag
from
'react-lineage-dag'
;
import
LineageDag
from
'react-lineage-dag'
;
import
*
as
_
from
'lodash'
;
import
*
as
_
from
'lodash'
;
...
...
dinky-web/src/components/Scroll/ContentScroll/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
theme
}
from
'antd'
;
import
{
theme
}
from
'antd'
;
import
React
from
'react'
;
import
React
from
'react'
;
...
...
dinky-web/src/components/Sidebar/MovableSidebar/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
CircleBtn
}
from
'@/components/CallBackButton/CircleBtn'
;
import
{
CircleBtn
}
from
'@/components/CallBackButton/CircleBtn'
;
import
useThemeValue
from
'@/hooks/useThemeValue'
;
import
useThemeValue
from
'@/hooks/useThemeValue'
;
import
{
MinusOutlined
}
from
'@ant-design/icons'
;
import
{
MinusOutlined
}
from
'@ant-design/icons'
;
...
...
dinky-web/src/hooks/useAccess.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
API
}
from
'@/services/data.d'
;
import
{
API
}
from
'@/services/data.d'
;
import
{
SysMenu
}
from
'@/types/AuthCenter/data.d'
;
import
{
SysMenu
}
from
'@/types/AuthCenter/data.d'
;
import
React
,
{
createContext
,
ReactElement
,
useContext
}
from
'react'
;
import
React
,
{
createContext
,
ReactElement
,
useContext
}
from
'react'
;
...
...
dinky-web/src/hooks/useService.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
useUmiRequest
from
'@ahooksjs/use-request'
;
import
useUmiRequest
from
'@ahooksjs/use-request'
;
import
{
request
}
from
'@umijs/max'
;
import
{
request
}
from
'@umijs/max'
;
import
{
Spin
}
from
'antd'
;
import
{
Spin
}
from
'antd'
;
...
...
dinky-web/src/hooks/useThemeValue.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
THEME
}
from
'@/types/Public/data'
;
import
{
THEME
}
from
'@/types/Public/data'
;
import
{
useEffect
,
useState
}
from
'react'
;
import
{
useEffect
,
useState
}
from
'react'
;
...
...
dinky-web/src/pages/DataStudio/BottomContainer/Lineage/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
LineageGraph
from
'@/components/LineageGraph'
;
import
LineageGraph
from
'@/components/LineageGraph'
;
import
{
getCurrentData
,
mapDispatchToProps
}
from
'@/pages/DataStudio/function'
;
import
{
getCurrentData
,
mapDispatchToProps
}
from
'@/pages/DataStudio/function'
;
import
{
StateType
}
from
'@/pages/DataStudio/model'
;
import
{
StateType
}
from
'@/pages/DataStudio/model'
;
...
...
dinky-web/src/pages/DataStudio/BottomContainer/Result/function.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
dinky-web/src/pages/DataStudio/BottomContainer/Result/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
import
{
getCurrentData
,
getCurrentData
,
getCurrentTab
,
getCurrentTab
,
...
...
dinky-web/src/pages/DataStudio/BottomContainer/TableData/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
SseData
}
from
'@/models/Sse'
;
import
{
SseData
}
from
'@/models/Sse'
;
import
{
getCurrentData
}
from
'@/pages/DataStudio/function'
;
import
{
getCurrentData
}
from
'@/pages/DataStudio/function'
;
import
{
StateType
}
from
'@/pages/DataStudio/model'
;
import
{
StateType
}
from
'@/pages/DataStudio/model'
;
...
...
dinky-web/src/pages/DataStudio/BottomContainer/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
CircleBtn
}
from
'@/components/CallBackButton/CircleBtn'
;
import
{
CircleBtn
}
from
'@/components/CallBackButton/CircleBtn'
;
import
Title
from
'@/components/Front/Title'
;
import
Title
from
'@/components/Front/Title'
;
import
ContentScroll
from
'@/components/Scroll/ContentScroll'
;
import
ContentScroll
from
'@/components/Scroll/ContentScroll'
;
...
...
dinky-web/src/pages/DataStudio/FooterContainer/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
useThemeValue
from
'@/hooks/useThemeValue'
;
import
useThemeValue
from
'@/hooks/useThemeValue'
;
import
JobRunningModal
from
'@/pages/DataStudio/FooterContainer/JobRunningModal'
;
import
JobRunningModal
from
'@/pages/DataStudio/FooterContainer/JobRunningModal'
;
import
{
getCurrentTab
}
from
'@/pages/DataStudio/function'
;
import
{
getCurrentTab
}
from
'@/pages/DataStudio/function'
;
...
...
dinky-web/src/pages/DataStudio/HeaderContainer/FlinkGraph/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
FlinkDag
from
'@/components/FlinkDag'
;
import
FlinkDag
from
'@/components/FlinkDag'
;
import
{
Jobs
}
from
'@/types/DevOps/data'
;
import
{
Jobs
}
from
'@/types/DevOps/data'
;
import
{
Empty
}
from
'antd'
;
import
{
Empty
}
from
'antd'
;
...
...
dinky-web/src/pages/DataStudio/HeaderContainer/service.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
postAll
}
from
'@/services/api'
;
import
{
postAll
}
from
'@/services/api'
;
import
{
handleGetOption
,
handleOption
}
from
'@/services/BusinessCrud'
;
import
{
handleGetOption
,
handleOption
}
from
'@/services/BusinessCrud'
;
import
{
DIALECT
}
from
'@/services/constants'
;
import
{
DIALECT
}
from
'@/services/constants'
;
...
...
dinky-web/src/pages/DataStudio/LeftContainer/Catalog/data.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
DataSources
}
from
'@/types/RegCenter/data'
;
import
{
DataSources
}
from
'@/types/RegCenter/data'
;
import
{
DataNode
}
from
'antd/es/tree'
;
import
{
DataNode
}
from
'antd/es/tree'
;
...
...
dinky-web/src/pages/DataStudio/LeftContainer/Catalog/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
TableDataNode
}
from
'@/pages/DataStudio/LeftContainer/Catalog/data'
;
import
{
TableDataNode
}
from
'@/pages/DataStudio/LeftContainer/Catalog/data'
;
import
{
MetaStoreTableType
}
from
'@/pages/DataStudio/model'
;
import
{
MetaStoreTableType
}
from
'@/pages/DataStudio/model'
;
import
{
BtnRoute
}
from
'@/pages/DataStudio/route'
;
import
{
BtnRoute
}
from
'@/pages/DataStudio/route'
;
...
...
dinky-web/src/pages/DataStudio/LeftContainer/Catalog/service.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
StudioMetaStoreParam
}
from
'@/pages/DataStudio/LeftContainer/Catalog/data'
;
import
{
StudioMetaStoreParam
}
from
'@/pages/DataStudio/LeftContainer/Catalog/data'
;
import
{
postAll
}
from
'@/services/api'
;
import
{
postAll
}
from
'@/services/api'
;
import
{
getDataByParamsReturnResult
}
from
'@/services/BusinessCrud'
;
import
{
getDataByParamsReturnResult
}
from
'@/services/BusinessCrud'
;
...
...
dinky-web/src/pages/DataStudio/LeftContainer/MetaData/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
TagAlignLeft
}
from
'@/components/StyledComponents'
;
import
{
TagAlignLeft
}
from
'@/components/StyledComponents'
;
import
{
BtnRoute
}
from
'@/pages/DataStudio/route'
;
import
{
BtnRoute
}
from
'@/pages/DataStudio/route'
;
import
SchemaTree
from
'@/pages/RegCenter/DataSource/components/DataSourceDetail/SchemaTree'
;
import
SchemaTree
from
'@/pages/RegCenter/DataSource/components/DataSourceDetail/SchemaTree'
;
...
...
dinky-web/src/pages/DataStudio/LeftContainer/MetaData/service.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
handleGetOption
,
queryDataByParams
}
from
'@/services/BusinessCrud'
;
import
{
handleGetOption
,
queryDataByParams
}
from
'@/services/BusinessCrud'
;
import
{
l
}
from
'@/utils/intl'
;
import
{
l
}
from
'@/utils/intl'
;
...
...
dinky-web/src/pages/DataStudio/LeftContainer/Project/function.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
getTabIcon
}
from
'@/pages/DataStudio/MiddleContainer/function'
;
import
{
getTabIcon
}
from
'@/pages/DataStudio/MiddleContainer/function'
;
import
{
DIALECT
}
from
'@/services/constants'
;
import
{
DIALECT
}
from
'@/services/constants'
;
import
{
Catalogue
}
from
'@/types/Studio/data.d'
;
import
{
Catalogue
}
from
'@/types/Studio/data.d'
;
...
...
dinky-web/src/pages/DataStudio/LeftContainer/Project/service.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
TaskDataType
}
from
'@/pages/DataStudio/model'
;
import
{
TaskDataType
}
from
'@/pages/DataStudio/model'
;
import
{
postAll
,
putDataJson
}
from
'@/services/api'
;
import
{
postAll
,
putDataJson
}
from
'@/services/api'
;
import
{
queryDataByParams
}
from
'@/services/BusinessCrud'
;
import
{
queryDataByParams
}
from
'@/services/BusinessCrud'
;
...
...
dinky-web/src/pages/DataStudio/MiddleContainer/Editor/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
getCurrentTab
}
from
'@/pages/DataStudio/function'
;
import
{
getCurrentTab
}
from
'@/pages/DataStudio/function'
;
import
{
TASK_VAR_FILTER
}
from
'@/pages/DataStudio/MiddleContainer/Editor/constants'
;
import
{
TASK_VAR_FILTER
}
from
'@/pages/DataStudio/MiddleContainer/Editor/constants'
;
import
DiffModal
from
'@/pages/DataStudio/MiddleContainer/Editor/DiffModal'
;
import
DiffModal
from
'@/pages/DataStudio/MiddleContainer/Editor/DiffModal'
;
...
...
dinky-web/src/pages/DataStudio/MiddleContainer/function.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
import
{
FileIcon
,
FileIcon
,
FlinkSQLEnvSvg
,
FlinkSQLEnvSvg
,
...
...
dinky-web/src/pages/DataStudio/RightContainer/JobConfig/service.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
queryDataByParams
}
from
'@/services/BusinessCrud'
;
import
{
queryDataByParams
}
from
'@/services/BusinessCrud'
;
export
function
getSessionData
()
{
export
function
getSessionData
()
{
...
...
dinky-web/src/pages/DataStudio/data.d.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
export
type
StudioParam
=
{
export
type
StudioParam
=
{
useSession
:
boolean
;
useSession
:
boolean
;
session
:
string
;
session
:
string
;
...
...
dinky-web/src/pages/DataStudio/model.ts
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
getFooterValue
,
isDataStudioTabsItemType
}
from
'@/pages/DataStudio/function'
;
import
{
getFooterValue
,
isDataStudioTabsItemType
}
from
'@/pages/DataStudio/function'
;
import
{
getTaskData
}
from
'@/pages/DataStudio/LeftContainer/Project/service'
;
import
{
getTaskData
}
from
'@/pages/DataStudio/LeftContainer/Project/service'
;
import
{
getFlinkConfigs
}
from
'@/pages/DataStudio/RightContainer/JobConfig/service'
;
import
{
getFlinkConfigs
}
from
'@/pages/DataStudio/RightContainer/JobConfig/service'
;
...
...
dinky-web/src/pages/DevOps/JobDetail/JobLineage/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
LineageGraph
from
'@/components/LineageGraph'
;
import
LineageGraph
from
'@/components/LineageGraph'
;
import
{
DevopsType
}
from
'@/pages/DevOps/JobDetail/model'
;
import
{
DevopsType
}
from
'@/pages/DevOps/JobDetail/model'
;
import
{
queryDataByParams
}
from
'@/services/BusinessCrud'
;
import
{
queryDataByParams
}
from
'@/services/BusinessCrud'
;
...
...
dinky-web/src/pages/DevOps/JobDetail/JobOperator/JobOperator.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
cancelTask
}
from
'@/pages/DataStudio/HeaderContainer/service'
;
import
{
cancelTask
}
from
'@/pages/DataStudio/HeaderContainer/service'
;
import
{
JOB_LIFE_CYCLE
}
from
'@/pages/DevOps/constants'
;
import
{
JOB_LIFE_CYCLE
}
from
'@/pages/DevOps/constants'
;
import
{
isStatusDone
}
from
'@/pages/DevOps/function'
;
import
{
isStatusDone
}
from
'@/pages/DevOps/function'
;
...
...
dinky-web/src/pages/DevOps/JobDetail/JobOverview/components/FlinkTable.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
StatusTag
from
'@/components/JobTags/StatusTag'
;
import
StatusTag
from
'@/components/JobTags/StatusTag'
;
import
{
JobProps
}
from
'@/pages/DevOps/JobDetail/data'
;
import
{
JobProps
}
from
'@/pages/DevOps/JobDetail/data'
;
import
{
parseByteStr
,
parseMilliSecondStr
,
parseNumStr
}
from
'@/utils/function'
;
import
{
parseByteStr
,
parseMilliSecondStr
,
parseNumStr
}
from
'@/utils/function'
;
...
...
dinky-web/src/pages/DevOps/JobDetail/JobOverview/components/JobDesc.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
StatusTag
from
'@/components/JobTags/StatusTag'
;
import
StatusTag
from
'@/components/JobTags/StatusTag'
;
import
{
JobProps
}
from
'@/pages/DevOps/JobDetail/data'
;
import
{
JobProps
}
from
'@/pages/DevOps/JobDetail/data'
;
import
{
parseMilliSecondStr
}
from
'@/utils/function'
;
import
{
parseMilliSecondStr
}
from
'@/utils/function'
;
...
...
dinky-web/src/pages/DevOps/JobList/components/JobHistoryList.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
StatusTag
from
'@/components/JobTags/StatusTag'
;
import
StatusTag
from
'@/components/JobTags/StatusTag'
;
import
{
queryList
}
from
'@/services/api'
;
import
{
queryList
}
from
'@/services/api'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
...
...
dinky-web/src/pages/DevOps/JobList/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
JobLifeCycleTag
from
'@/components/JobTags/JobLifeCycleTag'
;
import
JobLifeCycleTag
from
'@/components/JobTags/JobLifeCycleTag'
;
import
StatusTag
from
'@/components/JobTags/StatusTag'
;
import
StatusTag
from
'@/components/JobTags/StatusTag'
;
import
{
JOB_STATUS_FILTER
,
LIFECYCLE_FILTER
}
from
'@/pages/DevOps/function'
;
import
{
JOB_STATUS_FILTER
,
LIFECYCLE_FILTER
}
from
'@/pages/DevOps/function'
;
...
...
dinky-web/src/pages/Metrics/Job/service.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
MetricsLayout
}
from
'@/pages/Metrics/Job/data'
;
import
{
MetricsLayout
}
from
'@/pages/Metrics/Job/data'
;
import
{
putDataAsArray
,
queryList
}
from
'@/services/api'
;
import
{
putDataAsArray
,
queryList
}
from
'@/services/api'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
...
...
dinky-web/src/pages/Metrics/service.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
getData
}
from
'@/services/api'
;
import
{
getData
}
from
'@/services/api'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
...
...
dinky-web/src/pages/RegCenter/DataSource/service.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
handleAddOrUpdate
,
handleOption
}
from
'@/services/BusinessCrud'
;
import
{
handleAddOrUpdate
,
handleOption
}
from
'@/services/BusinessCrud'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
import
{
DataSources
}
from
'@/types/RegCenter/data'
;
import
{
DataSources
}
from
'@/types/RegCenter/data'
;
...
...
dinky-web/src/pages/RegCenter/Resource/components/FileTree/function.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
ResourceInfo
}
from
'@/types/RegCenter/data'
;
import
{
ResourceInfo
}
from
'@/types/RegCenter/data'
;
import
{
parseByteStr
,
renderIcon
}
from
'@/utils/function'
;
import
{
parseByteStr
,
renderIcon
}
from
'@/utils/function'
;
import
{
l
}
from
'@/utils/intl'
;
import
{
l
}
from
'@/utils/intl'
;
...
...
dinky-web/src/pages/RegCenter/Resource/components/ResourcesUploadModal/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
l
}
from
'@/utils/intl'
;
import
{
l
}
from
'@/utils/intl'
;
import
{
ErrorMessageAsync
,
SuccessMessageAsync
}
from
'@/utils/messages'
;
import
{
ErrorMessageAsync
,
SuccessMessageAsync
}
from
'@/utils/messages'
;
import
{
InboxOutlined
}
from
'@ant-design/icons'
;
import
{
InboxOutlined
}
from
'@ant-design/icons'
;
...
...
dinky-web/src/pages/SettingCenter/AlertRule/function.ts
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
export
const
validationOptions
=
(
value
:
string
)
=>
{
export
const
validationOptions
=
(
value
:
string
)
=>
{
switch
(
value
)
{
switch
(
value
)
{
case
'jobInstance.status'
:
case
'jobInstance.status'
:
...
...
dinky-web/src/pages/SettingCenter/GlobalSetting/SettingOverView/ResourcesConfig/index.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
GeneralConfig
from
'@/pages/SettingCenter/GlobalSetting/SettingOverView/GeneralConfig'
;
import
GeneralConfig
from
'@/pages/SettingCenter/GlobalSetting/SettingOverView/GeneralConfig'
;
import
{
BaseConfigProperties
}
from
'@/types/SettingCenter/data'
;
import
{
BaseConfigProperties
}
from
'@/types/SettingCenter/data'
;
import
{
l
}
from
'@/utils/intl'
;
import
{
l
}
from
'@/utils/intl'
;
...
...
dinky-web/src/pages/SettingCenter/SystemLogs/TagInfo/LogList/LogsTree/function.tsx
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
{
LogInfo
}
from
'@/types/SettingCenter/data'
;
import
{
LogInfo
}
from
'@/types/SettingCenter/data'
;
import
{
parseByteStr
,
renderIcon
}
from
'@/utils/function'
;
import
{
parseByteStr
,
renderIcon
}
from
'@/utils/function'
;
import
{
l
}
from
'@/utils/intl'
;
import
{
l
}
from
'@/utils/intl'
;
...
...
dinky-web/src/utils/hook/useLocalStorage.ts
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
import
React
from
'react'
;
import
React
from
'react'
;
export
function
useLocalStorage
(
key
:
string
,
initialValue
:
any
)
{
export
function
useLocalStorage
(
key
:
string
,
initialValue
:
any
)
{
...
...
dinky-web/src/utils/modelUtils.ts
View file @
02bc64eb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on 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.
*
*/
interface
BaseModelType
{
interface
BaseModelType
{
[
'reducers'
]:
{};
[
'reducers'
]:
{};
[
'effects'
]:
{};
[
'effects'
]:
{};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment