Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IM 1037 global config #89

Merged
merged 4 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions application-templates/javascript/connect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,13 @@ deployAs:
# - key: ENTRY_POINT_URI_PATH
# description: The Application entry point URI path identified during registration of Custom Application
# required: true
inheritAs:
configuration:
securedConfiguration:
- key: GLOBAL_SECURED_CONFIGURATION
description: This secured configuration will be applied to all applications
required: true
standardConfiguration:
- key: GLOBAL_STANDARD_CONFIGURATION
description: This standard configuration will be applied to all applications
required: true
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const eventRouter = Router();

eventRouter.post('/', (req, res, next) => {
logger.info('Event message received');

try {
post(req, res);
} catch (error) {
Expand Down
10 changes: 10 additions & 0 deletions application-templates/typescript/connect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,13 @@ deployAs:
# - key: ENTRY_POINT_URI_PATH
# description: The Application entry point URI path identified during registration of Custom Application
# required: true
inheritAs:
configuration:
securedConfiguration:
- key: GLOBAL_SECURED_CONFIGURATION
description: This secured configuration will configuration will be applied to all applications
required: true
standardConfiguration:
- key: GLOBAL_STANDARD_CONFIGURATION
description: This standard configuration will configuration will be applied to all applications
required: true
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ serviceRouter.post('/', (req, res, next) => {
try {
post(req, res);
} catch (error) {
next(error);
next(error);
}
});

export default serviceRouter;
export default serviceRouter;
Loading