http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql 
b/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
index 25d82ef..d09aec5 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
@@ -20,15 +20,11 @@ CREATE TABLE clusters (cluster_id NUMBER(19) NOT NULL, 
cluster_info VARCHAR2(255
 CREATE TABLE clusterconfig (version_tag VARCHAR2(255) NOT NULL, type_name 
VARCHAR2(255) NOT NULL, cluster_id NUMBER(19) NOT NULL, config_data CLOB NOT 
NULL, create_timestamp NUMBER(19) NOT NULL, PRIMARY KEY (version_tag, 
type_name, cluster_id));
 CREATE TABLE clusterservices (service_name VARCHAR2(255) NOT NULL, cluster_id 
NUMBER(19) NOT NULL, service_enabled NUMBER(10) NOT NULL, PRIMARY KEY 
(service_name, cluster_id));
 CREATE TABLE clusterstate (cluster_id NUMBER(19) NOT NULL, 
current_cluster_state VARCHAR2(255) NULL, current_stack_version VARCHAR2(255) 
NULL, PRIMARY KEY (cluster_id));
-CREATE TABLE componentconfigmapping (config_type VARCHAR2(255) NOT NULL, 
cluster_id NUMBER(19) NOT NULL, component_name VARCHAR2(255) NOT NULL, 
config_tag VARCHAR2(255) NOT NULL, service_name VARCHAR2(255) NOT NULL, 
timestamp NUMBER(19) NOT NULL, PRIMARY KEY (config_type, cluster_id, 
component_name, service_name));
-CREATE TABLE hostcomponentconfigmapping (config_type VARCHAR2(255) NOT NULL, 
cluster_id NUMBER(19) NOT NULL, component_name VARCHAR2(255) NOT NULL, 
config_tag VARCHAR2(255) NOT NULL, host_name VARCHAR2(255) NOT NULL, 
service_name VARCHAR2(255) NOT NULL, timestamp NUMBER(19) NOT NULL, PRIMARY KEY 
(config_type, cluster_id, component_name, host_name, service_name));
-CREATE TABLE hcdesiredconfigmapping (config_type VARCHAR2(255) NOT NULL, 
cluster_id NUMBER(19) NOT NULL, component_name VARCHAR2(255) NOT NULL, 
config_tag VARCHAR2(255) NOT NULL, host_name VARCHAR2(255) NOT NULL, 
service_name VARCHAR2(255) NOT NULL, timestamp NUMBER(19) NOT NULL, PRIMARY KEY 
(config_type, cluster_id, component_name, host_name, service_name));
 CREATE TABLE hostcomponentdesiredstate (cluster_id NUMBER(19) NOT NULL, 
component_name VARCHAR2(255) NOT NULL, desired_stack_version VARCHAR2(255) 
NULL, desired_state VARCHAR2(255) NOT NULL, host_name VARCHAR2(255) NOT NULL, 
service_name VARCHAR2(255) NOT NULL, PRIMARY KEY (cluster_id, component_name, 
host_name, service_name));
 CREATE TABLE hostcomponentstate (cluster_id NUMBER(19) NOT NULL, 
component_name VARCHAR2(255) NOT NULL, current_stack_version VARCHAR2(255) NOT 
NULL, current_state VARCHAR2(255) NOT NULL, host_name VARCHAR2(255) NOT NULL, 
service_name VARCHAR2(255) NOT NULL, PRIMARY KEY (cluster_id, component_name, 
host_name, service_name));
 CREATE TABLE hosts (host_name VARCHAR2(255) NOT NULL, cpu_count INTEGER NOT 
NULL, cpu_info VARCHAR2(255) NULL, discovery_status VARCHAR2(2000) NULL, 
disks_info CLOB NOT NULL, host_attributes CLOB NULL, ipv4 VARCHAR2(255) NULL, 
ipv6 VARCHAR2(255) NULL, last_registration_time INTEGER NOT NULL, os_arch 
VARCHAR2(255) NULL, os_info VARCHAR2(1000) NULL, os_type VARCHAR2(255) NULL, 
ph_cpu_count INTEGER NOT NULL, public_host_name VARCHAR2(255) NULL, rack_info 
VARCHAR2(255) NOT NULL, total_mem INTEGER NOT NULL, PRIMARY KEY (host_name));
 CREATE TABLE hoststate (agent_version VARCHAR2(255) NULL, available_mem 
NUMBER(19) NOT NULL, current_state VARCHAR2(255) NOT NULL, health_status 
VARCHAR2(255) NULL, host_name VARCHAR2(255) NOT NULL, time_in_state NUMBER(19) 
NOT NULL, PRIMARY KEY (host_name));
 CREATE TABLE servicecomponentdesiredstate (component_name VARCHAR2(255) NOT 
NULL, cluster_id NUMBER(19) NOT NULL, desired_stack_version VARCHAR2(255) NULL, 
desired_state VARCHAR2(255) NOT NULL, service_name VARCHAR2(255) NOT NULL, 
PRIMARY KEY (component_name, cluster_id, service_name));
-CREATE TABLE serviceconfigmapping (config_type VARCHAR2(255) NOT NULL, 
cluster_id NUMBER(19) NOT NULL, config_tag VARCHAR2(255) NOT NULL, service_name 
VARCHAR2(255) NOT NULL, timestamp NUMBER(19) NOT NULL, PRIMARY KEY 
(config_type, cluster_id, service_name));
 CREATE TABLE servicedesiredstate (cluster_id NUMBER(19) NOT NULL, 
desired_host_role_mapping NUMBER(10) NOT NULL, desired_stack_version 
VARCHAR2(255) NULL, desired_state VARCHAR2(255) NOT NULL, service_name 
VARCHAR2(255) NOT NULL, PRIMARY KEY (cluster_id, service_name));
 CREATE TABLE roles (role_name VARCHAR2(255) NOT NULL, PRIMARY KEY (role_name));
 CREATE TABLE users (user_id NUMBER(10) NOT NULL, create_time TIMESTAMP NULL, 
ldap_user NUMBER(10) DEFAULT 0, user_name VARCHAR2(255) NULL, user_password 
VARCHAR2(255) NULL, PRIMARY KEY (user_id));
@@ -52,20 +48,12 @@ ALTER TABLE users ADD CONSTRAINT UNQ_users_0 UNIQUE 
(user_name, ldap_user);
 ALTER TABLE clusterconfig ADD CONSTRAINT FK_clusterconfig_cluster_id FOREIGN 
KEY (cluster_id) REFERENCES clusters (cluster_id);
 ALTER TABLE clusterservices ADD CONSTRAINT FK_clusterservices_cluster_id 
FOREIGN KEY (cluster_id) REFERENCES clusters (cluster_id);
 ALTER TABLE clusterstate ADD CONSTRAINT FK_clusterstate_cluster_id FOREIGN KEY 
(cluster_id) REFERENCES clusters (cluster_id);
-ALTER TABLE componentconfigmapping ADD CONSTRAINT 
cmponentconfigmappingconfigtag FOREIGN KEY (config_tag, config_type, 
cluster_id) REFERENCES clusterconfig (version_tag, type_name, cluster_id);
-ALTER TABLE componentconfigmapping ADD CONSTRAINT 
cmpnntconfigmappingcmpnentname FOREIGN KEY (component_name, cluster_id, 
service_name) REFERENCES servicecomponentdesiredstate (component_name, 
cluster_id, service_name);
-ALTER TABLE hostcomponentconfigmapping ADD CONSTRAINT 
hstcmponentconfigmappingclstrd FOREIGN KEY (cluster_id, component_name, 
host_name, service_name) REFERENCES hostcomponentstate (cluster_id, 
component_name, host_name, service_name);
-ALTER TABLE hostcomponentconfigmapping ADD CONSTRAINT 
hstcmponentconfigmappingcnfgtg FOREIGN KEY (config_tag, config_type, 
cluster_id) REFERENCES clusterconfig (version_tag, type_name, cluster_id);
-ALTER TABLE hcdesiredconfigmapping ADD CONSTRAINT 
hcdesiredconfigmappingcnfigtag FOREIGN KEY (config_tag, config_type, 
cluster_id) REFERENCES clusterconfig (version_tag, type_name, cluster_id);
-ALTER TABLE hcdesiredconfigmapping ADD CONSTRAINT 
hcdesiredconfigmappingclsterid FOREIGN KEY (cluster_id, component_name, 
host_name, service_name) REFERENCES hostcomponentdesiredstate (cluster_id, 
component_name, host_name, service_name);
 ALTER TABLE hostcomponentdesiredstate ADD CONSTRAINT 
hstcmponentdesiredstatehstname FOREIGN KEY (host_name) REFERENCES hosts 
(host_name);
 ALTER TABLE hostcomponentdesiredstate ADD CONSTRAINT 
hstcmpnntdesiredstatecmpnntnme FOREIGN KEY (component_name, cluster_id, 
service_name) REFERENCES servicecomponentdesiredstate (component_name, 
cluster_id, service_name);
 ALTER TABLE hostcomponentstate ADD CONSTRAINT hstcomponentstatecomponentname 
FOREIGN KEY (component_name, cluster_id, service_name) REFERENCES 
servicecomponentdesiredstate (component_name, cluster_id, service_name);
 ALTER TABLE hostcomponentstate ADD CONSTRAINT hostcomponentstate_host_name 
FOREIGN KEY (host_name) REFERENCES hosts (host_name);
 ALTER TABLE hoststate ADD CONSTRAINT FK_hoststate_host_name FOREIGN KEY 
(host_name) REFERENCES hosts (host_name);
 ALTER TABLE servicecomponentdesiredstate ADD CONSTRAINT 
srvccmponentdesiredstatesrvcnm FOREIGN KEY (service_name, cluster_id) 
REFERENCES clusterservices (service_name, cluster_id);
-ALTER TABLE serviceconfigmapping ADD CONSTRAINT srviceconfigmappingservicename 
FOREIGN KEY (service_name, cluster_id) REFERENCES clusterservices 
(service_name, cluster_id);
-ALTER TABLE serviceconfigmapping ADD CONSTRAINT serviceconfigmappingconfig_tag 
FOREIGN KEY (config_tag, config_type, cluster_id) REFERENCES clusterconfig 
(version_tag, type_name, cluster_id);
 ALTER TABLE servicedesiredstate ADD CONSTRAINT servicedesiredstateservicename 
FOREIGN KEY (service_name, cluster_id) REFERENCES clusterservices 
(service_name, cluster_id);
 ALTER TABLE execution_command ADD CONSTRAINT FK_execution_command_task_id 
FOREIGN KEY (task_id) REFERENCES host_role_command (task_id);
 ALTER TABLE host_role_command ADD CONSTRAINT FK_host_role_command_stage_id 
FOREIGN KEY (stage_id, request_id) REFERENCES stage (stage_id, request_id);

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql 
b/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
index 509ecb5..3ac5451 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
@@ -43,15 +43,6 @@ GRANT ALL PRIVILEGES ON TABLE ambari.clusterservices TO 
:username;
 CREATE TABLE ambari.clusterstate (cluster_id BIGINT NOT NULL, 
current_cluster_state VARCHAR(255) NOT NULL, current_stack_version VARCHAR(255) 
NOT NULL, PRIMARY KEY (cluster_id));
 GRANT ALL PRIVILEGES ON TABLE ambari.clusterstate TO :username;
 
-CREATE TABLE ambari.componentconfigmapping (cluster_id BIGINT NOT NULL, 
component_name VARCHAR(255) NOT NULL, service_name VARCHAR(255) NOT NULL, 
config_type VARCHAR(255) NOT NULL, timestamp BIGINT NOT NULL, config_tag 
VARCHAR(255) NOT NULL, PRIMARY KEY (cluster_id, component_name, service_name, 
config_type));
-GRANT ALL PRIVILEGES ON TABLE ambari.componentconfigmapping TO :username;
-
-CREATE TABLE ambari.hostcomponentconfigmapping (cluster_id BIGINT NOT NULL, 
component_name VARCHAR(255) NOT NULL, host_name VARCHAR(255) NOT NULL, 
service_name VARCHAR(255) NOT NULL, config_type VARCHAR(255) NOT NULL, 
timestamp BIGINT NOT NULL, config_tag VARCHAR(255) NOT NULL, PRIMARY KEY 
(cluster_id, component_name, host_name, service_name, config_type));
-GRANT ALL PRIVILEGES ON TABLE ambari.hostcomponentconfigmapping TO :username;
-
-CREATE TABLE ambari.hcdesiredconfigmapping (cluster_id BIGINT NOT NULL, 
component_name VARCHAR(255) NOT NULL, host_name VARCHAR(255) NOT NULL, 
service_name VARCHAR(255) NOT NULL, config_type VARCHAR(255) NOT NULL, 
timestamp BIGINT NOT NULL, config_tag VARCHAR(255) NOT NULL, PRIMARY KEY 
(cluster_id, component_name, host_name, service_name, config_type));
-GRANT ALL PRIVILEGES ON TABLE ambari.hcdesiredconfigmapping TO :username;
-
 CREATE TABLE ambari.hostcomponentdesiredstate (cluster_id BIGINT NOT NULL, 
component_name VARCHAR(255) NOT NULL, desired_stack_version VARCHAR(255) NOT 
NULL, desired_state VARCHAR(255) NOT NULL, host_name VARCHAR(255) NOT NULL, 
service_name VARCHAR(255) NOT NULL, PRIMARY KEY (cluster_id, component_name, 
host_name, service_name));
 GRANT ALL PRIVILEGES ON TABLE ambari.hostcomponentdesiredstate TO :username;
 
@@ -67,9 +58,6 @@ GRANT ALL PRIVILEGES ON TABLE ambari.hoststate TO :username;
 CREATE TABLE ambari.servicecomponentdesiredstate (component_name VARCHAR(255) 
NOT NULL, cluster_id BIGINT NOT NULL, desired_stack_version VARCHAR(255) NOT 
NULL, desired_state VARCHAR(255) NOT NULL, service_name VARCHAR(255) NOT NULL, 
PRIMARY KEY (component_name, cluster_id, service_name));
 GRANT ALL PRIVILEGES ON TABLE ambari.servicecomponentdesiredstate TO :username;
 
-CREATE TABLE ambari.serviceconfigmapping (cluster_id BIGINT NOT NULL, 
service_name VARCHAR(255) NOT NULL, config_type VARCHAR(255) NOT NULL, 
timestamp BIGINT NOT NULL, config_tag VARCHAR(255) NOT NULL, PRIMARY KEY 
(cluster_id, service_name, config_type));
-GRANT ALL PRIVILEGES ON TABLE ambari.serviceconfigmapping TO :username;
-
 CREATE TABLE ambari.servicedesiredstate (cluster_id BIGINT NOT NULL, 
desired_host_role_mapping INTEGER NOT NULL, desired_stack_version VARCHAR(255) 
NOT NULL, desired_state VARCHAR(255) NOT NULL, service_name VARCHAR(255) NOT 
NULL, PRIMARY KEY (cluster_id, service_name));
 GRANT ALL PRIVILEGES ON TABLE ambari.servicedesiredstate TO :username;
 
@@ -128,20 +116,12 @@ ALTER TABLE ambari.clusterconfig ADD CONSTRAINT 
FK_clusterconfig_cluster_id FORE
 ALTER TABLE ambari.clusterservices ADD CONSTRAINT 
FK_clusterservices_cluster_id FOREIGN KEY (cluster_id) REFERENCES 
ambari.clusters (cluster_id);
 ALTER TABLE ambari.clusterconfigmapping ADD CONSTRAINT 
FK_clusterconfigmapping_cluster_id FOREIGN KEY (cluster_id) REFERENCES 
ambari.clusters (cluster_id);
 ALTER TABLE ambari.clusterstate ADD CONSTRAINT FK_clusterstate_cluster_id 
FOREIGN KEY (cluster_id) REFERENCES ambari.clusters (cluster_id);
-ALTER TABLE ambari.componentconfigmapping ADD CONSTRAINT 
FK_componentconfigmapping_config_tag FOREIGN KEY (config_tag, config_type, 
cluster_id) REFERENCES ambari.clusterconfig (version_tag, type_name, 
cluster_id);
-ALTER TABLE ambari.componentconfigmapping ADD CONSTRAINT 
FK_componentconfigmapping_component_name FOREIGN KEY (component_name, 
cluster_id, service_name) REFERENCES ambari.servicecomponentdesiredstate 
(component_name, cluster_id, service_name);
-ALTER TABLE ambari.hostcomponentconfigmapping ADD CONSTRAINT 
FK_hostcomponentconfigmapping_config_tag FOREIGN KEY (config_tag, config_type, 
cluster_id) REFERENCES ambari.clusterconfig (version_tag, type_name, 
cluster_id);
-ALTER TABLE ambari.hostcomponentconfigmapping ADD CONSTRAINT 
FK_hostcomponentconfigmapping_cluster_id FOREIGN KEY (cluster_id, 
component_name, host_name, service_name) REFERENCES ambari.hostcomponentstate 
(cluster_id, component_name, host_name, service_name);
-ALTER TABLE ambari.hcdesiredconfigmapping ADD CONSTRAINT 
FK_hostcomponentdesiredconfigmapping_config_tag FOREIGN KEY (config_tag, 
config_type, cluster_id) REFERENCES ambari.clusterconfig (version_tag, 
type_name, cluster_id);
-ALTER TABLE ambari.hcdesiredconfigmapping ADD CONSTRAINT 
FK_hostcomponentdesiredconfigmapping_cluster_id FOREIGN KEY (cluster_id, 
component_name, host_name, service_name) REFERENCES 
ambari.hostcomponentdesiredstate (cluster_id, component_name, host_name, 
service_name);
 ALTER TABLE ambari.hostcomponentdesiredstate ADD CONSTRAINT 
FK_hostcomponentdesiredstate_host_name FOREIGN KEY (host_name) REFERENCES 
ambari.hosts (host_name);
 ALTER TABLE ambari.hostcomponentdesiredstate ADD CONSTRAINT 
FK_hostcomponentdesiredstate_component_name FOREIGN KEY (component_name, 
cluster_id, service_name) REFERENCES ambari.servicecomponentdesiredstate 
(component_name, cluster_id, service_name);
 ALTER TABLE ambari.hostcomponentstate ADD CONSTRAINT 
FK_hostcomponentstate_component_name FOREIGN KEY (component_name, cluster_id, 
service_name) REFERENCES ambari.servicecomponentdesiredstate (component_name, 
cluster_id, service_name);
 ALTER TABLE ambari.hostcomponentstate ADD CONSTRAINT 
FK_hostcomponentstate_host_name FOREIGN KEY (host_name) REFERENCES ambari.hosts 
(host_name);
 ALTER TABLE ambari.hoststate ADD CONSTRAINT FK_hoststate_host_name FOREIGN KEY 
(host_name) REFERENCES ambari.hosts (host_name);
 ALTER TABLE ambari.servicecomponentdesiredstate ADD CONSTRAINT 
FK_servicecomponentdesiredstate_service_name FOREIGN KEY (service_name, 
cluster_id) REFERENCES ambari.clusterservices (service_name, cluster_id);
-ALTER TABLE ambari.serviceconfigmapping ADD CONSTRAINT 
FK_serviceconfigmapping_config_tag FOREIGN KEY (config_tag, config_type, 
cluster_id) REFERENCES ambari.clusterconfig (version_tag, type_name, 
cluster_id);
-ALTER TABLE ambari.serviceconfigmapping ADD CONSTRAINT 
FK_serviceconfigmapping_service_name FOREIGN KEY (service_name, cluster_id) 
REFERENCES ambari.clusterservices (service_name, cluster_id);
 ALTER TABLE ambari.servicedesiredstate ADD CONSTRAINT 
FK_servicedesiredstate_service_name FOREIGN KEY (service_name, cluster_id) 
REFERENCES ambari.clusterservices (service_name, cluster_id);
 ALTER TABLE ambari.execution_command ADD CONSTRAINT 
FK_execution_command_task_id FOREIGN KEY (task_id) REFERENCES 
ambari.host_role_command (task_id);
 ALTER TABLE ambari.host_role_command ADD CONSTRAINT 
FK_host_role_command_stage_id FOREIGN KEY (stage_id, request_id) REFERENCES 
ambari.stage (stage_id, request_id);

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/main/resources/Ambari-DDL-Postgres-REMOTE-CREATE.sql
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/Ambari-DDL-Postgres-REMOTE-CREATE.sql 
b/ambari-server/src/main/resources/Ambari-DDL-Postgres-REMOTE-CREATE.sql
index a216876..f166df1 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-Postgres-REMOTE-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-Postgres-REMOTE-CREATE.sql
@@ -24,15 +24,11 @@ CREATE TABLE ambari.clusterconfig (version_tag VARCHAR(255) 
NOT NULL, type_name
 CREATE TABLE ambari.clusterconfigmapping (cluster_id bigint NOT NULL, 
type_name VARCHAR(255) NOT NULL, version_tag VARCHAR(255) NOT NULL, 
create_timestamp BIGINT NOT NULL, selected INTEGER NOT NULL DEFAULT 0, 
user_name VARCHAR(255) NOT NULL DEFAULT '_db', PRIMARY KEY (cluster_id, 
type_name, create_timestamp));
 CREATE TABLE ambari.clusterservices (service_name VARCHAR(255) NOT NULL, 
cluster_id BIGINT NOT NULL, service_enabled INTEGER NOT NULL, PRIMARY KEY 
(service_name, cluster_id));
 CREATE TABLE ambari.clusterstate (cluster_id BIGINT NOT NULL, 
current_cluster_state VARCHAR(255) NOT NULL, current_stack_version VARCHAR(255) 
NOT NULL, PRIMARY KEY (cluster_id));
-CREATE TABLE ambari.componentconfigmapping (cluster_id BIGINT NOT NULL, 
component_name VARCHAR(255) NOT NULL, service_name VARCHAR(255) NOT NULL, 
config_type VARCHAR(255) NOT NULL, timestamp BIGINT NOT NULL, config_tag 
VARCHAR(255) NOT NULL, PRIMARY KEY (cluster_id, component_name, service_name, 
config_type));
-CREATE TABLE ambari.hostcomponentconfigmapping (cluster_id BIGINT NOT NULL, 
component_name VARCHAR(255) NOT NULL, host_name VARCHAR(255) NOT NULL, 
service_name VARCHAR(255) NOT NULL, config_type VARCHAR(255) NOT NULL, 
timestamp BIGINT NOT NULL, config_tag VARCHAR(255) NOT NULL, PRIMARY KEY 
(cluster_id, component_name, host_name, service_name, config_type));
-CREATE TABLE ambari.hcdesiredconfigmapping (cluster_id BIGINT NOT NULL, 
component_name VARCHAR(255) NOT NULL, host_name VARCHAR(255) NOT NULL, 
service_name VARCHAR(255) NOT NULL, config_type VARCHAR(255) NOT NULL, 
timestamp BIGINT NOT NULL, config_tag VARCHAR(255) NOT NULL, PRIMARY KEY 
(cluster_id, component_name, host_name, service_name, config_type));
 CREATE TABLE ambari.hostcomponentdesiredstate (cluster_id BIGINT NOT NULL, 
component_name VARCHAR(255) NOT NULL, desired_stack_version VARCHAR(255) NOT 
NULL, desired_state VARCHAR(255) NOT NULL, host_name VARCHAR(255) NOT NULL, 
service_name VARCHAR(255) NOT NULL, PRIMARY KEY (cluster_id, component_name, 
host_name, service_name));
 CREATE TABLE ambari.hostcomponentstate (cluster_id BIGINT NOT NULL, 
component_name VARCHAR(255) NOT NULL, current_stack_version VARCHAR(255) NOT 
NULL, current_state VARCHAR(255) NOT NULL, host_name VARCHAR(255) NOT NULL, 
service_name VARCHAR(255) NOT NULL, PRIMARY KEY (cluster_id, component_name, 
host_name, service_name));
 CREATE TABLE ambari.hosts (host_name VARCHAR(255) NOT NULL, cpu_count INTEGER 
NOT NULL, ph_cpu_count INTEGER, cpu_info VARCHAR(255) NOT NULL, 
discovery_status VARCHAR(2000) NOT NULL, disks_info VARCHAR(10000) NOT NULL, 
host_attributes VARCHAR(20000) NOT NULL, ipv4 VARCHAR(255), ipv6 VARCHAR(255), 
public_host_name VARCHAR(255), last_registration_time BIGINT NOT NULL, os_arch 
VARCHAR(255) NOT NULL, os_info VARCHAR(1000) NOT NULL, os_type VARCHAR(255) NOT 
NULL, rack_info VARCHAR(255) NOT NULL, total_mem BIGINT NOT NULL, PRIMARY KEY 
(host_name));
 CREATE TABLE ambari.hoststate (agent_version VARCHAR(255) NOT NULL, 
available_mem BIGINT NOT NULL, current_state VARCHAR(255) NOT NULL, 
health_status VARCHAR(255), host_name VARCHAR(255) NOT NULL, time_in_state 
BIGINT NOT NULL,  PRIMARY KEY (host_name));
 CREATE TABLE ambari.servicecomponentdesiredstate (component_name VARCHAR(255) 
NOT NULL, cluster_id BIGINT NOT NULL, desired_stack_version VARCHAR(255) NOT 
NULL, desired_state VARCHAR(255) NOT NULL, service_name VARCHAR(255) NOT NULL, 
PRIMARY KEY (component_name, cluster_id, service_name));
-CREATE TABLE ambari.serviceconfigmapping (cluster_id BIGINT NOT NULL, 
service_name VARCHAR(255) NOT NULL, config_type VARCHAR(255) NOT NULL, 
timestamp BIGINT NOT NULL, config_tag VARCHAR(255) NOT NULL, PRIMARY KEY 
(cluster_id, service_name, config_type));
 CREATE TABLE ambari.servicedesiredstate (cluster_id BIGINT NOT NULL, 
desired_host_role_mapping INTEGER NOT NULL, desired_stack_version VARCHAR(255) 
NOT NULL, desired_state VARCHAR(255) NOT NULL, service_name VARCHAR(255) NOT 
NULL, PRIMARY KEY (cluster_id, service_name));
 CREATE TABLE ambari.roles (role_name VARCHAR(255) NOT NULL, PRIMARY KEY 
(role_name));
 CREATE TABLE ambari.users (user_id INTEGER, ldap_user INTEGER NOT NULL DEFAULT 
0, user_name VARCHAR(255) NOT NULL, create_time TIMESTAMP DEFAULT NOW(), 
user_password VARCHAR(255), PRIMARY KEY (user_id), UNIQUE (ldap_user, 
user_name));
@@ -54,20 +50,12 @@ ALTER TABLE ambari.clusterconfig ADD CONSTRAINT 
FK_clusterconfig_cluster_id FORE
 ALTER TABLE ambari.clusterservices ADD CONSTRAINT 
FK_clusterservices_cluster_id FOREIGN KEY (cluster_id) REFERENCES 
ambari.clusters (cluster_id);
 ALTER TABLE ambari.clusterconfigmapping ADD CONSTRAINT 
FK_clusterconfigmapping_cluster_id FOREIGN KEY (cluster_id) REFERENCES 
ambari.clusters (cluster_id);
 ALTER TABLE ambari.clusterstate ADD CONSTRAINT FK_clusterstate_cluster_id 
FOREIGN KEY (cluster_id) REFERENCES ambari.clusters (cluster_id);
-ALTER TABLE ambari.componentconfigmapping ADD CONSTRAINT 
FK_componentconfigmapping_config_tag FOREIGN KEY (config_tag, config_type, 
cluster_id) REFERENCES ambari.clusterconfig (version_tag, type_name, 
cluster_id);
-ALTER TABLE ambari.componentconfigmapping ADD CONSTRAINT 
FK_componentconfigmapping_component_name FOREIGN KEY (component_name, 
cluster_id, service_name) REFERENCES ambari.servicecomponentdesiredstate 
(component_name, cluster_id, service_name);
-ALTER TABLE ambari.hostcomponentconfigmapping ADD CONSTRAINT 
FK_hostcomponentconfigmapping_config_tag FOREIGN KEY (config_tag, config_type, 
cluster_id) REFERENCES ambari.clusterconfig (version_tag, type_name, 
cluster_id);
-ALTER TABLE ambari.hostcomponentconfigmapping ADD CONSTRAINT 
FK_hostcomponentconfigmapping_cluster_id FOREIGN KEY (cluster_id, 
component_name, host_name, service_name) REFERENCES ambari.hostcomponentstate 
(cluster_id, component_name, host_name, service_name);
-ALTER TABLE ambari.hcdesiredconfigmapping ADD CONSTRAINT 
FK_hostcomponentdesiredconfigmapping_config_tag FOREIGN KEY (config_tag, 
config_type, cluster_id) REFERENCES ambari.clusterconfig (version_tag, 
type_name, cluster_id);
-ALTER TABLE ambari.hcdesiredconfigmapping ADD CONSTRAINT 
FK_hostcomponentdesiredconfigmapping_cluster_id FOREIGN KEY (cluster_id, 
component_name, host_name, service_name) REFERENCES 
ambari.hostcomponentdesiredstate (cluster_id, component_name, host_name, 
service_name);
 ALTER TABLE ambari.hostcomponentdesiredstate ADD CONSTRAINT 
FK_hostcomponentdesiredstate_host_name FOREIGN KEY (host_name) REFERENCES 
ambari.hosts (host_name);
 ALTER TABLE ambari.hostcomponentdesiredstate ADD CONSTRAINT 
FK_hostcomponentdesiredstate_component_name FOREIGN KEY (component_name, 
cluster_id, service_name) REFERENCES ambari.servicecomponentdesiredstate 
(component_name, cluster_id, service_name);
 ALTER TABLE ambari.hostcomponentstate ADD CONSTRAINT 
FK_hostcomponentstate_component_name FOREIGN KEY (component_name, cluster_id, 
service_name) REFERENCES ambari.servicecomponentdesiredstate (component_name, 
cluster_id, service_name);
 ALTER TABLE ambari.hostcomponentstate ADD CONSTRAINT 
FK_hostcomponentstate_host_name FOREIGN KEY (host_name) REFERENCES ambari.hosts 
(host_name);
 ALTER TABLE ambari.hoststate ADD CONSTRAINT FK_hoststate_host_name FOREIGN KEY 
(host_name) REFERENCES ambari.hosts (host_name);
 ALTER TABLE ambari.servicecomponentdesiredstate ADD CONSTRAINT 
FK_servicecomponentdesiredstate_service_name FOREIGN KEY (service_name, 
cluster_id) REFERENCES ambari.clusterservices (service_name, cluster_id);
-ALTER TABLE ambari.serviceconfigmapping ADD CONSTRAINT 
FK_serviceconfigmapping_config_tag FOREIGN KEY (config_tag, config_type, 
cluster_id) REFERENCES ambari.clusterconfig (version_tag, type_name, 
cluster_id);
-ALTER TABLE ambari.serviceconfigmapping ADD CONSTRAINT 
FK_serviceconfigmapping_service_name FOREIGN KEY (service_name, cluster_id) 
REFERENCES ambari.clusterservices (service_name, cluster_id);
 ALTER TABLE ambari.servicedesiredstate ADD CONSTRAINT 
FK_servicedesiredstate_service_name FOREIGN KEY (service_name, cluster_id) 
REFERENCES ambari.clusterservices (service_name, cluster_id);
 ALTER TABLE ambari.execution_command ADD CONSTRAINT 
FK_execution_command_task_id FOREIGN KEY (task_id) REFERENCES 
ambari.host_role_command (task_id);
 ALTER TABLE ambari.host_role_command ADD CONSTRAINT 
FK_host_role_command_stage_id FOREIGN KEY (stage_id, request_id) REFERENCES 
ambari.stage (stage_id, request_id);

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/main/resources/META-INF/persistence.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/META-INF/persistence.xml 
b/ambari-server/src/main/resources/META-INF/persistence.xml
index 5e2e752..34263a9 100644
--- a/ambari-server/src/main/resources/META-INF/persistence.xml
+++ b/ambari-server/src/main/resources/META-INF/persistence.xml
@@ -18,15 +18,11 @@
     <class>org.apache.ambari.server.orm.entities.ClusterConfigEntity</class>
     <class>org.apache.ambari.server.orm.entities.ClusterServiceEntity</class>
     <class>org.apache.ambari.server.orm.entities.ClusterStateEntity</class>
-    
<class>org.apache.ambari.server.orm.entities.ComponentConfigMappingEntity</class>
-    
<class>org.apache.ambari.server.orm.entities.HostComponentConfigMappingEntity</class>
-    
<class>org.apache.ambari.server.orm.entities.HostComponentDesiredConfigMappingEntity</class>
     
<class>org.apache.ambari.server.orm.entities.HostComponentDesiredStateEntity</class>
     
<class>org.apache.ambari.server.orm.entities.HostComponentStateEntity</class>
     <class>org.apache.ambari.server.orm.entities.HostEntity</class>
     <class>org.apache.ambari.server.orm.entities.HostStateEntity</class>
     
<class>org.apache.ambari.server.orm.entities.ServiceComponentDesiredStateEntity</class>
-    
<class>org.apache.ambari.server.orm.entities.ServiceConfigMappingEntity</class>
     
<class>org.apache.ambari.server.orm.entities.ServiceDesiredStateEntity</class>
     <class>org.apache.ambari.server.orm.entities.RoleEntity</class>
     <class>org.apache.ambari.server.orm.entities.UserEntity</class>
@@ -52,41 +48,4 @@
     </properties>
   </persistence-unit>
 
-  <!--<persistence-unit name="ambari-javadb" 
transaction-type="RESOURCE_LOCAL">-->
-    <!--<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>-->
-    <!--<class>org.apache.ambari.server.orm.entities.ClusterEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.ClusterConfigEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.ClusterServiceEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.ClusterStateEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.ComponentConfigMappingEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.HostComponentConfigMappingEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.HostComponentDesiredConfigMappingEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.HostComponentDesiredStateEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.HostComponentStateEntity</class>-->
-    <!--<class>org.apache.ambari.server.orm.entities.HostEntity</class>-->
-    <!--<class>org.apache.ambari.server.orm.entities.HostStateEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.ServiceComponentDesiredStateEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.ServiceConfigMappingEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.ServiceDesiredStateEntity</class>-->
-    <!--<class>org.apache.ambari.server.orm.entities.RoleEntity</class>-->
-    <!--<class>org.apache.ambari.server.orm.entities.UserEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.ExecutionCommandEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.HostRoleCommandEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.RoleSuccessCriteriaEntity</class>-->
-    <!--<class>org.apache.ambari.server.orm.entities.StageEntity</class>-->
-    <!--<class>org.apache.ambari.server.orm.entities.KeyValueEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.ClusterConfigMappingEntity</class>-->
-    
<!--<class>org.apache.ambari.server.orm.entities.HostConfigMappingEntity</class>-->
-    <!--<class>org.apache.ambari.server.orm.entities.MetainfoEntity</class>-->
-    <!--<class>org.apache.ambari.server.orm.entities.ActionEntity</class>-->
-
-    <!--<properties>-->
-      <!--<property name="javax.persistence.jdbc.url" 
value="jdbc:derby:memory:myDB/ambari;create=true" />-->
-      <!--<property name="javax.persistence.jdbc.driver" 
value="org.apache.derby.jdbc.EmbeddedDriver" />-->
-      <!--<property name="eclipselink.ddl-generation" 
value="drop-and-create-tables" />-->
-      <!--<property name="eclipselink.orm.throw.exceptions" value="true" />-->
-      <!--<property name="eclipselink.cache.size.default" value="3000" />-->
-      <!--&lt;!&ndash;<property name="eclipselink.logging.level" 
value="FINEST"/>&ndash;&gt;-->
-    <!--</properties>-->
-  <!--</persistence-unit>-->
 </persistence>

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/main/resources/properties.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/properties.json 
b/ambari-server/src/main/resources/properties.json
index d7e77fe..25f371b 100644
--- a/ambari-server/src/main/resources/properties.json
+++ b/ambari-server/src/main/resources/properties.json
@@ -14,7 +14,6 @@
         "Services/description",
         "Services/display_name",
         "Services/attributes",
-        "ServiceInfo/desired_configs",
         "params/run_smoke_test",
         "params/reconfigure_client",
         "_"
@@ -48,7 +47,6 @@
         "ServiceComponentInfo/state",
         "ServiceComponents/display_name",
         "ServiceComponents/description",
-        "ServiceComponentInfo/desired_configs",
         "ServiceComponentInfo/category",
         "params/run_smoke_test",
         "_"
@@ -60,8 +58,6 @@
         "HostRoles/component_name",
         "HostRoles/state",
         "HostRoles/desired_state",
-        "HostRoles/configs",
-        "HostRoles/desired_configs",
         "HostRoles/stack_id",
         "HostRoles/desired_stack_id",
         "HostRoles/actual_configs",

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapperTest.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapperTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapperTest.java
index 4ef5561..36941e3 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapperTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapperTest.java
@@ -157,8 +157,7 @@ public class ExecutionCommandWrapperTest {
     s.addHostRoleExecutionCommand(hostName, Role.NAMENODE,
         RoleCommand.START,
         new ServiceComponentHostStartEvent(Role.NAMENODE.toString(),
-            hostName, System.currentTimeMillis(),
-            new HashMap<String, String>()), clusterName, "HDFS");
+            hostName, System.currentTimeMillis()), clusterName, "HDFS");
     List<Stage> stages = new ArrayList<Stage>();
     stages.add(s);
     db.persistActions(stages);

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionDBAccessorImpl.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionDBAccessorImpl.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionDBAccessorImpl.java
index f3ca646..f101a64 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionDBAccessorImpl.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionDBAccessorImpl.java
@@ -240,27 +240,23 @@ public class TestActionDBAccessorImpl {
     s.addHostRoleExecutionCommand("host1", Role.HBASE_MASTER,
         RoleCommand.START,
         new ServiceComponentHostStartEvent(Role.HBASE_MASTER.toString(),
-            "host1", System.currentTimeMillis(),
-            new HashMap<String, String>()), "cluster1", "HBASE");
+            "host1", System.currentTimeMillis()), "cluster1", "HBASE");
     s.addHostRoleExecutionCommand("host2", Role.HBASE_MASTER,
         RoleCommand.START,
         new ServiceComponentHostStartEvent(Role.HBASE_MASTER.toString(),
-            "host2", System.currentTimeMillis(),
-            new HashMap<String, String>()), "cluster1", "HBASE");
+            "host2", System.currentTimeMillis()), "cluster1", "HBASE");
     s.addHostRoleExecutionCommand(
         "host3",
         Role.HBASE_REGIONSERVER,
         RoleCommand.START,
         new ServiceComponentHostStartEvent(Role.HBASE_REGIONSERVER
-            .toString(), "host3", System.currentTimeMillis(),
-            new HashMap<String, String>()), "cluster1", "HBASE");
+            .toString(), "host3", System.currentTimeMillis()), "cluster1", 
"HBASE");
     s.addHostRoleExecutionCommand(
         "host4",
         Role.HBASE_REGIONSERVER,
         RoleCommand.START,
         new ServiceComponentHostStartEvent(Role.HBASE_REGIONSERVER
-            .toString(), "host4", System.currentTimeMillis(),
-            new HashMap<String, String>()), "cluster1", "HBASE");
+            .toString(), "host4", System.currentTimeMillis()), "cluster1", 
"HBASE");
     List<Stage> stages = new ArrayList<Stage>();
     stages.add(s);
     s.getOrderedHostRoleCommands().get(0).setStatus(HostRoleStatus.PENDING);
