Commits

Endy Muhardin  committed cd3c72b

fix imports

  • Participants
  • Parent commits d78df29

Comments (0)

Files changed (4)

File belajar-restful-config/src/main/resources/com/artivisi/belajar/applicationContext.xml

 	<context:property-placeholder
 		location="
 	classpath*:jdbc.properties,
-	classpath*:jdbc.${stage}.properties
+	classpath*:jdbc.${spring.profiles.active}.properties
 	" />
 
 	<tx:annotation-driven />

File belajar-restful-config/src/main/resources/logback.xml

 		</encoder>
 	</appender>
 
-	<include resource="logback-${stage:-development}.xml"/>
+	<include resource="logback-${spring.profiles.active:-development}.xml"/>
 
 </configuration>
 

File belajar-restful-config/src/main/resources/messages.properties

 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
+app.name=Aplikasi Belajar
 app.version=${scmVersion}
 
 # pesan error untuk field nip di model karyawan dengan constraint @NotEmpty

File belajar-restful-web/src/test/java/com/artivisi/belajar/restful/ui/controller/HomepageControllerTestIT.java

  */
 package com.artivisi.belajar.restful.ui.controller;
 
-import com.artivisi.belajar.restful.domain.Role;
-import com.artivisi.belajar.restful.domain.User;
 import com.jayway.restassured.authentication.FormAuthConfig;
 import org.junit.Test;
 
-import static com.jayway.restassured.RestAssured.given;
 import static com.jayway.restassured.RestAssured.with;
 import static org.hamcrest.Matchers.containsString;
 import static org.hamcrest.Matchers.equalTo;
-import static org.hamcrest.Matchers.hasItems;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
 
 public class HomepageControllerTestIT {