Age | Commit message (Collapse) | Author | Files | Lines |
|
* changes:
Add Prefix to ModelName
Flexible Policy code
Fix Sdc Controller
|
|
Add a "CLAMP" prefix to model name as this is used by clamp to generate
the policy Scope. This prefix will be used by DCAE to filter clamp
policies
Issue-ID: CLAMP-153
Change-Id: I0c2e7e064df1be0de3c7e12d6e853956a70bbe64
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Add more flexibility to the pattern used for GetConfig policy
Issue-ID: CLAMP-153
Change-Id: I7fa79a6c3a6402ada451e07c851e4e3d78925334
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix the name for policy push because the model name was containing . for
version and that was not accepted by policy.
Issue-ID: CLAMP-153
Change-Id: I768b765f42385bc93c4e77e1dc5c469908ad031f
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Rollback the policy scope under configBody and set it to CLAMP
Issue-ID: CLAMP-153
Change-Id: I2446839329d367ad031852a9c0a33f7b29741740
Signed-off-by: xg353y <xg353y@intl.att.com>
|
|
Change policy scope to CLAMP in policy code and tests
Issue-ID: CLAMP-153
Change-Id: I4376e4d1d603033d0b3355d1115a21026d48beec
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix sonar bugs reported in the new code
Issue-ID: CLAMP-147
Change-Id: I77d686ddfd561f260aeb52f82085b73e3e1f1249
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Rework the Sdc-controller and mainly blueprintArtifact so that the
resource attached is fully available in this class
Issue-ID: CLAMP-151
Change-Id: I77210cfa90a04df505566ff7e5f093c768cbbda9
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix build issue due to rebase conflict resolution
Issue-ID: CLAMP-151
Change-Id: Id65f78a03b54a9e30263c1d560f444cd58be780b
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Add the default configuration for sdc-controller so that it can work
with oom or docker instances
Issue-ID: CLAMP-151
Change-Id: Ia69c740efceddfaec6d7e0d5e31cc3d7eecb4545
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Add some logs for sdc-controller code so that it's easier to follow the
csar deployment
Issue-ID: CLAMP-151
Change-Id: I73f8ecea4140da57bda6daeaf721ab99dacadc40
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
The field Resource UUID war incorrectly set as the blueprint can't be
found in the sdc notification, it must retrieved from the csar.
Issue-ID: CLAMP-151
Change-Id: I5a80047bcc7f009f67a2dac1891f47bdde0e9bcc
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
|
|
|
|
Add random waiting timer for treat notification, so that no 2 threads
will treate the notif at the same time; Add the retry mechanism for the
DCAE Inventory api call.
Change-Id: I9bd8a58001d638c589309a9d65e4df6a2e437209
Signed-off-by: xg353y <xg353y@intl.att.com>
Issue-ID: CLAMP-151
|
|
|
|
Improve the policy configuration file and merge it to
application.properties so that all configurations are located at the
same place
Issue-ID: CLAMP-136
Change-Id: I5654bbe61d483a4061540959ed0b7dbb1242b022
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Remove the nosonar from the code as Sonar has been updated to version 6
Issue-ID: CLAMP-147
Change-Id: I8c5e9b0e4b3d9a303dfab7a1434cd5f9307d9d05
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Add the transaction annotation, so that template and model will be saved
within the same transaction.
Issue-ID: CLAMP-151
Change-Id: Ia0c50967317c3c158b401175dc1fbc166610518b
Signed-off-by: xg353y <xg353y@intl.att.com>
|
|
Fix startup of the python script in the pom that was not properly set
Issue-ID: CLAMP-147
Change-Id: Ia462be79dd053a9b39761e5bdf3248d0e28e65ee
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix the SDC deployment, inversion of the "already existing" check
Issue-ID: CLAMP-151
Change-Id: I2d83033dd5df373965196dd00ead6fcab9bdc260
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix the Controller so that it can save the csar before checking that it
has been installed, also fix the isCsarAlreadyDeployed method
Issue-ID: CLAMP-151
Change-Id: I7d04ec4be3960b4c1673e4d8b656649c18cfcee1
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Change the Csarhandler so it does not raise an exception when it
installs a file that already exist
Issue-ID: CLAMP-151
Change-Id: I4b260bee95d2651e64bf4318957680918396be4d
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix issues reported by SOnar on string values
Issue-ID: CLAMP-147
Change-Id: I3ccf668b15106b32d56bc53d63b7688088561137
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix issues reported by Sonar on CldsService class
Issue-ID: CLAMP-147
Change-Id: I9eef9ccf4e69b19e2f63db1ef8634c29a84f3c56
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Upgrade SDC library to latest and remove the message bus condition, it's
now a mandatory parameter as well
Issue-ID: CLAMP-149
Change-Id: I4c7ddcca6ac176380821bd8f1e4e3ef3d9fcea30
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Set the resource to an existing resource in this specific service
Issue-ID: CLAMP-147
Change-Id: I19a5b181b3f3bd04497dc0273cb733cb0dc6ae21
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix issues reported by checkstyle during build
Issue-ID: CLAMP-147
Change-Id: I9d3a1a50b29cd068ecc3f65181ed44d25bcc5503
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix the startup script for python simulator
Issue-ID: CLAMP-148
Change-Id: Ia1906aa12f2354a45324553609a9e5e713d8a551
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
There is a need to have that new parameter (message bus addresses) if
the sdcAddress is not present
Issue-ID: CLAMP-149
Change-Id: I336e7af6784a70b0b65c9610fc2e69e40126bdc0
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix the script call from Pom so that it can be configured
Issue-ID: CLAMP-148
Change-Id: Id1120150c4fb993d70ffe2914c73a8fa24051e85
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix Sonar bugs and bad comments in the code
Issue-ID: CLAMP-147
Change-Id: I4cc8e00a0d063396b7dd6ac6c7fcf408607f998e
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Remove the file in CSAR that was useless
Issue-ID: CLAMP-146
Change-Id: Ia945af65bb8bfd39cdaf6631825b0480f1e6ad53
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
|
|
Change-Id: I0a3b8f1e812f6199c5a7fbbabd88c6c5ec4217cc
Signed-off-by: ehautot <eh552t@intl.att.com>
Issue-ID: CLAMP-111
|
|
Add blueprint json input support for DCAE call
Issue-ID: CLAMP-142
Change-Id: I52657ff7ead38681eae2744a30271f0a1b825bb6
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Add Id specified in the python third party script
Issue-ID: CLAMP-142
Change-Id: Id804c83dbcb3dcdf485906f1b358554205e9e0e8
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
The Json format sent in CldsModel was not correct, the correct format
must be with key name and key value.
Issue-ID: CLAMP-142
Change-Id: I2802112702ff2e1f149932d59109f22654c581aa
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Introduce a centralized ObjectMapper for Resteasy and Clamp code
so that the automatic Ser/deserialization of all classes is disabled.
Issue-ID: CLAMP-135
Change-Id: I1fb11c8fc8e7a53ef832774fa8c06af1c70d3dad
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Rework the uni tests so that SDC controller is more tested, also dcae
code has been reworked for improving sonar report
Issue-ID: CLAMP-81
Change-Id: Ia6ec272e1bf86e72d9d7294aeec0695b861f78af
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Refactor the names in SDC controller
Issue-ID: CLAMP-81
Change-Id: I715e0274efe5ac10e8bcc1f5b8a0171231e55265
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Rework the class due to sonar report
Issue-ID: CLAMP-81
Change-Id: I5f99728b3aa1c194d0bf7b2cf727e8dbdf99684f
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
* changes:
Remove client usage of md5
Bcrypt as password hashing method in the backend
|
|
Md5 usage introduce a security flow by reducing the amount of test needed
for a brute force attack.
Change-Id: Ifa4e6259d0a3fb06c91c03d1c67470ddd02284fc
Issue-ID: CLAMP-143
Signed-off-by: ac2550 <ac2550@intl.att.com>
|
|
|
|
Change-Id: I5ed802c35ade8ba5da4d21f2a8c22d0198490885
Signed-off-by: ac2550 <ac2550@intl.att.com>
Issue-ID: CLAMP-143
|
|
Resolve the issues due to the conflicts and rework the Sdc startup
Issue-ID: CLAMP-81
Change-Id: I3f6fa5268140e902b445c316bc40f326256d17c0
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Change-Id: I760d0f0d54f83282d8556b74a588361669fa5375
Issue-ID: CLAMP-142
Signed-off-by: ac2550 <ac2550@intl.att.com>
|
|
Add properties to model created in db + Auto start configuration for
spring
Issue-ID: CLAMP-81
Change-Id: I6598872c6b47963e97c63730a4b6499e2b1a2de2
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Csarinstaller rework to save Template and Model to database
Issue-ID: CLAMP-81
Change-Id: I5edf9716146975ed3751a93b78f5c9b0b9ff2af9
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|