@@ -291,15 +287,13 @@ public class TestActionDBAccessorImpl {
     s.addHostRoleExecutionCommand(hostname, Role.HBASE_MASTER,
         RoleCommand.START,
         new ServiceComponentHostStartEvent(Role.HBASE_MASTER.toString(),
-            hostname, System.currentTimeMillis(),
-            new HashMap<String, String>()), "cluster1", "HBASE");
+            hostname, System.currentTimeMillis()), "cluster1", "HBASE");
     s.addHostRoleExecutionCommand(
         hostname,
         Role.HBASE_REGIONSERVER,
         RoleCommand.START,
         new ServiceComponentHostStartEvent(Role.HBASE_REGIONSERVER
-            .toString(), hostname, System.currentTimeMillis(),
-            new HashMap<String, String>()), "cluster1", "HBASE");
+            .toString(), hostname, System.currentTimeMillis()), "cluster1", 
"HBASE");
     List<Stage> stages = new ArrayList<Stage>();
     stages.add(s);
     db.persistActions(stages);

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionManager.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionManager.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionManager.java
index 5af4fe5..d51047f 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionManager.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionManager.java
@@ -162,8 +162,7 @@ public class TestActionManager {
     s.addHostRoleExecutionCommand(hostname, Role.HBASE_MASTER,
         RoleCommand.START,
         new ServiceComponentHostStartEvent(Role.HBASE_MASTER.toString(),
-            hostname, System.currentTimeMillis(),
-            new HashMap<String, String>()), "cluster1", "HBASE");
+            hostname, System.currentTimeMillis()), "cluster1", "HBASE");
     List<Stage> stages = new ArrayList<Stage>();
     stages.add(s);
     db.persistActions(stages);

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
index ec5e399..a3389f1 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
@@ -454,8 +454,7 @@ public class TestHeartbeatHandler {
     s.addHostRoleExecutionCommand(DummyHostname1, Role.HBASE_MASTER,
         RoleCommand.START,
         new ServiceComponentHostStartEvent(Role.HBASE_MASTER.toString(),
-            DummyHostname1, System.currentTimeMillis(),
-            new HashMap<String, String>()), DummyCluster, HBASE);
+            DummyHostname1, System.currentTimeMillis()), DummyCluster, HBASE);
     List<Stage> stages = new ArrayList<Stage>();
     stages.add(s);
     db.persistActions(stages);

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/471403cd/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerImplTest.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerImplTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerImplTest.java
index ca6c86b..ff461f7 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerImplTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerImplTest.java
@@ -18,8 +18,25 @@
 
 package org.apache.ambari.server.controller;
 
