public static Set<String> getPropertyIds(Resource.Type resourceType) {
    Set<String> propertyIds = PROPERTY_IDS.get(resourceType.getInternalType());
    return propertyIds == null ? Collections.emptySet() : propertyIds;
  }
This regular expression will match on every {@code /} in a given string
that is not inside of quotes. The following string would be tokenized like
so:
<p/>
{@code foo/$1.substring(5)/bar/$2.replaceAll(\"/a/b//c///\")/baz}
<ul>
<li>foo</li>
<li>$1.substring(5)</li>
<li>bar</li>
<li>$2.replaceAll(\"/a/b//c///\")</li>
<li>baz</li>
</ul>

This is necessary to be able to properly tokenize a property with {@code /}
while also ensuring we don't match on {@code /} that appears inside of
quotes.
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/PropertyHelper.java