# changelog

author: candlepin-bot <3229038+candlepin-bot@users.noreply.github.com> 3.2.12-1
changelog:
  - 1920158: ERROR: value too long for type character varying(32)  - Rename table
    cp2_consumer_activation_key to cp_consumer_activation_key  - Update
    activation_key_name to VARCHAR(255)  - Update foreign and primary key
    references (ojanus@redhat.com)
  - Fixed a bug with Content equality checks for fields with empty strings
    (crog@redhat.com)
  - ENT-2725: Update system purpose status to NOT consider Layered SLA
    (sdhome@redhat.com)
  - 1895853: Remove unsupported "insights_auto_register" from capabilities
    (ojanus@redhat.com)
  -  ENT-3286: Manifest delete takes 24 hours or more in large environment (60k
    consumers in owner) (ojanus@redhat.com)
  - Delete sub pool when virt_limit removed (nmoumoul@redhat.com)
  - ENT-2348: Changes to show activation key name & ID when   consumer has been
    registered via activation key (prakgupt@redhat.com)
  - Upgrade Guava to version 30 (nmoumoul@redhat.com)
  - 1898605: Increased the Artemis disk usage limit (crog@redhat.com)


author: Nikos Moumoulidis <nmoumoul@redhat.com> 4.0.0-1
changelog:
  - 1919458: invalid Content-Type yields 500 (sdhome@redhat.com)
  - Updated migration for product hierarchy changes (crog@redhat.com)
  - Add tests to verify n-tier product versioning (crog@redhat.com)
  - Updated tooling to use new tables and APIs for children products
    (crog@redhat.com)
  - Updated the OrphanCleanupJob to be aware of product to product references
    (crog@redhat.com)
  - Updated queries to remove references to removed pool attributes
    (crog@redhat.com)
  - Removed Pool.providedProducts and Pool.derivedProvidedProducts
    (crog@redhat.com)
  - Added support for updating development pools and products during refresh
    (crog@redhat.com)
  - Updated new curator methods to support the new product model
    (crog@redhat.com)
  - Updated spec tests to support moving derived products from pool to product
    (crog@redhat.com)
  - Updated unit tests to support moving derived products from pool to product
    (crog@redhat.com)
  - Moved derived product from pool to product (crog@redhat.com)
  - RefreshWorker now prunes "unused" entities during refresh (crog@redhat.com)
  - Removed unnecessary code and added missing refresh tests (crog@redhat.com)
  - Added the RefreshWorker framework and refactored the refresh process
    (crog@redhat.com)
  - Updated refresh flow to support provided products on products
    (prakgupt@redhat.com)
  - ENT-1686: Change the way Dev Pools are created (sonalidhome@gmail.com)
  - Fetch provided products from pool.product (abhiskum@redhat.com)
  - ENT-1829: Update how PoolDTO is populated with model changes
    (sonalidhome@gmail.com)
  - ENT-1831, ENT-1830: update pool response and manifest export flow
    (abhiskum@redhat.com)
  - ENT-1834: Update rspec test data generation flow (sonalidhome@gmail.com)
  - ENT-1911: added method to get provided product from productInfo interface.
    (prakgupt@redhat.com)
  - Updated ProductDTO to store provided and derived provided products
    (prakgupt@redhat.com)
  - ENT-1833: Migration to populate data from old tables to new tables
    (sonalidhome@gmail.com)
  - ENT-1826: Updated product model to hold provided & derived provided products
    (prakgupt@redhat.com)
  - Removed cp2_derproduct_derprov_products table (sonalidhome@gmail.com)
  - Added new tables for mapping products to provided products
    (sonalidhome@gmail.com)


