mirror of https://github.com/OpenVidu/openvidu.git
Configuration parameters updated. JAR building process fixed by pom.xml
parent
abe526365d
commit
76a7531a69
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "openvidu-browser",
|
||||
"version": "0.1.1",
|
||||
"version": "0.2.0",
|
||||
"description": "OpenVidu Browser",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -54,7 +54,7 @@ public class DemoJsonRpcUserControl extends JsonRpcUserControl {
|
|||
private SortedMap<Integer, String> markerUrls;
|
||||
|
||||
public DemoJsonRpcUserControl(NotificationRoomManager roomManager) {
|
||||
super(roomManager);
|
||||
//super(roomManager);
|
||||
}
|
||||
|
||||
public void setFilterType(KmsFilterType type) {
|
||||
|
|
|
@ -103,7 +103,7 @@ public class OpenViduSampleApp extends OpenViduServer {
|
|||
|
||||
@Override
|
||||
public JsonRpcUserControl userControl() {
|
||||
DemoJsonRpcUserControl uc = new DemoJsonRpcUserControl(roomManager());
|
||||
DemoJsonRpcUserControl uc = new DemoJsonRpcUserControl(notificationRoomManager());
|
||||
|
||||
KmsFilterType type = KmsFilterType.parseType(DEMO_FILTER_TYPE);
|
||||
log.info("Configuring demo with filter type: {} (parsed is {})", DEMO_FILTER_TYPE, type);
|
||||
|
@ -126,7 +126,7 @@ public class OpenViduSampleApp extends OpenViduServer {
|
|||
}
|
||||
|
||||
@Bean
|
||||
public NotificationRoomManager roomManager() {
|
||||
public NotificationRoomManager notificationRoomManager() {
|
||||
DemoNotificationRoomHandler notificationRoomHandler =
|
||||
new DemoNotificationRoomHandler(notificationService());
|
||||
|
||||
|
@ -142,7 +142,7 @@ public class OpenViduSampleApp extends OpenViduServer {
|
|||
default:
|
||||
}
|
||||
|
||||
return new NotificationRoomManager(notificationRoomHandler, kmsManager());
|
||||
return new NotificationRoomManager();
|
||||
}
|
||||
|
||||
private void getMarkerUrls(SortedMap<Integer, String> sortedUrls) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
server.port: 5000
|
||||
|
||||
spring.datasource.url: jdbc:mysql://localhost/full_teaching
|
||||
spring.datasource.username: ft-root
|
||||
spring.datasource.url: jdbc:mysql://localhost/openvidu_sample_app
|
||||
spring.datasource.username: root
|
||||
spring.datasource.password: pass
|
||||
spring.datasource.driverClassName: com.mysql.jdbc.Driver
|
||||
spring.jpa.hibernate.ddl-auto: create-drop
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<organizationUrl>http://www.kurento.org</organizationUrl>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
|
||||
<properties>
|
||||
<!-- Main class -->
|
||||
<start-class>org.openvidu.server.OpenViduServer</start-class>
|
||||
|
@ -65,8 +65,27 @@
|
|||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
|
||||
<plugins>
|
||||
|
||||
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<mainClass>${start-class}</mainClass>
|
||||
<layout>ZIP</layout>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
|
@ -77,7 +96,7 @@
|
|||
</plugins>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.kurento</groupId>
|
||||
<artifactId>kurento-jsonrpc-server</artifactId>
|
||||
|
@ -101,7 +120,7 @@
|
|||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.kurento</groupId>
|
||||
<artifactId>kurento-client</artifactId>
|
||||
|
@ -138,34 +157,12 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>default</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>default</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<skipTests>true</skipTests>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<configuration>
|
||||
<skipTests>true</skipTests>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
<!-- <profiles> <profile> <id>default</id> <activation> <property> <name>default</name>
|
||||
<value>true</value> </property> </activation> <build> <plugins> <plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration> <skipTests>true</skipTests> </configuration> </plugin> <plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId>
|
||||
<configuration> <skipTests>true</skipTests> </configuration> </plugin> </plugins>
|
||||
</build> </profile> </profiles> -->
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue