def add_to_manifest(self, manifest):
        """
        Add useful details to the manifest about this service so
        that it can be used in an application.

        :param manifest: A predix.admin.app.Manifest object instance
            that manages reading/writing manifest config for a
            cloud foundry app.
        """
        manifest.add_service(self.service.name)

        host = predix.config.get_env_key(self.use_class, 'host')
        manifest.add_env_var(host, self.service.settings.data['host'])

        password = predix.config.get_env_key(self.use_class, 'password')
        manifest.add_env_var(password, self.service.settings.data['password'])

        port = predix.config.get_env_key(self.use_class, 'port')
        manifest.add_env_var(port, self.service.settings.data['port'])

        manifest.write_manifest()
def add_to_manifest ( self , manifest ) : manifest . add_service ( self . service . name ) host = predix . config . get_env_key ( self . use_class , 'host' ) manifest . add_env_var ( host , self . service . settings . data [ 'host' ] ) password = predix . config . get_env_key ( self . use_class , 'password' ) manifest . add_env_var ( password , self . service . settings . data [ 'password' ] ) port = predix . config . get_env_key ( self . use_class , 'port' ) manifest . add_env_var ( port , self . service . settings . data [ 'port' ] ) manifest . write_manifest ( )
Add useful details to the manifest about this service so
        that it can be used in an application.

        :param manifest: A predix.admin.app.Manifest object instance
            that manages reading/writing manifest config for a
            cloud foundry app.