Package org.jfx4ee.adm4ee.business.configuration.entity

Examples of org.jfx4ee.adm4ee.business.configuration.entity.Database


            assertEquals("WebTest", app.getName());

            List<Database> databases = domain.getDatabases();
            assertNotNull(databases);

            Database db = databases.get(0);
            assertEquals("Master", db.getName());

            String pingAction = db.getPingAction();
            assertEquals("ping", pingAction.toLowerCase());

            Map<String, String> properties = db.getProperties();
            assertNotNull(properties);
            String dburl = properties.get("url");
            assertNotNull(dburl);
            assertEquals("APP", properties.get("username"));
View Full Code Here


        }
    }

    @Test
    public void testSaveConfiguration() {
        Database db = config.getDomains().get(0).getDatabases().get(0);
        db.setProperty("TestName", "TestValue");
        config.saveConfiguration();
    }
View Full Code Here

TOP

Related Classes of org.jfx4ee.adm4ee.business.configuration.entity.Database

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.