author: candlepin-bot <3229038+candlepin-bot@users.noreply.github.com> 4.0.1-1
changelog:
  - update to add default content access mode list (jharriso@redhat.com)
  - 1932662: Fixed candlepin test data for dev-sku (prakgupt@redhat.com)
  - Rewrote test data importer (crog@redhat.com)
  - Addressing sporadic spec test failure in import_update_spec.rb
    (sdhome@redhat.com)
  - Fixed several Python2/3 compatibility issues in the org_migrator
    (crog@redhat.com)
  - ENT-3655: Removed the ExportExtensionAdapter (prakgupt@redhat.com)
  - ENT-2580: Updated virt-who report generator testing script
    (prakgupt@redhat.com)
  - ENT-3677: Fix for stackoverflow issue in Product equality check
    (prakgupt@redhat.com)
  - Fixed an issue with the org_migrator's export order of derived products
    (crog@redhat.com)
  - Test SCA in Standalone mode (nmoumoul@redhat.com)
  - 1886556: Fixed NPE originating from consumer create API when facts are null
    (prakgupt@redhat.com)
  - Removed foreign key constraints from obsolete pool tables (crog@redhat.com)
  - On SCA mode, stop throwing an error during dry-run auto-attach
    (sdhome@redhat.com)
  - 1936505: Fixed stacked entitlement recovation deleting unrelated pools
    (crog@redhat.com)
  - ENT-3446: Make Jenkins run cloud auth spec (sdhome@redhat.com)
  - ENT-2360: Remove Qpid from Candlepin (prakgupt@redhat.com)
  - 1928072: On SCA mode, stop throwing an error during auto-attach  - No-op and
    return HTTP status 200 when auto-attaching on SCA mode (sdhome@redhat.com)
  - 1925546: Added additional checks for regenerating SCA certificates
    (crog@redhat.com)
  - Upgrade jackson to 2.10.5 & 2.10.5.1 (nmoumoul@redhat.com)
  - 1928249: Fixed product creation order in test data importer (crog@redhat.com)
  - 1913441: Candlepin will not install in FIPS mode (ojanus@redhat.com)
  - ENT-3546:Address sporadic spec test failure in derived_product_import_spec
    (sdhome@redhat.com)
  - Removed SubscriptionInfo.getDerivedProduct and ImportedEntityCompiler
    (crog@redhat.com)


