[DEV] update BDD name

This commit is contained in:
Edouard DUPIN 2020-11-10 23:12:13 +01:00
parent 2534e6a421
commit 70c8c67f6d
5 changed files with 63 additions and 5 deletions

28
.project Normal file
View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>OAuth</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>

28
back/.project Normal file
View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>karauth</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>

1
back/.properties Normal file
View File

@ -0,0 +1 @@
io.scenarium.web.oauth.address=sqdfsqdfqsdf

View File

@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>scenarium</groupId>
<artifactId>scenarium-oauth</artifactId>
<groupId>org.kar</groupId>
<artifactId>karauth</artifactId>
<version>0.1.0</version>
<properties>
<jaxrs.version>2.1</jaxrs.version>

View File

@ -13,7 +13,8 @@ public class ConfigVariable {
public static String getDBPort() {
String out = System.getenv("org.kar.oauth.db.port");
if (out == null) {
return"3306";
//return"3306";
return"15306";
}
return out;
}
@ -37,7 +38,7 @@ public class ConfigVariable {
public static String getDBName() {
String out = System.getenv("MYSQL_DATABASE");
if (out == null) {
return"oauth";
return"karauth";
}
return out;
}
@ -45,7 +46,7 @@ public class ConfigVariable {
public static String getlocalAddress() {
String out = System.getenv("org.kar.oauth.address");
if (out == null) {
return"http://0.0.0.0:17080/oauth/api/";
return"http://0.0.0.0:17080/karauth/api/";
}
return out;
}