Exemple #1
0
    def implementation(self):
        """
        Get the implementation details for this Member Authority.

        Retrieve details from the eiSoil plugin and form them into a dictionary
        suitable for the API call response.

        """
        manifest = pm.getManifest('omemberauthorityrm')
        if len(manifest) > 0:
            return {'code_version': str(manifest['version'])}
        else:
            return None
    def implementation(self):
        """
        Get the implementation details for this Federation Registry.

        Retrieve details from the eiSoil plugin and form them into a dictionary
        suitable for the API call response.

        """
        manifest = pm.getManifest('oregistryrm')
        if len(manifest) > 0:
            return {'code_version' : str(manifest['version'])}
        else:
            return None
    def implementation(self):
        """
        Get the implementation details for this Slice Authority.

        Retrieve details from the eiSoil plugin and form them into a dictionary
        suitable for the API call response.

        """
        manifest = pm.getManifest("osliceauthorityrm")
        if len(manifest) > 0:
            return {"code_version": str(manifest["version"])}
        else:
            return None