author: Nikos Moumoulidis <nmoumoul@redhat.com> 4.1.0-1
changelog:
  - Fix spec tests in hosted mode (nmoumoul@redhat.com)
  - copy API spec file into the war (nmoumoul@redhat.com)
  - Remove obsolete swagger deps & annotations (nmoumoul@redhat.com)
  - ENT-2315: Changes to fix Candlepin API docs (prakgupt@redhat.com)
  - ENT-2252: Upgrade openapi-generator to latest version  - Update gradle to 6.8
    - Update junit5 to 5.7.0  - Update openapi to 5.0.0  - Update overriden
    openapi templates  - Update AbstractJavaJAXRSServerCodegen to generate
    default responses with HTTP response code 500 (ojanus@redhat.com)
  - Fix cloud auth URL from /cloud to /cloud/authorize (nmoumoul@redhat.com)
  - ENT-3297: Port Cloud VM autoregistration endpoints & DTOs to OpenApi
    (ojanus@redhat.com)
  - ENT-1867: Port ConsumerResource to spec-first (prakgupt@redhat.com)
  - ENT-2816: Second rebase for spec first branch  Additional Changes:  - Ported
    ContentAccessDTO to OpenAPI  - Ported Owner content access API
    (prakgupt@redhat.com)
  - ENT-2788: Port AdminResource to spec-first  - Added specifications for
    QueueStatus DTO and admin resource APIs (sdhome@redhat.com)
  - ENT-1848: Port OwnerResource to spec-first  - Added endpoints definitions  -
    Added specifications for following DTOs    1. AbstractCertificateDTO    2.
    ConsumptionTypeCountsDTO    3. ImportRecordDTO    4.
    ImportUpstreamConsumerDTO    5. OwnerInfoDTO    6. SystemPurposeAttributesDTO
    7. UeberCertificateDTO    8. UpstreamConsumerArrayElement  - Created/updated
    translators for DTOs  - Subscription Translator and OwnerInfoBuilder changes
    (sdhome@redhat.com)
  - ENT-2790: Port CrlResource to spec-first (ojanus@redhat.com)
  - ENT-2792: Port ConsumerContentOverrideResource to spec-first
    (ojanus@redhat.com)
  - ENT-2791: Port ActivationKeyContentOverrideResource to spec-first
    (ojanus@redhat.com)
  - ENT-2789: Port RulesResource to spec-first (prakgupt@redhat.com)
  - Minor fix on environment API documentation (nmoumoul@redhat.com)
  - Remove redundant JAX-RS & Swagger annotations (nmoumoul@redhat.com)
  - ENT-1876: Port EnvironmentResource to spec-first (ojanus@redhat.com)
  - ENT-2534: Rebase spec-first branch against master  - Fixes related to changes
    between branches  - Fix related to PR #2724. Updated the result as string
    type. Added AsyncJobStatusAnnotationMixin    to support @JsonRawValue
    annotation  - Updated CertificateSerialDTO serial field to Long. Openapi does
    not support datatype as BigInteger  - Added PublicJobState enum in yaml
    specifications  - Updated the DefaultCodegen to import the schema reference
    mentioned in addtional properties  - checkstyle changes (sdhome@redhat.com)
  - ENT-1882: Port PoolResource to spec-first  - Added Pool reseaource
    specification  - Upated related files (sdhome@redhat.com)
  - ENT-1856: Port ConsumerDTO to openapi spec  - Udpated specifications for
    CapabilityDTO, ConsumerDTO,    ConsumerInstalledProductDTO, HypervisorIdDTO
    - Added ConsumerDTOArrayElement to exclude the properties    mentioned as
    HateoasArrayExclude  - Updated the ConsumerTypeDeserializer to get
    appropriate    consumer type based on incoming object/string
    (sonalidhome@gmail.com)
  - Ent-1873: Port EntitlementResource to spec-first - Add endpoint definitions -
    Add definition for the KeyValueParamDto - Add KeyValueParamConverted
    (ojanus@redhat.com)
  - Remove redundant EntitlementDTO fields (nmoumoul@redhat.com)
  - ENT-1880: Port OwnerProductResource to spec-first (prakgupt@redhat.com)
  - ENT-1883: Port ProductResource to spec-first (ojanus@redhat.com)
  - ENT-1887: Port UserResource to spec-first (ojanus@redhat.com)
  - ENT-1858: Port EntitlementDTO to openapi spec  - Added EntitlementDTO and
    NestedConsumerDTO specification  - Translator changes (sonalidhome@gmail.com)
  - Added ContentDTO validations (amandliy@redhat.com)
  - Ported OwnerContentResource to spec-first (amandliy@redhat.com)
  - ENT-1847: Port ActivationKeyResource to spec-first (prakgupt@redhat.com)
  - ENT-1863: Port ProductCertificateDTO to openapi spec  - Added specification
    in yaml file  - Translator and test changes (sonalidhome@gmail.com)
  - ENT-1876: Port HypervisorResource to spec-first  - Added API specifications
    in yaml file  - Ported HypervisorUpdateResultDTO and HypervisorConsumerDTO  -
    Update the resource and test classes (sonalidhome@gmail.com)
  - ENT-1885: Port RoleResource to spec-first (prakgupt@redhat.com)
  - ENT-1862: Port PoolDTO to spec-first (ojanus@redhat.com)
  - ENT-1870: Port ContentResource to spec-first. (ojanus@redhat.com)
  - ENT-1886: Port SubscriptionResource to spec-first - Add SubscriptionResource
    definition - Add missing DTO definitions - Add translators - Add
    AttributesDeserializer (ojanus@redhat.com)
  - ENT-1875: Port GuestIdResource to spec-first  - Added GuestIdResource
    defination in yaml file  - changes related to newly generated API interface
    (sonalidhome@gmail.com)
  - ENT-2291: Create adapter methods for DTOs implementing *Info Interfaces  -
    Added a class InfoAdapter to provide implementation    of info interfaces.  -
    Removed the translators and its test suites.    1. UserDTOTranslator    2.
    RoleDTOTranslator    3. PermissionBluePrintDTOTranslator
    (sonalidhome@gmail.com)
  - ENT-1859: Port EnvironmentDTO to openapi spec (prakgupt@redhat.com)
  - ENT-1879:Port ContentDTO to openapi spec  - Added specifications of
    ContentDTO in yaml file  - Added methods to adapt *DTOs into *Info objects
    in HostedTestSubscriptionResource.java file.  - Passed these adapted object
    to hosted create/update    methods. (sonalidhome@gmail.com)
  - ENT-1877: port JobResource to spec-first  - Remove exiting SchedulerStatusDTO
    and generated using spec-first  - Added api specification in candlepin-api-
    spec  - Updated existing junit (abhiskum@redhat.com)
  - ENT-1852: Port CdnResource to spec-first (prakgupt@redhat.com)
  - ENT-2177: Use concrete method to locate ResourceLocator   - The problem is
    current code tries to locate the interface method from ResourceLocatorMap
    class instead of concrete method and finally return 'Method XXX not
    registered as RESTful' exception.   - Easily fix this issue by using the
    interface method vs concrete method mapping in the ResourceLocatorMap class.
    - Added new class MethodLocator to hold interface method and concrete method
    mapping   - Updated ResourceLocatorMap class to use MethodLocator   - Update
    AnnotationLocator class to use MethodLocator instead of internal
    (abhiskum@redhat.com)
  - ENT-1861: Port OwnerDTO to openapi spec (FIX) (prakgupt@redhat.com)
  - ENT-1861: Port OwnerDTO to openapi spec (prakgupt@redhat.com)
  - Add back user id that was accidentally removed (nmoumoul@redhat.com)
  - ENT-1872: Port DistributorVersionResource to spec-first  - Add yaml
    definitions of resource and DTOs  - Update Translator  - Fix broken tests
    (ojanus@redhat.com)
  - ENT-1866: Port CertificateSerialResource to spec-first (ojanus@redhat.com)
  - ENT-1851: Port CdnDTO to openapi spec (prakgupt@redhat.com)
  - ENT-2105: Apply dynamic property filtering to openapi DTOs
    (nmoumoul@redhat.com)
  - ENT-1865: Port RoleDTO, PermissionBlueprintDTO, UserDTO to openapi spec
    (sonalidhome@gmail.com)
  - ENT-1846: Port ActivationKeyDTO to openapi spec (nmoumoul@redhat.com)
  - Port CertificateDTO to  openapi spec   - Added CertificateDTO schema in spec
    file   - Updated code to use generated CertificateDTO   - Removed existing
    CertificateDTO and CertificateDTOTest   - Removed CertificateDTO.clone method
    calls from CdnDTO, UpstreamConsumerDTO, ConsumerDTO and poolDTO
    (abhiskum@redhat.com)
  - Convert StatusResource to the OpenAPI specification    - Created new
    specifications for the status resource and status DTO    - Updated
    StatusResource to implement the generated API specification    - Deleted
    existing StatusDTO and KeycloakStatusDTO    - Deleted existing StatusDTOTest
    test    - Updated StatusCache to use new DTO (abhiskum@redhat.com)
  - ENT-1860 - Port GuestIdDTO to openapi spec - Added specifications in yaml
    file - Removed existing GuestIdDTO and GuestIdDTOTest - Updated the populate
    method of translator - Fixed JUnit tests. Added workaround of GuestIdDTOTest
    in ConsumerDTOTest to pass JUnits. - Updated hypervisorUpdate() method of
    HyperVisorResource.java to accept   List<string> GuestIds instead of
    List<GuestIdDTO>. Because of MismatchedInputException: Cannot   construct
    instance of GuestIdDTO: no String-argument constructor. This is raised due to
    the auto-generated DTO class does not have constructors.
    (sonalidhome@gmail.com)
  - Convert DeletedConsumerResource to the OpenAPI specification  - Created new
    specifications for the deleted consumer resource and deleted consumer DTO  -
    Updated DeletedConsumerResource to implement the generated API specification
    - Deleted the existing API DeletedConsumerDTO  - Deleted
    DeletedConsumerDTOTest test  - Updated DeletedConsumerTranslator as per
    generated DTO (abhiskum@redhat.com)
  - ENT-1857: Port ContentOverrideDTO to openapi spec (nmoumoul@redhat.com)
  - ENT-1855: Port CertificateSerialDTO to openapi spec (nmoumoul@redhat.com)
  - ENT-1849: Port AsyncJobStatusDTO to openapi spec - Added specifications in
    yaml file - Removed existing AsyncJobstatusDTO and AsyncJobstatusDTOTest -
    Updated the populate method of translator - Updated JUnit tests
    (sonalidhome@gmail.com)
  - Converted ConsumerTypeResource to the OpenAPI specification (crog@redhat.com)


