Skip to content

Commit

Permalink
First commit, cloned from the NK repository
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-mhwh committed Oct 10, 2023
0 parents commit 9c035a5
Show file tree
Hide file tree
Showing 50 changed files with 2,058 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# General
/bower_components
/node_modules
/appdata
target/
npm-debug.log
.version.json
**/target/
env.properties
bin/
tmp/

# Eclipse
.classpath
.project
.settings/

# IDEA
*.iml
*.iws
*.ipr
.idea/
.idea_modules/

# NetBeans
nbproject/
nbactions.xml
nb-configuration.xml

# Visual Studio Code
.vscode
10 changes: 10 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
def jenkinsPipeline = fileLoader.fromGit('common-jenkins-files/JenkinsPipeline',
'https://git.tools.nykredit.it/scm/code-setup/jenkins-pipeline.git', 'master', 'git-dev', 'LINUX')


// Build variables used when building the project on Jenkins
// For a complete list of variables see this: https://wiki.tools.nykredit.it/display/IPAS/Jenkins+build+parameters
// OBS: You need to remember to add env. as part of the parameter name - otherwise Jenkins will not take you variable declaration in account.
// Also remember that string values needs to be surrounded by quotes.

jenkinsPipeline.buildJob()
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Parameter management platform

PMP is a library for creating, interacting and retrieving database persisted variables.

# Current implementation status

PMP is currently a WIP meaning an MVP is being created

# Documentation

[Jira board](https://features.tools.nykredit.it/secure/RapidBoard.jspa?rapidView=18638&projectKey=PMP&view=detail&selectedIssue=PMP-5)

[Confluence](https://wiki.tools.nykredit.it/pages/viewpage.action?pageId=316081961)


Table needed
---------------
```yaml
databaseChangeLog:
- changeSet:
id: 1
author: nykredit
changes:
- createTable:
tableName: PARAMETER_MANAGEMENT
columns:
- column:
name: ID
type: VARCHAR2(36)
constraints:
primaryKey: true
- column:
name: NAME
type: VARCHAR2(255)
constraints:
unique: true
- column:
name: TYPE
type: VARCHAR2(255)
- column:
name: PVALUE
type: VARCHAR2(4000)
50 changes: 50 additions & 0 deletions pmp-component-tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
pmp-component-tests
===============================

Service for testing features available in pmp-core


Build
---------------

-DskipTests - to skip Unit and Integration tests
-DskipUTs - to skip Unit tests
-DskipITs - to skip Integration tests

mvn clean package Build the project
mvn clean verify For running build, tests and integration tests

Useful Commands
---------------

Run the service with Cargo:

mvn clean install -DskipTests && mvn -pl pmp-component-tests cargo:run

Table needed
---------------
```yaml
databaseChangeLog:
- changeSet:
id: 1
author: nykredit
changes:
- createTable:
tableName: PARAMETER_MANAGEMENT
columns:
- column:
name: ID
type: VARCHAR2(36)
constraints:
primaryKey: true
- column:
name: NAME
type: VARCHAR2(255)
constraints:
unique: true
- column:
name: TYPE
type: VARCHAR2(255)
- column:
name: PVALUE
type: VARCHAR2(4000)
Loading

0 comments on commit 9c035a5

Please sign in to comment.