public class MicroserviceNameParser extends Object
1. if microserviceName format is app:name, then will ignore defaultAppId
appId = app
shortName = name
microserviceName = app:name
2. if microserviceName format is name
appId = defaultAppId
shortName = name
microserviceName = name
| Constructor and Description |
|---|
MicroserviceNameParser(String defaultAppId,
String microserviceName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppId() |
String |
getMicroserviceName() |
String |
getShortName() |
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.