Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3044

User Service 'methods' field in service specification can be inaccurate

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: CDAP, CDAP Services
    • Labels:
    • Rank:
      1|hzyw7z:

      Description

      An HttpServiceHandler's methods are externally exposed as REST endpoints if they have the appropriate annotations and they are public methods.
      If they are not public, they are not exposed as REST endpoints.

      The issue is that they are still added to the service specification as if though these endpoints are exposed as REST endpoints.

        Attachments

          Activity

            People

            • Assignee:
              ali.anwar Ali Anwar
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: