You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2013/05/11 18:09:20 UTC
svn commit: r1481365 [3/3] - in /juddi/branches/juddi-3.2.x: ./
juddi-client/src/main/java/org/apache/juddi/v3/client/config/
juddi-client/src/main/java/org/apache/juddi/v3/client/crypto/
juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ j...
Added: juddi/branches/juddi-3.2.x/juddi-gui/web/importFromWsdl.jsp
URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/web/importFromWsdl.jsp?rev=1481365&view=auto
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/web/importFromWsdl.jsp (added)
+++ juddi/branches/juddi-3.2.x/juddi-gui/web/importFromWsdl.jsp Sat May 11 16:09:19 2013
@@ -0,0 +1,118 @@
+<%--
+ Document : importFromWsdl
+ Created on : May 10, 2013, 6:52:05 PM
+ Author : Alex O'Ree
+--%>
+
+<%@page import="java.util.ArrayList"%>
+<%@page import="java.util.List"%>
+<%@page import="javax.xml.datatype.XMLGregorianCalendar"%>
+<%@page import="javax.xml.ws.Holder"%>
+<%@page import="org.apache.juddi.webconsole.resources.ResourceLoader"%>
+<%@page import="org.apache.juddi.webconsole.hub.UddiHub"%>
+<%@page contentType="text/html" pageEncoding="UTF-8"%>
+<%@include file="header-top.jsp" %>
+<div class="container">
+
+ <!-- Main hero unit for a primary marketing message or call to action -->
+ <div class="well" >
+ <h1><%=ResourceLoader.GetResource(session, "navbar.create.serviceimport")%></h1>
+
+ </div>
+
+ <!-- Example row of columns -->
+ <div class="row">
+ <div class="span12" >
+ <%=ResourceLoader.GetResource(session, "pages.serviceimport.content")%>
+ <Br>
+ <br>
+
+ <div class="accordion" id="accordion2">
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
+ Step 1) WSDL Location and Credentials
+ </a>
+ </div>
+ <div id="collapseTwo" class="accordion-body collapse in">
+ <div class="accordion-inner">
+ The first step is to tell us where we can find the Web Service Description Language (WSDL) document that
+ describes your services' operations, inputs and outputs and execution URLs. If you don't know where to find it
+ you can usually add a '?wsdl' to the end of the URL to the service. WSDLs are XML documents.<br>
+ <input type="text" placeholder="http://localhost:8080/services/myService?wsdl" style="width:100%" ><br>
+ Sometimes, access to the WSDL file is restricted by a username and password, if this is the case, enter
+ your credentials here. It won't be saved anywhere.<br>
+ <%
+ if (!request.isSecure()) {
+ %>
+ <div class="alert alert-error">
+ <button type="button" class="close" data-dismiss="alert">×</button>
+ <h4>Warning!</h4>
+ Please consider switching to a secure connection such as SSL or TLS (the address bar starts with https://),
+ otherwise your password may be exposed.
+ </div>
+ <% }
+ %>
+ <input type="text" placeholder="username (optional)" ><br>
+ <input type="text" placeholder="password (optional)" ><br>
+ </div>
+ </div>
+ </div>
+ <script type="text/javascript">
+ //after is entered, fetch the wsdl, parse the key domain
+ //considerations, if its an ip address? what about localhost
+ </script>
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
+ Step 2) Key Domain
+ </a>
+ </div>
+ <div id="collapseOne" class="accordion-body collapse">
+ <div class="accordion-inner">
+ Enter a key domain or select an existing tModel<br>
+ <input type="text" placeholder="autofilled from the URL">
+ </div>
+ </div>
+ </div>
+
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapse3">
+ Step 3) Business Selection
+ </a>
+ </div>
+ <div id="collapse3" class="accordion-body collapse">
+ <div class="accordion-inner">
+ Create a new one or use an existing one
+ <br>
+ Business Chooser or enter a new business name
+ </div>
+ </div>
+ </div>
+
+
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapse4">
+ Step 4) Review and Approve</a>
+
+ </div>
+ <div id="collapse4" class="accordion-body collapse">
+ <div class="accordion-inner">
+ Preview the new items and continue. Don't worry, you can always change these values later
+ <Br><br>
+ <a class="btn btn-primary" href="#"><i class="icon-save icon-large"></i> Approve</a>
+ </div>
+ </div>
+ </div>
+
+ </div>
+
+
+
+ </div>
+ </div>
+
+
+ <%@include file="header-bottom.jsp" %>
\ No newline at end of file
Modified: juddi/branches/juddi-3.2.x/juddi-gui/web/login.jsp
URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/web/login.jsp?rev=1481365&r1=1481364&r2=1481365&view=diff
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/web/login.jsp (original)
+++ juddi/branches/juddi-3.2.x/juddi-gui/web/login.jsp Sat May 11 16:09:19 2013
@@ -11,15 +11,24 @@
<div class="navbar-form pull-right">
<%
- if (session.getAttribute("username") != null && session.getAttribute("password") != null &&
- ((String)session.getAttribute("username")).length()>0 && ((String)session.getAttribute("password")).length()>0 ) {
+ if (session.getAttribute("username") != null && session.getAttribute("password") != null
+ && ((String) session.getAttribute("username")).length() > 0 && ((String) session.getAttribute("password")).length() > 0) {
//we're probably logged in
-
+
%>
<script type="text/javascript">
loggedin = true;
</script>
- <a class="btn" title="<%=ResourceLoader.GetResource(session, "navbar.login.logout")%>" href="javascript:logout();"><i class="icon-user"></i>
+ <a class="btn" title="<%=ResourceLoader.GetResource(session, "navbar.login.logout")%>" href="javascript:logout();">
+ <%
+ if (!request.isSecure()) {
+ %>
+ <i class="icon-warning-sign" title="<%=ResourceLoader.GetResource(session, "warning.ssl")%>"></i>
+ <%
+ }
+ %>
+
+ <i class="icon-user"></i>
<%
out.write(ResourceLoader.GetResource(session, "items.welcome") + " " + StringEscapeUtils.escapeHtml((String) session.getAttribute("username")) + "</a>");
@@ -29,9 +38,19 @@
<script type="text/javascript">
loggedin = false;
</script>
+
<input class="span2" type="text" placeholder="<%=ResourceLoader.GetResource(session, "navbar.login.username")%>" name="username" id="username">
<input class="span2" type="password" placeholder="<%=ResourceLoader.GetResource(session, "navbar.login.password")%>" name="password" id="password">
- <button type="button" onclick="javascript:Login();" class="btn" id="loginbutton"><%=ResourceLoader.GetResource(session, "navbar.login.button")%></button>
+ <button type="button" onclick="javascript:Login();" class="btn" id="loginbutton">
+ <%
+ if (!request.isSecure()) {
+ %>
+ <i class="icon-warning-sign" title="<%=ResourceLoader.GetResource(session, "warning.ssl")%>"></i>
+ <%
+ }
+ %>
+ <%=ResourceLoader.GetResource(session, "navbar.login.button")%>
+ </button>
<%
}
%>
Modified: juddi/branches/juddi-3.2.x/juddiv3-war/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddiv3-war/src/main/webapp/index.jsp?rev=1481365&r1=1481364&r2=1481365&view=diff
==============================================================================
--- juddi/branches/juddi-3.2.x/juddiv3-war/src/main/webapp/index.jsp (original)
+++ juddi/branches/juddi-3.2.x/juddiv3-war/src/main/webapp/index.jsp Sat May 11 16:09:19 2013
@@ -26,6 +26,7 @@
<h3><em>Welcome</em> to Apache jUDDI!</h3>
<ul>
<li><a href="/pluto/portal/jUDDI">jUDDI Portal</a></li>
+ <li><a href="happy.jsp">jUDDI Status</a></li>
<li><a href="services">View</a> service listing</li>
<li><a href="http://juddi.apache.org/">Visit</a> the Apache-jUDDI Home Page</li>
<li><a href="http://juddi.apache.org/docs/3.x/userguide/html/index.html">Users Guide</a></li>
@@ -35,6 +36,7 @@
<li><a href="http://juddi.apache.org/issue-tracking.html" >Report a bug</a></li>
<li><a href="http://svn.apache.org/viewvc/juddi/" >jUDDI Source Code</a></li>
<li><a href="http://www.nabble.com/jUDDI-f218.html">Mailing list</a></li>
+
</ul>
<div class="install">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org