/**
 * Generate unique Id for fabric entity
 */ export class IdGenerator { public static cluster ( ) { return '<cluster>' ; } public static appGroup ( ) { return '<app group>' ; } public static nodeGroup ( ) { return '<node group>' ; } public static networkGroup ( ) { return '<network group>' ; } public static network ( networkName ) { return networkName ; } public static node ( nodeName ) { return nodeName ; } public static app ( appId ) { return appId ; } public static systemAppGroup ( ) { return '<system app group>' ; } public static appType ( appTypeName ) { return appTypeName ; } public static service ( serviceId ) { return serviceId ; } public static partition ( partitionId ) { return partitionId ; } public static replica ( replicaId ) { return replicaId ; } public static deployedApp ( appId ) { return appId ; } public static deployedServicePackage ( serviceId , servicePackageActivationId ) { if ( servicePackageActivationId ) { return `${ serviceId } (${ servicePackageActivationId })` ; } return serviceId ; } public static deployedCodePackageGroup ( ) { return '<deployed code package group>' ; } public static deployedReplicaGroup ( ) { return '<deployed replica group>' ; } public static deployedCodePackage ( codePackageName ) { return codePackageName ; } public static deployedReplica ( partitionId ) { return partitionId ; } }