zafar
05/18/2020, 2:48 AMmeltano.yml which is located in project folder. But when I start Meltano UI (meltano ui), I don't see any changes in UI. I think that is supposed to generate a configuration form.
I also tried to add the settings property of tap and target to another discovery.yml file which is located in myproject/.meltano/cache/discovery.yml. But the same, this didn't help. In this case, after running meltano ui,
discovery.yml is updated to previous version.al_whatmough
05/18/2020, 11:54 AM--custom flag as per https://meltano.com/tutorials/create-a-custom-extractor.html#create-the-plugin-s-package?al_whatmough
05/18/2020, 11:55 AMmeltano.yml file?douwe_maan
05/18/2020, 1:48 PM.meltano/cache/discovery.yml to the root of your project directory. Per https://meltano.com/docs/contributor-guide.html#known-plugins, that file (if it exists) always takes precedence over the cached copy or the one downloaded from meltano.com/discovery.yml 🙂douwe_maan
05/18/2020, 1:51 PMI made changes to the settings property inÂ@zafar I had missed that you had already found this file! Can you share the YAML structure of the new plugin you added? And do you see it at http://localhost:5000/api/v1/plugins/all? That's the API request that's used to populate the UIÂ which is located in project folder.discovery.yml
douwe_maan
05/18/2020, 2:34 PMzafar
05/19/2020, 11:03 AM--custom flag. yes I see references to the extractor in your meltano.ymlzafar
05/19/2020, 11:06 AMmeltano uidouwe_maan
05/19/2020, 2:51 PM<project>/.meltano/cache/discovery.yml to <project>/discovery.yml and add the new extractor in there? The API endpoint and UI list all known plugins, so plugins only added to meltano.yml won't show up.
Copying the plugin definition you provided into that discovery.yml made it show up in the API endpoint and UI for me, but without a logo (understandably). Clicking "Connect" in the UI fails with some errors related to a missing docs option on the plugin definition (issue to fix this: https://gitlab.com/meltano/meltano/-/issues/2042), which can be worked around by adding docs: "<https://meltano.com/plugins/extractors/firstexample.html>" , even though that URL currently 404s.
The result looks like this:zafar
05/19/2020, 3:58 PMdouwe_maan
05/19/2020, 4:18 PMzafar
05/20/2020, 5:09 PMdouwe_maan
05/20/2020, 5:13 PMX-logo.png for tap-X . Do you have a development environment for Meltano UI set up, or are you using meltano ui from the meltano package?douwe_maan
05/20/2020, 5:14 PMzafar
05/20/2020, 5:15 PMmeltano ui right nowdouwe_maan
05/20/2020, 5:17 PMsrc/webapp/public/static/logos directory of your local clone of the meltano/meltano repozafar
05/20/2020, 7:59 PMmake bundle is giving me error:
rm -rf ./build ./dist ./src/meltano/api/static/js ./src/meltano/api/static/css ./src/webapp/dist
cd src/webapp && yarn && yarn build
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
Makefile:117: recipe for target 'ui' failed
make: *** [ui] Error 1douwe_maan
05/20/2020, 8:03 PMyarn installed; see that issue for more details!zafar
05/20/2020, 9:02 PMdouwe_maan
05/20/2020, 9:04 PMlocalhost:8080 then. Do you see anything in your web inspector console?zafar
05/20/2020, 9:14 PMdouwe_maan
05/20/2020, 9:19 PMmeltano ui with FLASK_ENV=development as suggested under https://meltano.com/docs/contributor-guide.html#api-development?zafar
05/20/2020, 9:35 PMmake bundle , now what I did is:
1. Started FLASK_ENV=development meltano ui in project directory
2. Opened a new terminal tab, yarn setup ; export MELTANO_EMBED=1 ; yarn serve in cloned meltano folderzafar
05/20/2020, 9:35 PMdouwe_maan
05/20/2020, 9:53 PMMELTANO_EMBED=1 , but other than that what you're doing is working locally for me. Can you inspect the Network tab and have a look at the response headers for any of the CORS-preflight OPTIONS requests?douwe_maan
05/20/2020, 9:54 PMAccess-Control-Allow-Origin: <http://localhost:8080>douwe_maan
05/20/2020, 9:55 PMapp.env == "development" , so if you're not seeing that header, your meltano ui may not actually be in development mode for some reasondouwe_maan
05/20/2020, 9:56 PMmeltano command you're running is coming from the development venv you set up, into which you installed Meltano from the meltano/meltano repo you cloned?zafar
05/20/2020, 10:59 PM