Skip to content

Commit

Permalink
#1693 PR review update 1
Browse files Browse the repository at this point in the history
  • Loading branch information
dk1844 committed Apr 28, 2022
1 parent 9241eb1 commit 09c326e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright 2018 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.enceladus.model.versionedModel

case class VersionList(_id: String, versions: Seq[Int])
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ package za.co.absa.enceladus.model.versionedModel

case class VersionedSummary(_id: String, latestVersion: Int)

case class VersionList(_id: String, versions: Seq[Int])

Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ class SpringFoxConfig extends ProjectMetadata {
// api v2
regex("/api/dataset.*"), regex("/api/schema.*"),
regex("/api/mappingTable.*"), regex("/api/properties.*"),
regex("/api/monitoring.*"),regex("/api/runs.*"),
regex("/api/monitoring.*"), regex("/api/runs.*"),
regex("/api/user.*"), regex("/api/spark.*"),
regex("/api/configuration.*"),

// api v3
regex("/api-v3/datasets.*")
regex("/api-v3/datasets.*"), regex("/api-v3/schemas.*"),
regex("/api-v3/mapping-tables.*"), regex("/api-v3/property-definitions.*")

)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ object DatasetService {
* @param properties original properties
* @return properties without empty-string value entries
*/
def removeBlankProperties(properties: Map[String, String]): Map[String, String] = {
private def removeBlankProperties(properties: Map[String, String]): Map[String, String] = {
properties.filter { case (_, propValue) => propValue.nonEmpty }
}

Expand Down

0 comments on commit 09c326e

Please sign in to comment.