Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
migration to new db config
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Feb 6, 2020
1 parent 7959dfd commit a73a359
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/java/com/andromeda/araserver/localSearchData/GetData.kt
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)


}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.andromeda.araserver.localSearchData

class ReadDB {
}
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) {
}

0 comments on commit a73a359

Please sign in to comment.