Cyrus
cf6b3a556e
The useage of getReferenceById returns an object regardless if the uuid
...
is valid. This causes an issue when a false uuid is used and then
produces a EntityNotFoundException when trying to access an attribute of
the object returned. These changes address either not using that
specific call and changing to one that will return null if the uuid is
invalid. But also using the exists function of the repository to verify
an invalid uuid.
2023-11-17 11:53:31 -05:00
Cyrus
6191c5b086
Merge pull request #630 from nsacyber/v3_server-ui-fixes
...
V3 server UI fixes
2023-11-17 11:41:19 -05:00
Cyrus
3a8b564da1
Merge pull request #619 from nsacyber/v3_page-controller-parse-fix
...
Uploading Platform Credential IllegalStateException Fix
2023-11-14 10:15:39 -05:00
Cyrus
861508c0ef
Added finally touches to not display archived items. As well display
...
the correct count that doesn't include the archived items. Also added
additional exception checks after testing uploading the wrong element to
the wrong /list page
2023-11-14 08:54:08 -05:00
Cyrus
cfb30d9a4b
Updated code after recognizing an issue with archiving items. This
...
doesn't include updating the values displayed at the bottom of the list
page.
2023-11-13 16:56:16 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
1e3c7c78b0
Dockerfiles for v3 ACA. Also Powershell Package Scripts ( #628 )
...
* Package scripts for powershell
* Adding dockerfiles
2023-11-09 11:54:51 -05:00
Cyrus
f01b5a2060
This push has changes to resolve archivable items not updating the
...
archiveTime element.
2023-11-08 13:10:40 -05:00
Cyrus
548d6bb1eb
There was an issue with finding the support RIM with the base RIM
...
information. Changed how it finds the support RIM to using the hash for
the swid resource.
2023-11-07 10:05:35 -05:00
Cyrus
433087961c
Tested uploading a rimel that had multiple matching manufacturer and
...
model. The repo to check for this wasn't returning a single unique result
and causes and error
2023-11-06 15:36:34 -05:00
chubtub
071981dcb0
Repeat changes to ReferenceManifestValidator from reverted commit
2023-11-01 11:54:29 -04:00
chubtub
55936806d7
Revert "Merge pull request #606 from nsacyber/v3_issue-596"
...
This reverts commit 071e89a44f
, reversing
changes made to 45d550729f
.
2023-11-01 10:03:34 -04:00
Cyrus
316f3ec99e
Merge pull request #620 from nsacyber/v3_rim-validator-update
...
Update to the RIM Validator
2023-11-01 06:48:48 -04:00
Cyrus
ab11c8e81a
Merge pull request #614 from nsacyber/v3_issue_612-integrationtest
...
[#612 ] Migrate integration test for DevicePageController and associated classes
2023-10-31 16:07:43 -04:00
Cyrus
1867e00301
Updated the Rim Validator to remove direct object parameters from the
...
database and pass in the information the methods needed to function
2023-10-31 10:48:37 -04:00
Cyrus
52bcbc6707
I tested manually uploading a series of certificates to test the list
...
pages functionality when it comes to sorting and other visual aspects of
the data table. I encountered a certificate that
caused the ACA to throw a 500 error. This was due to an
IllegalStateException while parsing a certificate that contained an
'unexpected object'. Since this is a bouncy castle error, it is hard to
parse out what the object actually is that is causing the error to be
thrown. For now, the parsing method in the certificate page controller
is being updated to catch the exception, at least, so that the ACA
doesn't crash. The platform in question is a Dell Power Edge R640 base
SCV.
2023-10-31 08:19:46 -04:00
iadgovuser58
e2507d5641
Merge remote-tracking branch 'origin/main' into v3_issue_612-integrationtest
2023-10-19 13:50:31 -04:00
iadgovuser58
5a42ec379e
cleaned up code, added comments
2023-10-19 13:46:15 -04:00
iadgovuser58
a0662f75e6
added dummy beans to PageTestConfiguration to override beans not needed in PersistenceJPAConfig
2023-10-17 16:57:43 -04:00
chubtub
98a56a3f41
Merge branch 'main' into v3_issue-596
2023-10-17 16:50:40 -04:00
chubtub
bfa30ca186
Change references in ACA and ACAPortal to HIRS_Utils package for migrated classes. Revert change to gradle.properties file.
2023-10-16 13:50:49 -04:00
Cyrus
f64d884abf
Merge pull request #605 from nsacyber/v3_provision-integration
...
HIRS ACA Provisioning
2023-10-16 12:21:03 -04:00
iadgovuser58
a2352d3937
clean up unused imports
2023-10-13 17:09:56 -04:00
iadgovuser58
7ad6145c75
cleaning up commented out code, print statements, etc
2023-10-13 17:04:09 -04:00
iadgovuser58
37b1ba9f61
update build.gradle for junit and in-memory db
2023-10-13 16:57:01 -04:00
iadgovuser58
a76c63595d
add test resources
2023-10-13 16:54:35 -04:00
iadgovuser58
2b9bcc604d
added PageTestConfiguration to create in-memory database and other config changes for tests specifically
2023-10-13 16:53:26 -04:00
iadgovuser58
405e5a820b
added DevicePageControllerTest
2023-10-13 16:51:39 -04:00
iadgovuser58
719cc16ef5
updated PageControllerTest to work with JUnit and new main code structure changes
2023-10-13 16:50:48 -04:00
Cyrus
b018429b69
Additional code to correctly display # of elements
2023-10-13 09:39:20 -04:00
Cyrus
0c131e6ee5
Fixed the inccorect data at the bottom of the data tables when
...
displaying the elements.
2023-10-10 15:06:12 -04:00
iadgovuser26
d968080a43
minor adjustments for the deb package
2023-10-10 18:29:37 +00:00
Cyrus
841080ba58
Missed some additional code for testing the element listing
2023-10-10 14:22:35 -04:00
Cyrus
ec39bf55a3
Corrected an issue with the root CA looking itself causing an issue
...
because the one root CA had an illegal character.
2023-10-10 13:31:45 -04:00
Cyrus
556322ad39
Some additional changes to fix UI errors after I was able to test
...
against another machine.
2023-10-06 15:07:12 -04:00
Cyrus
65a1105ff5
Minor changes, mostly syntax and log message removals
2023-10-05 10:54:25 -04:00
iadgovuser26
11b7ffd3ff
Merge pull request #597 from nsacyber/v3_issue_594-ext_prop
...
[#594 ] Moved connector uri to application.properties
2023-10-03 14:21:34 -04:00
Cyrus
4de125c0f8
After some code review, there are changes and removals for the
...
provisioning process. IdentityRequest is an old structure for the
provisioner and it has been removed and some preliminary code file
renames.
2023-10-03 09:53:48 -04:00
Cyrus
31066694ee
Updates to the location of default property files and setting the
...
deviceName
2023-09-29 08:18:54 -04:00
Cyrus
8be945035d
Some additional updates to fix visual changes on the screen. This one
...
is mainly with deviceName
2023-09-28 17:11:34 -04:00
Cyrus
c046851e07
Latest changes that fixes little issues
2023-09-28 06:47:43 -04:00
iadgovuser26
5c31e52828
moved connector uri to application.properties
2023-09-27 14:40:18 -04:00
Cyrus
9c0d934331
Fixed icon display issue. The validationResult name changed
2023-09-25 10:38:33 -04:00
Cyrus
a08c007bba
Some additional updates and changes while debugging
2023-09-22 11:50:28 -04:00
Cyrus
4b67747e3e
Updated the bulk of the code that does all provisioning from a client.
...
There is some parsed functionality to ease sorting through the changes
and updates needed in the future.
2023-09-21 15:02:24 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
23d3d61448
Merge pull request #589 from nsacyber/v3_newcontext-index
...
New context mappings for the index page.
2023-09-21 11:30:52 -04:00
iadgovuser26
9998fa7f22
Merge branch 'main' into v3_issue_578-rpm_update
2023-09-19 16:31:21 -04:00
iadgovuser29
09bfb9fe06
New context mappings for the index page.
2023-09-18 10:10:56 -04:00
iadgovuser26
9fea7788ed
Merge pull request #584 from nsacyber/v3_provision-init-setup
...
Initial Setup for ACA provisioning
2023-09-18 09:01:31 -04:00
iadgovuser29
a56fd3a8fa
Context change to enable path control [no ci]
2023-09-15 15:34:15 -04:00
iadgovuser26
097c3e3dd3
cleaned up after testing
2023-09-14 15:25:19 -04:00
Cyrus
771d5588d5
Updated the code to print out the available Restful URIs. Added some
...
modifications to the provisioner code for testing and updated the
Restful base mapping
2023-09-14 09:14:11 -04:00
iadgovuser26
7f7238f4d2
added a chron job to start the ACA on reboot
2023-09-13 16:56:39 -04:00
Cyrus
a61488cbc3
The wrong 'certificate' was being used
2023-09-11 16:37:57 -04:00
Cyrus
6bc6fa1cf1
Added code to check for multi pem single files
2023-09-11 16:03:01 -04:00
Cyrus
6629a87d56
Looking into the DN missing from the certificate details page I
...
recognized that the setting of the variable for the portal page was
using the wrong getter method.
2023-09-07 15:24:16 -04:00
iadgovuser26
cb4ad4d51a
Updated gradle to v8.3 and nebula to 11.4.0
2023-09-06 16:10:16 -04:00
Cyrus
6b063d44e0
Updated a couple of files to resolve aca load issues
2023-09-06 11:10:57 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
58b5de3bbb
Merge pull request #574 from nsacyber/v3_issue_560-db_tls
...
[#560 ] Adds TLS to the hirs DB connector
2023-09-06 06:31:29 -04:00
Cyrus
b7357fac9b
Added in the configuration mapping to find the new page mapping
2023-09-01 07:26:22 -04:00
Cyrus
6a2c5d246b
This is a series of code changes to begin setting up for provisioning.
...
The code has not been tested to provision. The url linkage needs to be
worked on again.
2023-08-29 15:15:34 -04:00
iadgovuser26
aef7a2b9ac
Added aca_setup_check.sh
2023-08-23 16:30:44 -04:00
iadgovuser26
88aa10010b
cleaned up unused file
2023-08-18 16:38:53 +00:00
iadgovuser26
4766903aad
initial setup for DB TLS
2023-08-11 09:47:30 -04:00
Cyrus
46ecbe6b26
Resolved the issue with the Certificate page not paging. I had the
...
setters flipped.
2023-08-07 06:23:41 -04:00
Cyrus
751a8104fc
Updated all page controllers that were causing an issue to display
...
content based on the page allocations.
2023-08-04 10:13:25 -04:00
Cyrus
e3aa52728d
@responsebody was removed by mistake and causes ajax dataTables error.
2023-08-02 11:14:39 -04:00
Cyrus
bd8019cfc6
The delete method was missing, reintroduced it and tested
2023-07-31 13:43:06 -04:00
Cyrus
391a4691c5
This push fixes the dataTable ajax error when navigating to the device
...
page. And it incorporates Trust Chain acaCertificate.
2023-07-28 12:49:24 -04:00
iadgovuser26
9f9ca12429
Merge pull request #558 from nsacyber/v3_issue_550
...
[#550 ] Adds TLS to embedded tomcat
2023-07-21 12:55:47 -04:00
iadgovuser26
3a72f8ad4d
removed un-needed files
2023-07-20 12:50:16 -04:00
iadgovuser26
172236a75b
moved logs to /var/log/hirs
2023-07-20 11:53:34 -04:00
iadgovuser26
383fefdfef
changed bootRun parameter to --spring.config.location
2023-07-18 13:09:31 -04:00
iadgovuser26
29ba16cdb5
fixed issue with bootRun on RHEL
2023-07-13 16:40:53 -04:00
iadgovuser26
e9c33f2857
Added jarkarta dependencies
2023-07-12 13:16:56 -04:00
Cyrus
6e96c32a5e
Please enter the message for your changes.ssociated event values to the
...
support rim and delete them properly and to not also upload duplicate
issues. [no ci]
2023-07-11 07:07:13 -04:00
iadgovuser26
a8e5758cf4
Updated aca_bootRun script
2023-07-07 20:54:19 +00:00
iadgovuser26
146d05961d
updated application.settings to use tls
2023-07-07 19:26:12 +00:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
210c48dada
Merge pull request #548 from nsacyber/v3_bootrun-war-buildrpm
...
Supporting buildRpm alongside bootRun/bootWar
2023-06-30 13:50:08 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
cee017090f
Merge pull request #544 from nsacyber/v3_issue-534-basedetails
...
[#534 ] Base RIM Details Page
2023-06-30 10:48:37 -04:00
iadgovuser29
15f84333af
Re-enabled the war task
2023-06-30 10:39:14 -04:00
Cyrus
34aa54100e
This push resolves the parsing issue of swidtags that may not meet the
...
validation based on an attribute not matching the spec.
2023-06-30 09:03:19 -04:00
Cyrus
67681c0227
This push fixes the issues with parsing the file tag and getting the
...
hash value for the support rim and as well for getting the collapsible
file link on the details page to operate. [no ci]
2023-06-29 07:49:32 -04:00
Cyrus
27e55ab2c7
Updated the RIM details page to search for the associated support rim if
...
the base doesn't have it. This is a temp measure before completing #526 [no ci]
2023-06-29 07:38:57 -04:00
iadgovuser29
f92a233078
Trying spring boot log4j dependencies
2023-06-27 15:58:36 -04:00
iadgovuser29
14d9e8897f
Reverted page tag value
2023-06-27 14:05:25 -04:00
iadgovuser29
7b6ef6b751
Page loads
2023-06-26 09:18:14 -04:00
Cyrus
2d5836b8b6
Merge pull request #541 from nsacyber/v3_filestore-bean-removal
...
Filestore Service Removal
2023-06-23 07:05:37 -04:00
Cyrus
520c18fcdf
This check in updates the code to list the certificates on their
...
specific page, rather than all on any of them. Next will be introducing
the new parsing code for RIM and TLS so that Trust Chains show up [no ci]
2023-06-21 16:12:26 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
0bfb4ac8dd
Merge pull request #540 from nsacyber/v3_issue-534
...
[#534 ] Initial Display Fixes
2023-06-21 07:23:27 -04:00
Cyrus
5826b8c7e4
Added in updated tags and fixed attribute method from Platform
...
Credential
2023-06-21 07:11:55 -04:00
Cyrus
a5388d6ec9
Added download method mapper for certificates [no ci]
2023-06-20 11:37:31 -04:00
Cyrus
b3118d9f3b
Removed comment for parameter that was removed [no ci]
2023-06-16 13:49:15 -04:00
Cyrus
17e01d4e72
Removed FileStorageService autowiring
2023-06-16 13:48:12 -04:00
Cyrus
6dbbee1420
Fixed display issue on PlatformCredentials page and included 'fn' tag
...
reference on details pages. Removed additional files that are not being
used. [no ci]
2023-06-16 07:51:30 -04:00
Cyrus
405c6b79a7
Removed dependency [no ci]
2023-06-13 14:49:10 -04:00
Cyrus
9fe89232a8
Second commit mainly containing new files
2023-06-13 10:12:25 -04:00
Cyrus
3a72583836
First commit with modified files [no ci]
2023-06-13 09:29:29 -04:00
iadgovuser26
ae93a8bced
added aca_setup.sh to support embedded tomcat [no ci]
2023-06-02 19:39:08 +00:00
iadgovuser26
c93118b71e
added script for generating pki keys/certs [no ci]
2023-05-19 20:36:12 +00:00
iadgovuser26
b5c4d86430
cleaned up dnf install and dnf remove
2023-05-03 16:55:10 +00:00