-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: ModelCatalogueCorePlugin/ModelCatalogueCorePluginGrailsPlugin.groovy
- Loading branch information
Showing
266 changed files
with
9,021 additions
and
2,311 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# FormsPlugin | ||
/ModelCatalogueFormsPlugin | ||
*.iml | ||
*/web-app/* | ||
*/.idea/* | ||
**/web-app/* | ||
**/.idea/* | ||
**/atlassian-ide-plugin.xml |
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 |
---|---|---|
|
@@ -50,6 +50,9 @@ grails-app/assets/bower_components/* | |
# elasticsearch index | ||
/data | ||
|
||
# blob data | ||
/storage | ||
|
||
|
||
# other | ||
*.iws | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import org.modelcatalogue.core.Asset | ||
|
||
fixture{ | ||
A_directory(Asset, name:"directory", | ||
description: "random directory") | ||
} |
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,6 @@ | ||
import org.modelcatalogue.core.Asset | ||
import org.modelcatalogue.core.PublishedElementStatus | ||
|
||
fixture{ | ||
A_file(Asset, name:"file", description: "random file", status: PublishedElementStatus.FINALIZED) | ||
} |
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,6 @@ | ||
import org.modelcatalogue.core.Asset | ||
import org.modelcatalogue.core.PublishedElementStatus | ||
|
||
fixture{ | ||
A_file1(Asset, name:"file1", description: "some random file 1", status: PublishedElementStatus.FINALIZED) | ||
} |
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,6 @@ | ||
import org.modelcatalogue.core.Asset | ||
import org.modelcatalogue.core.PublishedElementStatus | ||
|
||
fixture{ | ||
A_file2(Asset, name:"ASSET", description: "some random file 2", status: PublishedElementStatus.FINALIZED) | ||
} |
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,6 @@ | ||
import org.modelcatalogue.core.Asset | ||
import org.modelcatalogue.core.PublishedElementStatus | ||
|
||
fixture{ | ||
A_file3(Asset, name:"A_file3", description: "the random name 3", status: PublishedElementStatus.FINALIZED) | ||
} |
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,6 @@ | ||
import org.modelcatalogue.core.Asset | ||
import org.modelcatalogue.core.PublishedElementStatus | ||
|
||
fixture{ | ||
A_file4(Asset, name:"A_file4", description: "some random file 4", status: PublishedElementStatus.FINALIZED) | ||
} |
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,6 @@ | ||
import org.modelcatalogue.core.Asset | ||
import org.modelcatalogue.core.PublishedElementStatus | ||
|
||
fixture{ | ||
A_file5(Asset, name:"A_file5", description: "random file 5", status: PublishedElementStatus.FINALIZED) | ||
} |
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,6 @@ | ||
import org.modelcatalogue.core.Asset | ||
import org.modelcatalogue.core.PublishedElementStatus | ||
|
||
fixture{ | ||
A_file6(Asset, name:"A_file6", description: "random file 6", status: PublishedElementStatus.FINALIZED) | ||
} |
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,5 @@ | ||
import org.modelcatalogue.core.Asset | ||
|
||
fixture{ | ||
A_file7(Asset, name:"A_file7", description: "random file 7") | ||
} |
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,5 @@ | ||
import org.modelcatalogue.core.Asset | ||
|
||
fixture{ | ||
A_file8(Asset, name:"A_file8", description: "random file 8") | ||
} |
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,5 @@ | ||
import org.modelcatalogue.core.Asset | ||
|
||
fixture{ | ||
A_file9(Asset, name:"A_file9", description: "random file 9") | ||
} |
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,6 @@ | ||
import org.modelcatalogue.core.Asset | ||
|
||
fixture{ | ||
A_image(Asset, name:"image", | ||
description: "random image") | ||
} |
7 changes: 0 additions & 7 deletions
7
ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/app.coffee
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
...orePlugin/grails-app/assets/javascripts/modelcatalogue/core/actionableItemEnhancer.coffee
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,14 @@ | ||
angular.module('mc.core.actionableItemEnhancer', ['mc.util.rest', 'mc.util.enhance', 'mc.core.modelCatalogueApiRoot']).config ['enhanceProvider', (enhanceProvider)-> | ||
condition = (item) -> item.hasOwnProperty('actionLinks') | ||
factory = ['modelCatalogueApiRoot', 'rest', '$rootScope', 'enhance', (modelCatalogueApiRoot, rest, $rootScope, enhance) -> | ||
(element) -> | ||
link = "#{modelCatalogueApiRoot}#{element.actionLinks}" | ||
element.action = () -> | ||
enhance(rest(method: 'POST', url: link, data: element)).then (result)-> | ||
$rootScope.$broadcast 'actionsResolved', element | ||
result | ||
element | ||
] | ||
|
||
enhanceProvider.registerEnhancerFactory('action', condition, factory) | ||
] |
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
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.