Symptoms

Entry point for service is configured according to specification, but absent in CCP. Entry point URL contains variables.

Cause

Entry point is hidden from CCP whenever it contains invalid URL. This can happen for various reasons:

  • dst attribute contains a variable which is either not defined or defined to value which makes whole dst an invalid URL.
  • dst attribute contains a variable and its value is defined to invalid URL in APP-META.xml.
  • dst attribute is defined to invalid URL.

Resolution

You need to make sure that dst attribute evaluates to a valid URL (with all its variables). Common mistakes include:

<entry-points>
        <entry class="login" dst="{login_ip}" method="POST">
                <label>Login</label>
                <variable name="login_ip" value-of-setting="f_entry">domain.com/login</variable>
        </entry>
</entry-points>

Here, the link will only be shown if f_entry setting has a value which is a valid URL (gets it from script or it is defined globally).

If f_entry evaluates to empty string, domain.com/login will be used as dst and will be hidden because it is an invalid URL (missing http:// or https://).

Internal content