Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Legal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
Security and Compliance
Legal
Merge requests
!42
Unify logic for credentials (GONRG-539)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Unify logic for credentials (GONRG-539)
unify_logic_for_credentials
into
master
Overview
11
Commits
9
Pipelines
8
Changes
4
Merged
Riabokon Stanislav(EPAM)[GCP]
requested to merge
unify_logic_for_credentials
into
master
4 years ago
Overview
11
Commits
9
Pipelines
8
Changes
4
Expand
Description:
Credential classes were moved into gcp-core-lib.
Changed a version 'gcp-core-lib'.
Changed unit tests.
How to test:
Check business logic.
Changes include:
Refactor (a non-breaking change that improves code maintainability).
Bugfix (a non-breaking change that solves an issue).
New feature (a non-breaking change that adds functionality).
Breaking change (a change that is not backward-compatible and/or changes current functionality).
Changes in:
GCP
Azure
AWS
IBM
Dev Checklist:
Added Unit Tests, wherever applicable.
Updated the Readme, if applicable.
Existing Tests pass
Verified functionality locally
Self Reviewed my code for formatting and complex business logic.
Other comments:
Any comments to approvers here
Edited
4 years ago
by
Riabokon Stanislav(EPAM)[GCP]
0
0
Merge request reports
Compare
master
version 3
bc1fa4d6
4 years ago
version 2
3f59dcd4
4 years ago
version 1
054dfa3c
4 years ago
master (base)
and
latest version
latest version
9b22cc7e
9 commits,
4 years ago
version 3
bc1fa4d6
8 commits,
4 years ago
version 2
3f59dcd4
7 commits,
4 years ago
version 1
054dfa3c
5 commits,
4 years ago
4 files
+
111
−
63
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
provider/legal-gcp/src/main/java/org/opengroup/osdu/legal/di/DatastoreCredentialsCacheFactory.java
0 → 100644
+
23
−
0
Options
package
org.opengroup.osdu.legal.di
;
import
org.opengroup.osdu.core.common.cache.ICache
;
import
org.opengroup.osdu.core.common.cache.VmCache
;
import
org.opengroup.osdu.core.gcp.multitenancy.credentials.DatastoreCredential
;
import
org.springframework.beans.factory.config.AbstractFactoryBean
;
import
org.springframework.stereotype.Component
;
@Component
public
class
DatastoreCredentialsCacheFactory
extends
AbstractFactoryBean
<
ICache
<
String
,
DatastoreCredential
>>
{
@Override
public
Class
<?>
getObjectType
()
{
return
ICache
.
class
;
}
@Override
protected
ICache
<
String
,
DatastoreCredential
>
createInstance
()
throws
Exception
{
return
new
VmCache
<>(
5
*
60
,
20
);
}
}
Loading