Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-21424

Remove the Hard-Coded Data in Middleware

    XMLWordPrintable

    Details

      Description

      Remove the hard-coded data in middleware by Moog. Consider to add the configuration file. Use the path variable is also a solution. Need to check the yaml support in c language.

        Attachments

          Activity

          Hide
          ttsai Te-Wei Tsai added a comment -

          Updated the Makefile to install the libyaml.

          Show
          ttsai Te-Wei Tsai added a comment - Updated the Makefile to install the libyaml.
          Hide
          ttsai Te-Wei Tsai added a comment - - edited

          Use the libyaml to get the string data. There are three types to use the libyaml. I tried the event and token methods. After the test, I decided to use the event method because it is simpler than the token in my use case. I only planned to support the simple key-value string type at this moment.

          Show
          ttsai Te-Wei Tsai added a comment - - edited Use the libyaml to get the string data. There are three types to use the libyaml. I tried the event and token methods. After the test, I decided to use the event method because it is simpler than the token in my use case. I only planned to support the simple key-value string type at this moment.
          Hide
          ttsai Te-Wei Tsai added a comment -

          Remove the hard-coded path in repo.

          Show
          ttsai Te-Wei Tsai added a comment - Remove the hard-coded path in repo.
          Hide
          ttsai Te-Wei Tsai added a comment -

          Support the libyaml in this task.

          The PR is at:

          https://github.com/lsst-ts/ts_mt_hexRot_middleware/pull/9

          Please help to review. You can ignore the error from Jenkins since that is another issue.

          Thanks.

          Show
          ttsai Te-Wei Tsai added a comment - Support the libyaml in this task. The PR is at: https://github.com/lsst-ts/ts_mt_hexRot_middleware/pull/9 Please help to review. You can ignore the error from Jenkins since that is another issue. Thanks.

            People

            Assignee:
            ttsai Te-Wei Tsai
            Reporter:
            ttsai Te-Wei Tsai
            Reviewers:
            Colin Winslow [X] (Inactive)
            Watchers:
            Te-Wei Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Start date:
              End date:

                Jenkins Builds

                No builds found.