Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip]CommonVars update #174

Closed
wants to merge 3 commits into from
Closed

Conversation

v-kkhuang
Copy link

@v-kkhuang v-kkhuang commented Jun 7, 2023

What is the purpose of the change

  1. Optimize the linkis configuration file, wds. linkis ->linkis
  2. Compatible with old configurations, read the linkis configuration first, and if there is no configuration, query wds.linkis

Related issues/PRs

Related issues: apache#4628

Brief change log

  • Define the core abstraction and interfaces of the EngineConn Factory;
  • Define the core abstraction and interfaces of Executor Manager.

Checklist

  • I have read the Contributing Guidelines on pull requests.
  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
  • If this is a code change: I have written unit tests to fully verify the new behavior.

@v-kkhuang v-kkhuang changed the title CommonVars update 【1.1.13】CommonVars update Jun 7, 2023
public void testIsAdmin() {
CommonVars<String> admin = CommonVars.apply("linkis.governance.station.admin", "hadoop");
assertEquals("wds.linkis.governance.station.admin", admin.key());
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没有覆盖必要的场景
Not covering necessary scenarios

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

# Conflicts:
#	linkis-commons/linkis-common/src/test/resources/linkis.properties
@casionone casionone changed the title 【1.1.13】CommonVars update 【wip】CommonVars update Aug 29, 2023
@casionone casionone changed the title 【wip】CommonVars update [wip]CommonVars update Oct 7, 2023
@v-kkhuang v-kkhuang closed this Dec 28, 2023
@v-kkhuang v-kkhuang deleted the dev-1.1.13-opt-conf-read branch June 7, 2024 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants