From dfa6e6262624cb4d3f773d14ae9b4b45402aa25b Mon Sep 17 00:00:00 2001 From: javaduke Date: Sat, 30 Sep 2017 09:24:33 -0700 Subject: [PATCH] Master (#112) * Mule Home NPE fix Issues #110 and #111 * Version change to 2017.2.5 --- gradle.properties | 2 +- .../framework/MuleFrameworkConfigurable.java | 6 ++++-- todo.txt | 18 +++++++++++++++++- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 2e6c71f..7e4aa00 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ #ideaVersion = 2016.3.5 #ideaVersion = 171.3780.95 -ideaVersion = 2017.2.2 +ideaVersion = 2017.2.5 javaVersion = 1.8 ijPluginRepoChannel = alpha version = 0.13 diff --git a/mule-esb-plugin/src/main/java/org/mule/tooling/esb/framework/MuleFrameworkConfigurable.java b/mule-esb-plugin/src/main/java/org/mule/tooling/esb/framework/MuleFrameworkConfigurable.java index 7108cf8..68d0a06 100644 --- a/mule-esb-plugin/src/main/java/org/mule/tooling/esb/framework/MuleFrameworkConfigurable.java +++ b/mule-esb-plugin/src/main/java/org/mule/tooling/esb/framework/MuleFrameworkConfigurable.java @@ -48,8 +48,10 @@ public void addSupport(@NotNull Module module, @NotNull ModifiableRootModel modi LibraryEx libraryEx = (LibraryEx)nextLib; if (muleHome == null && MuleLibraryKind.MULE_LIBRARY_KIND.equals(libraryEx.getKind())) { MuleLibraryProperties properties = (MuleLibraryProperties)libraryEx.getProperties(); - muleHome = properties.getState().getMuleHome(); - break; + if (properties != null && properties.getState() != null) { + muleHome = properties.getState().getMuleHome(); + break; + } } } diff --git a/todo.txt b/todo.txt index 4dcd882..5f30398 100644 --- a/todo.txt +++ b/todo.txt @@ -37,4 +37,20 @@ String value = PropertiesComponent.getInstance().getValue( "mypropertystring" ); TODO: Select output, e.g. from printing a Java collection and convert it to DW script. -TODO: API Designer-like RAML Color Highlighter \ No newline at end of file +TODO: API Designer-like RAML Color Highlighter + +TODO: API Projects support: +1. API Project + + src/main/resources + {environment} + apidef/ - RAML, examples, schemas + policies/ - policy description file TBD + sla_tiers/ + apidescriptor.json - general API description, endpoint, etc. + +2. IDE functionality + + - create new project + - add new environment + - delete environment