author: candlepin-bot <3229038+candlepin-bot@users.noreply.github.com> 4.1.1-1
changelog:
  - [RFE] Add service_type system purpose attribute (sdhome@redhat.com)
  - Removed semi-extraneous cleanup task from the purge orphan pools db task
    (crog@redhat.com)
  - ENT-3832: Improve error logging (ojanus@redhat.com)
  - Updated refresher to avoid fetching unnecessary versioned entities
    (crog@redhat.com)
  - 1965208: derivedProvidedProducts is now null where it was previously []
    (sdhome@redhat.com)
  - Refactored logging and cursor handling in the org migrator (crog@redhat.com)
  - 1935500: Update SCA to cache certs by consumer (ojanus@redhat.com)
  - ENT-3811: Trim whitespace in addons and roles (ojanus@redhat.com)
  - Added pagination to consumer fetching endpoints (crog@redhat.com)
  - 1959122: Fixed NPE when listing future pools with entitlements
    (crog@redhat.com)
  - Fix to revoke SCA cert upon client unregistration (prakgupt@redhat.com)
  - Use logger in create_test_repo.py script (jhnidek@redhat.com)
  - Add test to check SCA cert is updated after org refresh (nmoumoul@redhat.com)
  - Removed eager certificate regeneration during API-triggered refresh
    (crog@redhat.com)
  - Bumped version of commons-io and ruby oauth (crog@redhat.com)
  - 1949125: Changed how content access mode is validated for new consumers
    (crog@redhat.com)
  - 1947354: Missing Compliance/SyspurposeCompliance translations
    (sdhome@redhat.com)
  - Add spec test for removal of SCA capability (nmoumoul@redhat.com)
  - Upgrade jackson to 2.12.3 (nmoumoul@redhat.com)


