Skip to content
Snippets Groups Projects
Commit b9e90a1f authored by Annika Geßmann's avatar Annika Geßmann
Browse files

Merge

parents 535986d8 44904341
No related branches found
No related tags found
No related merge requests found
---
applications:
- name: thinkTogether
memory: 256M
host: thinkTogether
buildpack: java_buildpack
\ No newline at end of file
......@@ -105,12 +105,29 @@
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
<plugins>
<!-- any other plugins -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<artifactId></artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>
</project>
......@@ -7,7 +7,7 @@ import thinkTogether.groupManagement.model.Learninggroup;
import java.util.List;
//Erstellt Zwischenspeicher für die Datenentitäten? "DAO"???
public interface IGroupRepository extends CrudRepository<Learninggroup, Long> {
public interface GroupRepository extends CrudRepository<Learninggroup, Long> {
public List<Learninggroup> findAll();
}
......
spring.datasource.url=jdbc:mariadb://thinktogether.mariadb.database.azure.com:3306/groupmanagement
spring.datasource.username=Nachtkind
spring.datasource.password=!13072020VerteilteSysteme
spring.jpa.show-sql=true
#spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
## Keep the connection alive if idle for a long time (needed in production)
#spring.datasource.testWhileIdle=true
##Hibernate Configuration
## Show or not log for each sql query
## Hibernate ddl auto (create, create-drop, update): with "update" the database
## schema will be automatically updated accordingly to java entities found in
## the project
#spring.jpa.hibernate.ddl-auto=update
#spring.jpa.properties.hibernate.validator.apply_to_ddl=false
## Allows Hibernate to generate SQL optimized for a particular DBMS
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB103Dialect
## naming strategy
## Naming strategy
#spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl
#spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
#spring.jpa.open-in-view=false
#spring.datasource.validationQuery=SELECT 1
server.port=8800
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment