You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr (Jira)" <ji...@apache.org> on 2022/07/07 20:13:00 UTC
[jira] [Commented] (IGNITE-17130) Profilies support for CLI configuration
[ https://issues.apache.org/jira/browse/IGNITE-17130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563946#comment-17563946 ]
Aleksandr commented on IGNITE-17130:
------------------------------------
LGTM, thanks for the contribution.
> Profilies support for CLI configuration
> ---------------------------------------
>
> Key: IGNITE-17130
> URL: https://issues.apache.org/jira/browse/IGNITE-17130
> Project: Ignite
> Issue Type: New Feature
> Reporter: Mikhail Pochatkin
> Assignee: Mikhail Pochatkin
> Priority: Major
> Labels: ignite-3, ignite-3-cli-tool
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> h3. Config file site:
> The Ignite CLI currently only has one set of properties. Need to support multiple profiles, this means that the config must have multiple sections for each user profile. INI format completely covers everything we need, so need migrate config file format from properties to ini.
> Default profile name [default].
> h3. CLI command site:
> Create profile command
> {code:java}
> ignite cli config profile create
> --name profile_name (REQUIRED)
> --copy-from profile-name (OPTIONAL)
> --activate true\false (OPTIONAL, DEFAULT VALUE = false){code}
> Activate profile command as default profile
> {code:java}
> ignite cli config profile use profile_name {code}
> Read\write property with profile
> {code:java}
> ignite cli config --profile profile_name get\set propertyKey=propertyValue {code}
> Read current profile
> {code:java}
> ignite cli config profile show{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)