forked from finos/waltz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rewrote section in svelte - fixed lots of svelte warnings #CTCTOWALTZ-2580 finos#6228
- Loading branch information
Showing
22 changed files
with
829 additions
and
234 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
62 changes: 62 additions & 0 deletions
62
waltz-jobs/src/main/java/org/finos/waltz/jobs/harness/EntityNamedNoteTypeHarness.java
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,62 @@ | ||
/* | ||
* Waltz - Enterprise Architecture | ||
* Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project | ||
* See README.md for more information | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific | ||
* | ||
*/ | ||
|
||
package org.finos.waltz.jobs.harness; | ||
|
||
|
||
import org.finos.waltz.data.entity_named_note.EntityNamedNoteTypeDao; | ||
import org.finos.waltz.model.EntityKind; | ||
import org.finos.waltz.service.DIConfiguration; | ||
import org.springframework.context.annotation.AnnotationConfigApplicationContext; | ||
|
||
import static org.finos.waltz.model.EntityReference.mkRef; | ||
|
||
public class EntityNamedNoteTypeHarness { | ||
public static void main(String[] args) { | ||
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class); | ||
EntityNamedNoteTypeDao dao = ctx.getBean(EntityNamedNoteTypeDao.class); | ||
|
||
// | ||
// System.out.println("\n\nTitch"); | ||
// System.out.println(dao.findForRefAndUser( | ||
// mkRef(EntityKind.APP_GROUP, 27342), | ||
// "david.watkins@db.com")); | ||
// | ||
// System.out.println("\n\nTitch Derived"); | ||
// System.out.println(dao.findForRefAndUser( | ||
// mkRef(EntityKind.APP_GROUP, 27343), | ||
// "david.watkins@db.com")); | ||
|
||
System.out.println("\n\nAuto"); | ||
System.out.println(dao.findForRefAndUser( | ||
mkRef(EntityKind.APP_GROUP, 491), | ||
"david.watkins@db.com")); | ||
// | ||
// System.out.println("\n\nMTNA Me"); | ||
// System.out.println(dao.findForRefAndUser( | ||
// mkRef(EntityKind.APPLICATION, 19399), | ||
// "david.watkins@db.com")); | ||
// | ||
// System.out.println("\n\nMTNA Nobody"); | ||
// System.out.println(dao.findForRefAndUser( | ||
// mkRef(EntityKind.APPLICATION, 19399), | ||
// "nobody.special@db.com")); | ||
|
||
|
||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
waltz-model/src/main/java/org/finos/waltz/model/EntityWithOperations.java
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 @@ | ||
package org.finos.waltz.model; | ||
|
||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; | ||
import org.immutables.value.Value; | ||
|
||
import java.util.Set; | ||
|
||
@Value.Immutable | ||
@JsonSerialize(as = ImmutableEntityWithOperations.class) | ||
public abstract class EntityWithOperations<T> { | ||
|
||
public abstract T entity(); | ||
public abstract Set<Operation> operations(); | ||
} |
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 |
---|---|---|
|
@@ -94,10 +94,6 @@ | |
text-align: right | ||
} | ||
.summary-table .derived { | ||
font-style: italic; | ||
} | ||
svg { | ||
display: block; | ||
} | ||
|
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 |
---|---|---|
|
@@ -94,10 +94,6 @@ | |
text-align: right | ||
} | ||
.summary-table .derived { | ||
font-style: italic; | ||
} | ||
svg { | ||
display: block; | ||
} | ||
|
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.