Discussion:
[jira] [Created] (ISIS-1909) Migration Notes: Deprecated Classes
Andi Huber (JIRA)
2018-03-09 17:27:00 UTC
Permalink
Andi Huber created ISIS-1909:
--------------------------------

Summary: Migration Notes: Deprecated Classes
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber


Removed
* IsisJdoSupport (replaced by API specific variants)
* ...

In case we ship the legacy build (unlikely) ...

to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-03-09 17:27:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber updated ISIS-1909:
-----------------------------
Fix Version/s: 2.0.0-M1
Post by Andi Huber (JIRA)
Migration Notes: Deprecated Classes
-----------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
Removed
* IsisJdoSupport (replaced by API specific variants)
* ...
In case we ship the legacy build (unlikely) ...
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-02 09:09:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber updated ISIS-1909:
-----------------------------
Description:
Removed
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...

In case we ship the legacy build (unlikely) ...

to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
*
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy

was:
Removed
* IsisJdoSupport (replaced by API specific variants)
* ...

In case we ship the legacy build (unlikely) ...

to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
Post by Andi Huber (JIRA)
Migration Notes: Deprecated Classes
-----------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
Removed
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
In case we ship the legacy build (unlikely) ...
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
*
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-12 13:35:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber updated ISIS-1909:
-----------------------------
Description:
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...

+Moved+

