-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MODSER-42: Separate out chronology and enumeration (#127)
* refactor: Initial domain model work Initial domain model work seperating out TemplateMetadataRules into chronology and enumeration arrays, removing parent classes assigning these based on refdata WIP * refactor: Further seperatation Additionally seperated out enumeration and chronology templateMetadataRuleFormats, is building but ALOT more testing needs to be done WIP * feat: Initial migrations Added initial migrations for handling domain class changes and renaming of new fields WIP * refactor: Views updated Updated views to new domain models * refactor: Updated chronology/enumeration rules naming Within the templateConfig, updated chronology/enumeration to be chronologyRules/enumerationRules * refactor: Updated services and domain model methods Updated methods within services and domain models to match the new domain models Are we finally in a posistion that this works? I hope so * fix: Initial old data migrations work * feat: Even more initial migrations * feat: Template metadata rule migration * fix: Migrations testing * fix: Another fix attempt * fix: Another migration fix Hopefully this works * fix: Set fix * fix: Another variable fix * fix: Review version of migrations * fix: Template metadataruleformat migration * fix: Missing changes from last commit * fix: Removed uneeded variables * fix: incorrect variable name * fix: Pure sql changes * fix: Sql dump fix Jesus christ this is alot of commits * fix: Potentail final migration version * fix: Final migrations version * fix: Uctm iterators fix Added another iterator for enumeration rules as this was cuasing issues * fix: Stupid database naming mistake * fix: Enumeration starting value index Added filter functions to seperate out chronology/enumeration UCTM so indexing will work with newly seperated TMR
- Loading branch information
1 parent
99a34ae
commit 80b8294
Showing
28 changed files
with
472 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 0 additions & 52 deletions
52
...grails-app/domain/org/olf/templateConfig/templateMetadataRule/TemplateMetadataRule.groovy
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
...ls-app/domain/org/olf/templateConfig/templateMetadataRule/TemplateMetadataRuleType.groovy
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...olf/templateConfig/templateMetadataRuleFormat/ChronologyTemplateMetadataRuleFormat.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.olf.templateConfig.templateMetadataRuleFormat | ||
|
||
import org.olf.templateConfig.templateMetadataRule.ChronologyTemplateMetadataRule | ||
|
||
import grails.gorm.MultiTenant | ||
|
||
public abstract class ChronologyTemplateMetadataRuleFormat implements MultiTenant<ChronologyTemplateMetadataRuleFormat> { | ||
String id | ||
ChronologyTemplateMetadataRule owner | ||
|
||
static mapping = { | ||
id column: 'ctmrf_id', generator: 'uuid2', length: 36 | ||
owner column: 'ctmrf_owner_fk' | ||
version column: 'ctmrf_version' | ||
|
||
tablePerHierarchy false | ||
} | ||
|
||
static constraints = { | ||
owner nullable: false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.