Thank you all. It worked!
On Wed, Jan 31, 2018 at 3:07 PM, ViVo <[email protected]> wrote:
> Thanks, Lei!
>
> Hi Bo,
>
> Sorry about any inconvenience. By default, the UI is in Read-Only mode. To
> simply enable Write operations, please navigate to the file
> 'dist/server/config.js' and change the following function:
>
> ```
> function CheckAdmin(username, callback) {
> callback(username === 'root');
> }
> ```
> to something like this:
> ```
> function CheckAdmin(username, callback) {
> callback(true);
> }
> ```
> This is the function to check if <username> has permissions to do Write
> operations.
>
> Later I'll post a detailed tutorial to show how to properly configure
> permissions and hook customized user authentication.
>
> Feel free to let me know if anything I can help further.
>
> Thanks!
> Vivo
>
> On Wed, Jan 31, 2018 at 3:01 PM, Bo Liu <[email protected]> wrote:
>
>> Thanks Lei!
>>
>> Hi Vivo,
>>
>> To provide more context, I am now able to access the UI as attached.
>> However, I couldn't find a place to create clusters, resources, etc. I
>> guess some additional setup is needed?
>>
>>
>>
>>
>> Thanks,
>> Bo
>>
>> On Wed, Jan 31, 2018 at 1:37 PM, Lei Xia <[email protected]> wrote:
>>
>>> + Vivo, the author of helix-front
>>>
>>> Hi, Vivo, can you help on anwsering Bo's question?
>>>
>>>
>>> Lei
>>>
>>> On Wed, Jan 31, 2018 at 8:56 AM, Bo Liu <[email protected]> wrote:
>>>
>>>> Thank you all for the quick turn around.
>>>>
>>>> Another question.
>>>> Do I need to configure/change anything in helix front so that I can use
>>>> the admin features like adding a cluster etc.
>>>>
>>>> On Jan 31, 2018 08:51, "Lei Xia" <[email protected]> wrote:
>>>>
>>>>> By heix-ui I meaned helix-front.
>>>>>
>>>>>
>>>>> Lei
>>>>>
>>>>> On Wed, Jan 31, 2018 at 8:49 AM Lei Xia <[email protected]> wrote:
>>>>>
>>>>>> helix-ui is written in node.js and it does not publish any Jar or
>>>>>> other artifact along with our release, that is why we did not find this
>>>>>> issue in our release process. Our release script did not bump the
>>>>>> version
>>>>>> in helix-ui submodule pom file. Let us fix the script and regenerate our
>>>>>> release candidate.
>>>>>>
>>>>>> Lei
>>>>>>
>>>>>> On Tue, Jan 30, 2018 at 9:51 PM kishore g <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> How come we did not catch this as part of the release? Lei, is
>>>>>>> helix-front included as part of release profile in pom.
>>>>>>>
>>>>>>> On Tue, Jan 30, 2018 at 9:01 PM, Bo Liu <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> looks like we just need to change the parent version from
>>>>>>>> 0.6.10-SNAPSHOT to 0.8.0.
>>>>>>>>
>>>>>>>> On Tue, Jan 30, 2018 at 8:50 PM, Bo Liu <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi There,
>>>>>>>>>
>>>>>>>>> I am trying to build helix-front UI by following the instructions
>>>>>>>>> on https://helix.apache.org/0.8.0-docs/tutorial_ui.html
>>>>>>>>> However, I got the following error when running the "../build"
>>>>>>>>> step. Any input?
>>>>>>>>>
>>>>>>>>> [INFO] Scanning for projects...
>>>>>>>>>
>>>>>>>>> [ERROR] The build could not read 1 project -> [Help 1]
>>>>>>>>>
>>>>>>>>> [ERROR]
>>>>>>>>>
>>>>>>>>> [ERROR] The project org.apache.helix:helix-front:0.6.10-SNAPSHOT
>>>>>>>>> (/tmp/helix/helix-front/pom.xml) has 1 error
>>>>>>>>>
>>>>>>>>> [ERROR] Non-resolvable parent POM: Could not find artifact
>>>>>>>>> org.apache.helix:helix:pom:0.6.10-SNAPSHOT and
>>>>>>>>> 'parent.relativePath' points at wrong local POM @ line 21, column 11
>>>>>>>>> ->
>>>>>>>>> [Help 2]
>>>>>>>>>
>>>>>>>>> [ERROR]
>>>>>>>>>
>>>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven
>>>>>>>>> with the -e switch.
>>>>>>>>>
>>>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug
>>>>>>>>> logging.
>>>>>>>>>
>>>>>>>>> [ERROR]
>>>>>>>>>
>>>>>>>>> [ERROR] For more information about the errors and possible
>>>>>>>>> solutions, please read the following articles:
>>>>>>>>>
>>>>>>>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>>>>>>>> ence/display/MAVEN/ProjectBuildingException
>>>>>>>>>
>>>>>>>>> [ERROR] [Help 2] http://cwiki.apache.org/conflu
>>>>>>>>> ence/display/MAVEN/UnresolvableModelException
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Best regards,
>>>>>>>>> Bo
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Best regards,
>>>>>>>> Bo
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>
>>
>>
>> --
>> Best regards,
>> Bo
>>
>>
>
--
Best regards,
Bo