-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4954 from WeDataSphere/master-pes
[Feature]New user configuration function added to the management console #4948
- Loading branch information
Showing
122 changed files
with
7,119 additions
and
685 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
...ance-common/src/main/java/org/apache/linkis/governance/common/entity/TemplateConfKey.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
package org.apache.linkis.governance.common.entity; | ||
|
||
public class TemplateConfKey { | ||
|
||
private String templateUuid; | ||
|
||
private String key; | ||
|
||
private String templateName; | ||
|
||
private String configValue; | ||
|
||
public String getTemplateUuid() { | ||
return templateUuid; | ||
} | ||
|
||
public void setTemplateUuid(String templateUuid) { | ||
this.templateUuid = templateUuid; | ||
} | ||
|
||
public String getKey() { | ||
return key; | ||
} | ||
|
||
public void setKey(String key) { | ||
this.key = key; | ||
} | ||
|
||
public String getTemplateName() { | ||
return templateName; | ||
} | ||
|
||
public void setTemplateName(String templateName) { | ||
this.templateName = templateName; | ||
} | ||
|
||
public String getConfigValue() { | ||
return configValue; | ||
} | ||
|
||
public void setConfigValue(String configValue) { | ||
this.configValue = configValue; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "TemplateKey{" | ||
+ "templateUuid='" | ||
+ templateUuid | ||
+ '\'' | ||
+ ", key='" | ||
+ key | ||
+ '\'' | ||
+ ", templateName='" | ||
+ templateName | ||
+ '\'' | ||
+ ", configValue='" | ||
+ configValue | ||
+ '\'' | ||
+ '}'; | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
.../src/main/java/org/apache/linkis/governance/common/protocol/conf/TemplateConfRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
package org.apache.linkis.governance.common.protocol.conf; | ||
|
||
import org.apache.linkis.protocol.message.RequestProtocol; | ||
|
||
public class TemplateConfRequest implements RequestProtocol { | ||
|
||
private String templateUuid; | ||
|
||
private String templateName; | ||
|
||
public TemplateConfRequest(String templateUuid, String templateName) { | ||
this.templateUuid = templateUuid; | ||
this.templateName = templateName; | ||
} | ||
|
||
public TemplateConfRequest(String templateUuid) { | ||
this.templateUuid = templateUuid; | ||
} | ||
|
||
public String getTemplateUuid() { | ||
return templateUuid; | ||
} | ||
|
||
public void setTemplateUuid(String templateUuid) { | ||
this.templateUuid = templateUuid; | ||
} | ||
|
||
public String getTemplateName() { | ||
return templateName; | ||
} | ||
|
||
public void setTemplateName(String templateName) { | ||
this.templateName = templateName; | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...src/main/java/org/apache/linkis/governance/common/protocol/conf/TemplateConfResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
package org.apache.linkis.governance.common.protocol.conf; | ||
|
||
import org.apache.linkis.governance.common.entity.TemplateConfKey; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class TemplateConfResponse { | ||
|
||
private List<TemplateConfKey> list = new ArrayList<>(); | ||
|
||
public List<TemplateConfKey> getList() { | ||
return list; | ||
} | ||
|
||
public void setList(List<TemplateConfKey> list) { | ||
this.list = list; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.