deb-murano/meta/io.murano/Classes/system/Resources.yaml
Steve McLellan c49a36d269 Reduce number of API requests during deploy
For every class name, a request is made to the API server to retrieve
the package to which it belongs. This is unnecessary, since a package
contains a list of the classes it owns. This patch adds a second cache
to PackageClassLoader that maps class names to the package, and reduces
the number of calls for the io.murano classes to 1.

The second improvement is to add blank YAML definitions for system
classes (the function definitions are in python code) which allows
the engine to cache those, too.

Change-Id: Iee3c39b7c4965d5b8015d458afb78c324dfd2826
2014-08-13 10:24:03 -05:00

6 lines
118 B
YAML

# Blank class for in-python system libraries, for caching purposes
Namespaces:
=: io.murano.system
Name: Resources