-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bridge): Put pagination size in config property
- Loading branch information
1 parent
34f7681
commit 87d9fd7
Showing
3 changed files
with
42 additions
and
10 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...idge-dummy/src/main/kotlin/com/catenax/bpdm/bridge/dummy/config/BridgeConfigProperties.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,29 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://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. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
******************************************************************************/ | ||
|
||
package com.catenax.bpdm.bridge.dummy.config | ||
|
||
import org.springframework.boot.context.properties.ConfigurationProperties | ||
|
||
|
||
@ConfigurationProperties(prefix = "bpdm.bridge") | ||
data class BridgeConfigProperties( | ||
// Page size for querying Gate | ||
val queryPageSize: Int = 100 | ||
) |
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
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 |
---|---|---|
|
@@ -20,12 +20,15 @@ [email protected]@ | |
bpdm.description=@project.description@ | ||
bpdm.version=@project.version@ | ||
## | ||
#Change default port | ||
# Change default port | ||
server.port=8083 | ||
## | ||
#Logging Configuration | ||
# Logging Configuration | ||
bpdm.logging.unknown-user=Anonymous | ||
## | ||
# Page size for querying Gate | ||
bpdm.bridge.query-page-size=100 | ||
## | ||
# Connection to Pool and Gate | ||
bpdm.pool.base-url=http://localhost:8080/ | ||
bpdm.gate.base-url=http://localhost:8081/ | ||
|