@mcma/client
Version:
Node module with classes and functions used to access services in an MCMA environment
11 lines (10 loc) • 465 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getResourceManagerConfig = getResourceManagerConfig;
const core_1 = require("@mcma/core");
function getResourceManagerConfig(configVariables = core_1.ConfigVariables.getInstance()) {
return {
serviceRegistryUrl: configVariables.get("MCMA_SERVICE_REGISTRY_URL"),
serviceRegistryAuthType: configVariables.getOptional("MCMA_SERVICE_REGISTRY_AUTH_TYPE"),
};
}