Patent ID: 11941465
Assignee: nan
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A computer-implemented method, comprising:
instructions, stored in non-transitory computer readable memory, that, when executed by a processor, cause the processor to perform the steps of:
creating a cache of discovered directories in a filesystem stored on a data storage device; and
using the cache to reduce the time cost of microservice discovery, wherein the cache of discovered directories describes local packages that are semantically constructed as microservices;
creating a “development mode” where the local packages are discovered at the outset of each execution, and the local packages objects are refreshed only if they have a more recent modification time;
creating a “production mode” where the local packages are only discovered on a first run, and the local package objects are only read into the cache one time, wherein package manager managed packages are discovered only upon installation and package manager managed package objects are read into a cache only upon installation;
distinguishing between package manager managed microservice directories and developer managed microservice directories responsive to one or more of storing, querying, loading, and refreshing of the cache;
providing an application programming interface (API) to enable access to ambiguously known files across microservices on the data storage device, the API providing lookups using wildcard patterns and globstar patterns using an in-memory cache of discovered microservice directories; and
providing an application programming interface (API) to enable access to a list of ambiguously known file names across microservices on the data storage device, the API to display the list in a priority order via a user interface that is useful in enabling developers to meaningfully organize one microservice to specify defaults and another microservice override those defaults.