-import com.google.gson.Gson;
-import com.google.inject.Injector;
+import static org.easymock.EasyMock.capture;
+import static org.easymock.EasyMock.createNiceMock;
+import static org.easymock.EasyMock.createStrictMock;
+import static org.easymock.EasyMock.expect;
+import static org.easymock.EasyMock.replay;
+import static org.easymock.EasyMock.verify;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertSame;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
+import java.lang.reflect.Field;
+import java.lang.reflect.Modifier;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
 import org.apache.ambari.server.AmbariException;
 import org.apache.ambari.server.ClusterNotFoundException;
 import org.apache.ambari.server.HostNotFoundException;
@@ -38,24 +55,8 @@ import org.apache.ambari.server.state.StackId;
 import org.easymock.Capture;
 import org.junit.Test;
 
-import java.lang.reflect.Field;
-import java.lang.reflect.Modifier;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-
-import static org.easymock.EasyMock.capture;
-import static org.easymock.EasyMock.createNiceMock;
-import static org.easymock.EasyMock.createStrictMock;
-import static org.easymock.EasyMock.expect;
-import static org.easymock.EasyMock.replay;
-import static org.easymock.EasyMock.verify;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertSame;
-import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
+import com.google.gson.Gson;
+import com.google.inject.Injector;
 
 /**
  * AmbariManagementControllerImpl unit tests
@@ -281,7 +282,7 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, "component1", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component1", "host1", null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();
@@ -344,7 +345,7 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, "component1", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component1", "host1", null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();
@@ -416,13 +417,13 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, "component1", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component1", "host1", null);
 
     ServiceComponentHostRequest request2 = new ServiceComponentHostRequest(
-        "cluster1", null, "component2", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component2", "host1", null);
 
     ServiceComponentHostRequest request3 = new ServiceComponentHostRequest(
-        "cluster1", null, "component3", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component3", "host1", null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();
@@ -511,13 +512,13 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, "component1", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component1", "host1", null);
 
     ServiceComponentHostRequest request2 = new ServiceComponentHostRequest(
-        "cluster1", null, "component2", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component2", "host1", null);
 
     ServiceComponentHostRequest request3 = new ServiceComponentHostRequest(
-        "cluster1", null, "component3", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component3", "host1", null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();
@@ -605,13 +606,13 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, "component1", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component1", "host1", null);
 
     ServiceComponentHostRequest request2 = new ServiceComponentHostRequest(
-        "cluster1", null, "component2", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component2", "host1", null);
 
     ServiceComponentHostRequest request3 = new ServiceComponentHostRequest(
-        "cluster1", null, "component3", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component3", "host1", null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();
@@ -700,13 +701,13 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, "component1", null, Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component1", null, null);
 
     ServiceComponentHostRequest request2 = new ServiceComponentHostRequest(
-        "cluster1", null, "component2", "host2", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component2", "host2", null);
 
     ServiceComponentHostRequest request3 = new ServiceComponentHostRequest(
-        "cluster1", null, "component3", null, Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component3", null, null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();
@@ -780,13 +781,13 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, "component1", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component1", "host1", null);
 
     ServiceComponentHostRequest request2 = new ServiceComponentHostRequest(
-        "cluster1", null, "component2", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component2", "host1", null);
 
     ServiceComponentHostRequest request3 = new ServiceComponentHostRequest(
-        "cluster1", null, "component3", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component3", "host1", null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();
@@ -838,13 +839,13 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, "component1", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component1", "host1", null);
 
     ServiceComponentHostRequest request2 = new ServiceComponentHostRequest(
-        "cluster1", null, "component2", "host2", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component2", "host2", null);
 
     ServiceComponentHostRequest request3 = new ServiceComponentHostRequest(
-        "cluster1", null, "component3", "host1", Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component3", "host1", null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();
@@ -903,7 +904,7 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, "component1", null, Collections.<String, 
String>emptyMap(), null);
+        "cluster1", null, "component1", null, null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();
@@ -980,7 +981,7 @@ public class AmbariManagementControllerImplTest {
 
     // requests
     ServiceComponentHostRequest request1 = new ServiceComponentHostRequest(
-        "cluster1", null, null, null, Collections.<String, String>emptyMap(), 
null);
+        "cluster1", null, null, null, null);
 
 
     Set<ServiceComponentHostRequest> setRequests = new 
HashSet<ServiceComponentHostRequest>();

Reply via email to