This repository has been archived by the owner on Oct 3, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fulton
committed
Feb 6, 2020
1 parent
7959dfd
commit a73a359
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
src/main/java/com/andromeda/araserver/localSearchData/GetData.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.andromeda.araserver.localSearchData | ||
|
||
import com.microsoft.azure.documentdb.ConnectionPolicy | ||
import com.microsoft.azure.documentdb.ConsistencyLevel | ||
import com.microsoft.azure.documentdb.DocumentClient | ||
|
||
class GetData { | ||
fun main(){ | ||
val dbLink = System.getenv("IOTDB") | ||
val client = DocumentClient("https://ara-account-data.documents.azure.com:443/", dbLink, ConnectionPolicy(), ConsistencyLevel.Session) | ||
|
||
|
||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/com/andromeda/araserver/localSearchData/ReadDB.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.andromeda.araserver.localSearchData | ||
|
||
class ReadDB { | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/com/andromeda/araserver/localSearchData/SkillsFromDB.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright (c) 2020. Fulton Browne | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package com.andromeda.ara.util | ||
|
||
data class SkillsFromDB(val pre:String, val end:String, val action:String) { | ||
} |