The Content Sources service can now be used for handling package info and search. The api call to this service requires a list of repo urls. The `repos.json` file tracks the supported repositories for each distro. This is then mapped into a url array for whichever distro we are searching for packages. The response body is similar to what existed in image-builder but the key `package_name` needs to be mapped to just `name`. Also, there is no pagination in Content Sources for `/rpms/names` so we can currently only fetch a limit of 20 packages. |
||
|---|---|---|
| .. | ||
| Components | ||
| store | ||
| test | ||
| Utilities | ||
| api.js | ||
| App.js | ||
| AppEntry.js | ||
| bootstrap.js | ||
| constants.js | ||
| entry.js | ||
| entry.test.js | ||
| index.html | ||
| repos.js | ||
| Router.js | ||