author: candlepin-bot <3229038+candlepin-bot@users.noreply.github.com> 4.1.2-1
changelog:
  - Stop docker logout in Jenkins pipeline stages (nmoumoul@redhat.com)
  - Translated using Weblate (Chinese (Simplified) (zh_CN)) (lchopn@gmail.com)
  - Update translation files (noreply@weblate.org)
  - Translated using Weblate (Russian) (igor.gorbounov@gmail.com)
  - Translated using Weblate (Ukrainian) (yurchor@ukr.net)
  - Translated using Weblate (Korean) (simmon@nplob.com)
  - Update translation files (noreply@weblate.org)
  - Remove non-ascii chars that break rpm build (nmoumoul@redhat.com)
  - i18n: po/keys.pot template is updated (3229038+candlepin-
    bot@users.noreply.github.com)
  - Removed non-nullable restriction from the SCA cert cache table
    (crog@redhat.com)
  - Moved classes of common subpackages to appropriate places
    (nmoumoul@redhat.com)
  - i18n: po/keys.pot template is updated (3229038+candlepin-
    bot@users.noreply.github.com)
  - Fix for gettext plugin extension (prakgupt@redhat.com)
  - Candlepin project restructuring (prakgupt@redhat.com)
  - i18n: common/po/keys.pot template is updated (3229038+candlepin-
    bot@users.noreply.github.com)
  - Automatic commit of package [candlepin] release [4.1.1-1].
    (3229038+candlepin-bot@users.noreply.github.com)


