Name is not unique in ES space. I can add any number of assets with the
same name(if the version is different)
UUID of an asset is the unique attribute. (or you can use name+version
similar to AM)

On Thu, Jul 9, 2015 at 2:49 AM, Sajith Ariyarathna <[email protected]>
wrote:

> Hi Chathura,
>
> IMO naming an unique attribute as "Name" is a bad practice. I think naming
> it as "App ID" or "Asset ID"or some other name which indicates attribute's
> uniqueness will be a better approach.
>
> Also name would give an incorrect message to the user since the value of
>> the name is visible to the user.
>>
> Instead of "Name, "Display Name" is always shown to the end-user in AppM
> store for both web apps and mobile apps. (see also [1]).
>
> Thanks & Regards.
>
> [1] https://wso2.org/jira/browse/APPM-1007
>
>
> On Wed, Jul 8, 2015 at 6:28 PM, Chathura Dilan <[email protected]> wrote:
>
>> Hi All,
>>
>> Default name field of an ES artifact is unique to the artifact. Once it
>> is added it cannot be edited. Since it is a name it should have edit
>> capability.
>>
>> Because of this limitation we had to introduced 'Display Name' to the
>> artifact in App Manager which can be edited.
>>
>> Name field is also part of the artifact identifier and it is used to
>> identify the different versions of artifacts.
>>
>> Problem here is if the DisplayName of the app completely change in a new
>> version, there will be a big difference between Name and the DisplayName
>> fields. Also name would give an incorrect message to the user since the
>> value of the name is visible to the user.
>>
>> Any ideas on that?
>>
>> Thanks,
>>
>> --
>> Regards,
>>
>> Chatura Dilan Perera
>> *(Senior Software Engineer** - WSO2 Inc.**)*
>> www.dilan.me
>>
>
>
>
> --
> Sajith Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> mobile: +94 77 6602284, +94 71 3951048
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to