alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.33k stars 12.85k forks source link

The console supports the ini format #950

Closed tietang closed 4 years ago

tietang commented 5 years ago

Issue Description

Type: feature request

Describe what happened (or what feature you want)

Can ini format be supported? and type is ini

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

xuechaos commented 5 years ago

@tietang In config module?".ini" file mean this? this only works in windows? Thank you.

tietang commented 5 years ago

@xuechaos yes,that is. Not just Windows, u can see this . U know, mysql has use ini format. Only need to support nacos console.

tietang commented 5 years ago

I have viewed cod of the console project,for nacos/console/src/main/resources/static/console-fe/src/pages/ConfigurationManagement/ConfigEditor/ConfigEditor.js line 576:

const list = [
      { value: 'text', label: 'TEXT' },
      { value: 'json', label: 'JSON' },
      { value: 'xml', label: 'XML' },
      { value: 'yaml', label: 'YAML' },
      { value: 'html', label: 'HTML' },
      { value: 'properties', label: 'Properties' },

    ];

to add one line:


  { value: 'ini', label: 'ini' },
stale[bot] commented 4 years ago

Thanks for your feedback and contribution. But the issue/pull request has not had recent activity more than 180 days. This issue/pull request will be closed if no further activity occurs 7 days later. We may solve this issue in new version. So can you upgrade to newest version and retry? If there are still issues or want to contribute again. Please create new issue or pull request again.