I thought the other way around: application.id
Since the entity name is already there, we might not need to repeat it in
the property name.

Thanks

On Thu, Dec 18, 2014 at 3:20 PM, Manula Chathurika Thantriwatte <
[email protected]> wrote:
>
> Hi,
>
> +1, I think "application.applicationId" convention is more readable.
>
> Thanks !
>
> On Thu, Dec 18, 2014 at 3:12 PM, Imesh Gunaratne <[email protected]> wrote:
>>
>> Hi Devs,
>>
>> As I noticed we have named most of the identity fields in the domain
>> classes in the REST API as "id":
>> applicationLevelNetworkPartition.id
>> childLevelNetworkPartition.id
>> childLevelPartition.id
>> partition.id
>> autoscalingPolicy.id
>>
>> However application identity field is named as "applicationId":
>> application.applicationId
>>
>> May be we could stick to a convention, WDYT?
>>
>> Thanks
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : [email protected] / [email protected]
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>

-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to