Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: sNova.close(); } } private void init() { Iterable<Module> modules = ImmutableSet.<Module> of(new SLF4JLoggingModule()); String provider = "openstack-nova"; String identity = "admin:admin"; // tenantName:userName String password = "test"; // demo account uses ADMIN_PASSWORD too ComputeServiceContext context = ContextBuilder.newBuilder(provider) .endpoint("http://192.168.1.33:5000/v2.0/") .credentials(identity, password) .modules(modules) Source: http://pastebin.com/raw.php?i=ub9DP7ks
↧