author: candlepin-bot <3229038+candlepin-bot@users.noreply.github.com> 4.1.5-1
changelog:
  - 1800811: Fix for pool quantity calculation   - All unlimited pool quantities
    are restricted to -1   - Modified bonus pool & unmapped guest pool quantity
    calculations (prakgupt@redhat.com)
  - Log changes to content access mode for owner (prakgupt@redhat.com)
  - Add back 'docker-compose down' to docker/test script (nmoumoul@redhat.com)
  - ENT-4018: Cleanup docker containers & networks on Jenkins pipeline abort
    (ojanus@redhat.com)
  - 1984984: Don't filter out content with no arch specified
    (nmoumoul@redhat.com)
  - This is to investigate/fix the misbehaviour of the spec test in the
    environment created for #3001 (sdhome@redhat.com)
  - Changed the keyserver URL to import the keys (prakgupt@redhat.com)
  - Fixed an error when deleting products associated with activation keys
    (crog@redhat.com)


author: candlepin-bot <3229038+candlepin-bot@users.noreply.github.com> 4.1.6-1
changelog:
  - Added translation using Weblate (Indonesian) (didiksupriadi41@gmail.com)
  - Rewrote the migration script for the product model changes (crog@redhat.com)
  - 1989981: Fix to avoid exceeding the overall query parameter limit
    (prakgupt@redhat.com)
  - 1980404: No consumer deletion cleanup when deleting Environment
    (ojanus@redhat.com)
  - Translated using Weblate (Chinese (Simplified) (zh_CN)) (suanand@redhat.com)
  - 1928161: Large CRL file operation causes OOM error in Candlepin
    (ojanus@redhat.com)
  - 1981887: Updated and separated job scheduling and execution configuration
    (crog@redhat.com)
  - Serials left unrevoked after update (ojanus@redhat.com)
  - Gradle dependency fix  - Removed gradle platform component, to handle BOM
    versions manually  - Fixed POM auto-generation task  - Upgraded Keyclock &
    artemis dependencies (prakgupt@redhat.com)
  - 1986929: Added content_overrides & guestids resources to root resource list
    (prakgupt@redhat.com)
  - Remove unused library (bourt@gmail.com)
  - Translated using Weblate (Korean) (simmon@nplob.com)
  - Translated using Weblate (Ukrainian) (yurchor@ukr.net)
  - Update translation files (noreply@weblate.org)
  - Clean up & remove libraries that are picked up transitively & don't require
    direct specification. (bcourt@redhat.com)
  - Remove spring dependency management in favor of gradle bom support
    (bcourt@redhat.com)
  - Update msgfmt task & openapi generation gradle tasks to support cached
    input/output (bcourt@redhat.com)
  - i18n: po/keys.pot template is updated (3229038+candlepin-
    bot@users.noreply.github.com)
  - Various minor improvements to the cloud registration flow (crog@redhat.com)
  - 1980370: Replace DELETE with TRUNCATE where possible (sdhome@redhat.com)
  - Collapse the api project into the main gradle project. (bcourt@redhat.com)
  - 1980370: Replace DELETE with TRUNCATE where possible (sdhome@redhat.com)


