Skip to content

Commit

Permalink
Basic code structures and classes
Browse files Browse the repository at this point in the history
  • Loading branch information
benedeki committed Oct 11, 2023
1 parent a3c3582 commit 93f2f0d
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 1 deletion.
25 changes: 25 additions & 0 deletions ultet/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright 2022 ABSA Group Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import Dependencies._
import com.github.sbt.jacoco.report.JacocoReportSettings

ThisBuild / organization := "za.co.absa.fa-db"


lazy val scala212 = "2.12.17"

ThisBuild / scalaVersion := scala212
17 changes: 17 additions & 0 deletions ultet/project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#
# Copyright 2022 ABSA Group Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

sbt.version=1.6.2
1 change: 0 additions & 1 deletion ultet/src/main/scala/.gitkeep

This file was deleted.

23 changes: 23 additions & 0 deletions ultet/src/main/scala/za/co/absa/ultet/dbitems/DBItem.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright 2023 ABSA Group Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package za.co.absa.ultet.dbitems

import za.co.absa.ultet.sqlentry.SQLEntry

trait DBItem {
def sqlEntry: SQLEntry
}
23 changes: 23 additions & 0 deletions ultet/src/main/scala/za/co/absa/ultet/sqlentry/SQLEntry.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright 2023 ABSA Group Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package za.co.absa.ultet.sqlentry

trait SQLEntry {
def sqlExpression: String
def transactionGroup: String
def order: Int
}

0 comments on commit 93f2f0d

Please sign in to comment.