0

I am newbie to Smart Mastering, but already stuck in the basic procedure. I have the latest ML9 and DHF already installed on my laptop, already created my DHF project via Quickstart UI.

  1. To call Smart Mastering APIs from my existing project's writer plugin, what should I do in advance?

  2. When loading match/merge option files, should I better create as independent input flow?

2 Answers2

1

A great place to start is the example DHF project in the Smart Mastering repo.

In there, you can see that match/merge options are being loaded via custom Gradle tasks. You can see an example options load task here.

An example of a task that runs the mastering step via Gradle can be found here.

justdewit
  • 231
  • 2
  • 6
  • Thanks for your comment, I would like to call from writer plugin but, the link is dead. –  Feb 14 '19 at 00:04
-1

As mentioned by @justdewit, the example DHF project should have what you need. For an example writer, take a look at https://github.com/marklogic-community/smart-mastering-core/blob/master/examples/dhf-flow/plugins/entities/Organization/harmonize/SmartMaster/writer.sjs.

drewbono
  • 16
  • 2