Skip to content

How to import microservices using Python scraper

tillias edited this page Jan 16, 2021 · 1 revision

There is sample Python scraper available which can import your microservices and their dependencies by invoking Import API

Scraper is located inside /src/main/scraper (source code is here)

In order to run scraper please specify where it can download microservice descriptors by editing /src/main/scraper/.repos file

Modify _base_url _inside /src/main/scraper/scraper.py so it will point to your running microservice-catalog instance

After that simply run it via python scraper.py

Clone this wiki locally