FROM
org/apache/isis/applib/services/eventbus/*

TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
 

+In case we ship the legacy build (unlikely) ...+

to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
*
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy

was:
Removed
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...

In case we ship the legacy build (unlikely) ...

to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
*
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
Post by Andi Huber (JIRA)
Migration Notes: Deprecated Classes
-----------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
 
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
*
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-12 13:36:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber updated ISIS-1909:
-----------------------------
Summary: Migration Notes: Moved and Deprecated Classes (was: Migration Notes: Deprecated Classes)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
 
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
*
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-12 22:54:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber updated ISIS-1909:
-----------------------------
Description:
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...

+Moved+

FROM
org/apache/isis/applib/services/eventbus/*

TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent

+ISIS-1599+

Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet or Collection.

+In case we ship the legacy build (unlikely) ...+

to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy

was:
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...

+Moved+

FROM
org/apache/isis/applib/services/eventbus/*

TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
 

+In case we ship the legacy build (unlikely) ...+

to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
*
** RepositoryService -> RepositoryServiceLegacy
** ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
** ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet or Collection.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-12 23:52:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber updated ISIS-1909:
-----------------------------
Description:
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...

+Moved+

FROM
org/apache/isis/applib/services/eventbus/*

TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent

+ISIS-1599+

Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.

+In case we ship the legacy build (unlikely) ...+

to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy

was:
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...

+Moved+

FROM
org/apache/isis/applib/services/eventbus/*

TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent

+ISIS-1599+

Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet or Collection.

+In case we ship the legacy build (unlikely) ...+

to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-13 06:56:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436922#comment-16436922 ]

Andi Huber commented on ISIS-1909:
----------------------------------

MementoService is deprecated, how to migrate:

+BEFORE:+
{code:java}
@javax.inject.Inject
MementoService mementoService;

String mementoFor(final FixtureScript fs) {
return mementoService.create()
.set("path", fs.getParentPath())
.asString();
}

void initOf(final String mementoStr, final FixtureScript fs) {
final Memento memento = mementoService.parse(mementoStr);
fs.setParentPath(memento.get("path", String.class));
}
{code}
+AFTER:+
{code:java}
@XmlRootElement(name = "fixtureScript")
public static class FixtureScriptMemento {
private String path;
public String getPath() { return path; }
public void setPath(String path) { this.path = path; }
}

String mementoFor(final FixtureScript fs) {
final FixtureScriptMemento memento = new FixtureScriptMemento();
memento.setPath(fs.getParentPath());
return jaxbService.toXml(memento);
}
void initOf(final String xml, final FixtureScript fs) {
final FixtureScriptMemento memento = jaxbService.fromXml(FixtureScriptMemento.class, xml);
fs.setParentPath(memento.getPath());
}
{code}
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-13 07:02:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436922#comment-16436922 ]

Andi Huber edited comment on ISIS-1909 at 4/13/18 7:01 AM:
-----------------------------------------------------------

MementoService is deprecated, how to migrate:

+BEFORE:+
{code:java}
@javax.inject.Inject
MementoService mementoService;

String mementoFor(final FixtureScript fs) {
return mementoService.create()
.set("path", fs.getParentPath())
.asString();
}

void initOf(final String mementoStr, final FixtureScript fs) {
final Memento memento = mementoService.parse(mementoStr);
fs.setParentPath(memento.get("path", String.class));
}
{code}
+AFTER:+
{code:java}
@javax.inject.Inject
JaxbService jaxbService;

@XmlRootElement(name = "fixtureScript")
public static class FixtureScriptMemento {
private String path;
public String getPath() { return path; }
public void setPath(String path) { this.path = path; }
}

String mementoFor(final FixtureScript fs) {
final FixtureScriptMemento memento = new FixtureScriptMemento();
memento.setPath(fs.getParentPath());
return jaxbService.toXml(memento);
}
void initOf(final String xml, final FixtureScript fs) {
final FixtureScriptMemento memento = jaxbService.fromXml(FixtureScriptMemento.class, xml);
fs.setParentPath(memento.getPath());
}
{code}


was (Author: hobrom):
MementoService is deprecated, how to migrate:

+BEFORE:+
{code:java}
@javax.inject.Inject
MementoService mementoService;

String mementoFor(final FixtureScript fs) {
return mementoService.create()
.set("path", fs.getParentPath())
.asString();
}

void initOf(final String mementoStr, final FixtureScript fs) {
final Memento memento = mementoService.parse(mementoStr);
fs.setParentPath(memento.get("path", String.class));
}
{code}
+AFTER:+
{code:java}
@XmlRootElement(name = "fixtureScript")
public static class FixtureScriptMemento {
private String path;
public String getPath() { return path; }
public void setPath(String path) { this.path = path; }
}

String mementoFor(final FixtureScript fs) {
final FixtureScriptMemento memento = new FixtureScriptMemento();
memento.setPath(fs.getParentPath());
return jaxbService.toXml(memento);
}
void initOf(final String xml, final FixtureScript fs) {
final FixtureScriptMemento memento = jaxbService.fromXml(FixtureScriptMemento.class, xml);
fs.setParentPath(memento.getPath());
}
{code}
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-13 07:03:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436922#comment-16436922 ]

Andi Huber edited comment on ISIS-1909 at 4/13/18 7:02 AM:
-----------------------------------------------------------

MementoService is deprecated, how to migrate:

+BEFORE:+
{code:java}
@javax.inject.Inject
MementoService mementoService;

String mementoFor(final FixtureScript fs) {
return mementoService.create()
.set("path", fs.getParentPath())
.asString();
}

void initOf(final String mementoStr, final FixtureScript fs) {
final Memento memento = mementoService.parse(mementoStr);
fs.setParentPath(memento.get("path", String.class));
}
{code}
+AFTER:+
{code:java}
@javax.inject.Inject
JaxbService jaxbService;

@XmlRootElement(name = "fixtureScript")
public static class FixtureScriptMemento {
private String path;
public String getPath() { return path; }
public void setPath(String path) { this.path = path; }
}

String mementoFor(final FixtureScript fs) {
final FixtureScriptMemento memento = new FixtureScriptMemento();
memento.setPath(fs.getParentPath());
return jaxbService.toXml(memento);
}

void initOf(final String xml, final FixtureScript fs) {
final FixtureScriptMemento memento = jaxbService.fromXml(FixtureScriptMemento.class, xml);
fs.setParentPath(memento.getPath());
}
{code}


was (Author: hobrom):
MementoService is deprecated, how to migrate:

+BEFORE:+
{code:java}
@javax.inject.Inject
MementoService mementoService;

String mementoFor(final FixtureScript fs) {
return mementoService.create()
.set("path", fs.getParentPath())
.asString();
}

void initOf(final String mementoStr, final FixtureScript fs) {
final Memento memento = mementoService.parse(mementoStr);
fs.setParentPath(memento.get("path", String.class));
}
{code}
+AFTER:+
{code:java}
@javax.inject.Inject
JaxbService jaxbService;

@XmlRootElement(name = "fixtureScript")
public static class FixtureScriptMemento {
private String path;
public String getPath() { return path; }
public void setPath(String path) { this.path = path; }
}

String mementoFor(final FixtureScript fs) {
final FixtureScriptMemento memento = new FixtureScriptMemento();
memento.setPath(fs.getParentPath());
return jaxbService.toXml(memento);
}
void initOf(final String xml, final FixtureScript fs) {
final FixtureScriptMemento memento = jaxbService.fromXml(FixtureScriptMemento.class, xml);
fs.setParentPath(memento.getPath());
}
{code}
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-13 10:28:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437143#comment-16437143 ]

Andi Huber commented on ISIS-1909:
----------------------------------

UrlEncodingService changed interface

+BEFORE+
{code:java}
public interface UrlEncodingService {

public String encode(final String str);

public String decode(String str);

}
{code}

+AFTER+
{code:java}
public interface UrlEncodingService {

public String encode(final byte[] bytes);

public byte[] decode(String str);

// same as encode in the old version
public default String encodeString(final String str) {
return encode(_Strings.toBytes(str, StandardCharsets.UTF_8));
}

// same as decode in the old version
public default String decodeToString(final String str) {
return _Strings.ofBytes(decode(str), StandardCharsets.UTF_8);
}

}
{code}
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-13 10:39:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437161#comment-16437161 ]

Andi Huber commented on ISIS-1909:
----------------------------------

UrlEncodingServiceWithCompression is the new default, it replaces UrlEncodingServiceUsingBaseEncoding.
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-13 20:59:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437900#comment-16437900 ]

Andi Huber commented on ISIS-1909:
----------------------------------

Deprecated +MementoService+ was removed.

Mementos are Internal API now:
{noformat}
org.apache.isis.applib.internal.memento._Mementos{noformat}
Deprecated +DomainObjectContainer+ was removed.

 
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-14 13:17:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16438333#comment-16438333 ]

Andi Huber commented on ISIS-1909:
----------------------------------

Replacing Guava's deprecated Objects.toStringHelper ...

+BEFORE+
{code:java}
@Override
public String toString() {
return Objects.toStringHelper(this)
.add("resourceStream", resourceStreamSourceChain)
.add("configResources", configurationResourcesFound)
.toString();
}
{code}
+AFTER+
{code:java}
private final static ObjectContract<IsisConfigurationBuilder> contract =
ObjectContracts.contract(IsisConfigurationBuilder.class)
.thenUse("resourceStream", x->x.resourceStreamSourceChain)
.thenUse("configResources", x->x.configurationResourcesFound)
;

@Override
public String toString() {
return contract.toString(this);
}
{code}
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Andi Huber (JIRA)
2018-04-14 13:48:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16438333#comment-16438333 ]

Andi Huber edited comment on ISIS-1909 at 4/14/18 1:47 PM:
-----------------------------------------------------------

Replacing Guava's deprecated Objects.toStringHelper ...

+BEFORE+
{code:java}
@Override
public String toString() {
return Objects.toStringHelper(this)
.add("resourceStream", resourceStreamSourceChain)
.add("configResources", configurationResourcesFound)
.toString();
}
{code}
+AFTER+
{code:java}
private final static ToString<IsisConfigurationBuilder> toString =
ToString.<IsisConfigurationBuilder>
toString("resourceStream", x->x.resourceStreamSourceChain)
.thenToString("configResources", x->x.configurationResourcesFound)
;

@Override
public String toString() {
return toString.toString(this);
}
{code}


was (Author: hobrom):
Replacing Guava's deprecated Objects.toStringHelper ...

+BEFORE+
{code:java}
@Override
public String toString() {
return Objects.toStringHelper(this)
.add("resourceStream", resourceStreamSourceChain)
.add("configResources", configurationResourcesFound)
.toString();
}
{code}
+AFTER+
{code:java}
private final static ObjectContract<IsisConfigurationBuilder> contract =
ObjectContracts.contract(IsisConfigurationBuilder.class)
.thenUse("resourceStream", x->x.resourceStreamSourceChain)
.thenUse("configResources", x->x.configurationResourcesFound)
;

@Override
public String toString() {
return contract.toString(this);
}
{code}
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Dan Haywood (JIRA)
2018-08-12 17:17:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood closed ISIS-1909.
-----------------------------
Resolution: Fixed
Post by Andi Huber (JIRA)
Migration Notes: Moved and Deprecated Classes
---------------------------------------------
Key: ISIS-1909
URL: https://issues.apache.org/jira/browse/ISIS-1909
Project: Isis
Issue Type: Sub-task
Reporter: Andi Huber
Priority: Major
Fix For: 2.0.0-M1
+Removed+
* IsisJdoSupport (replaced by API specific variants)
* Annotation Parseable removed
* Annotation Encodable removed
* ...
+Moved+
FROM
org/apache/isis/applib/services/eventbus/*
TO
org/apache/isis/applib/events/domain/AbstractDomainEvent
org/apache/isis/applib/events/domain/ActionDomainEvent
org/apache/isis/applib/events/domain/CollectionDomainEvent
org/apache/isis/applib/events/domain/PropertyDomainEvent
org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
org/apache/isis/applib/events/ui/AbstractUiEvent
org/apache/isis/applib/events/ui/CssClassUiEvent
org/apache/isis/applib/events/ui/IconUiEvent
org/apache/isis/applib/events/ui/TitleUiEvent
+ISIS-1599+
Meta-Data validation will now fail if a collection action parameter is found that is not exactly one of the following supported types: List, Set, SortedSet, Collection or Array.
+In case we ship the legacy build (unlikely) ...+
to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in replacements
- RepositoryService -> RepositoryServiceLegacy
- ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
- ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Loading...