Self-diagnosing link stabilizer
A system includes a plurality of memory resources and a plurality of processor resources configured to access the memory resources and execute a plurality of instructions to perform a plurality of operations. The operations generate an alias link through a web service, the alias link defining a first target link to a first target resource through a network, and insert the alias link within a network accessible resource. The operations further provide access to the first target resource through the alias link from within the network accessible resource and maintain the alias link in an unchanged state after the web service changes the alias link to define a second target link to a second target resource through the network.
1 . A system, comprising:
a plurality of memory resources; and
a plurality of processor resources configured to access the memory resources and execute a plurality of instructions to perform a plurality of operations that:
generate an alias link through a web service, the alias link defining a first target link to a first target resource through a network;
replace a link to the first target resource within a network accessible resource with the alias link, wherein the network accessible resource comprises a file accessible through the network;
provide access to the first target resource through the alias link from within the network accessible resource using the web service to resolve the alias link responsive to selection of the alias link from within the network accessible resource, wherein the web service maps redirection to the first target resource using a link management database that defines a single network location of the first target resource;
maintain the alias link in an unchanged state after the web service changes the alias link to define a second target link to a second target resource through the network;
monitor a plurality of aliases to determine whether each associated target resource returns a response code that matches an expected code according to a hypertext transfer protocol in response to a request according to the hypertext transfer protocol;
based on determining that a redirect response code is returned as the response code according to the hypertext transfer protocol, perform a health check to follow a redirect associated with returning of the redirect response code, and determine whether the expected code is returned according to the hypertext transfer protocol; and
send a notification to one or more creators and group maintainers based on detecting one or more health conditions in response to the health check to prompt an update of an associated alias link.
2 . The system of claim 1 , wherein the web service provides access to perform one or more operations to the alias link, comprising one or more of: creating, reading, updating, deleting, maintaining, monitoring, and publishing the alias link.
3 . The system of claim 1 , wherein the system comprises the web service, and the web service is configured to:
receive an incoming request with an associated action through the alias link;
generate a request directed to the first target resource including the associated action; and
pass a response from the first target resource back to the network accessible resource.
4 . The system of claim 1 , wherein the system comprises the web service, and the web service is configured to:
receive an incoming request with a user identifier through the alias link;
deny access to the alias link based on determining that a user associated with the user identifier failed an authentication;
deny access to the alias link based on determining that the user associated with the user identifier has user permissions that do not match an alias access level; and
grant access to the alias link based on determining that the user associated with the user identifier has user permissions that match the alias access level.
5 . The system of claim 1 , wherein the alias health check service is configured to use credentials to allow outgoing requests to validate that one or more authentication-protected alias links are healthy according to the hypertext transfer protocol.
6 . The system of claim 1 , further comprising a user interface that allows users to select a domain name to generate the alias link.
7 . The system of claim 6 , wherein the user interface provides a plurality of suggested domain names for selection through the user interface.
8 . The system of claim 1 , further comprising a plug-in configured to interact with the network accessible resource and manage interactions with the web service.
9 . The system of claim 8 , wherein the plug-in is an add-on component to an editing application configured to edit the network accessible resource.
10 . The system of claim 1 , further comprising an alias link insertion service, the alias link insertion service configured to:
search a plurality of files for one or more links to one or more target resources through the network;
generate one or more alias links associated with the one or more target resources; and
replace the one or more links with the one or more alias links.
11 . The system of claim 10 , further comprising a batch processing interface configured to:
generate a list of network accessible resources that include the one or more links based on searching the plurality of files;
provide the list to a user interface; and
customize one or more aspects of the one or more alias links prior to generation of the one or more alias links based on input received through the user interface associated with the list.
12 . The system of claim 1 , wherein the web service comprises a single sign-on interface that supports authentication passing of previously entered credentials.
13 . The system of claim 1 , further comprising an error page editor that provides a customization interface to select error handling rules on an alias link basis.
14 . The system of claim 1 , further comprising a link manager that includes a link editor with an alias link search interface, a link history, a link analytics interface, a bulk import interface, and a dashboard interface.
15 . The system of claim 1 , wherein the processor resources are cloud computing resources in a serverless architecture.
16 . A computer program product comprising one or more non-transitory storage mediums embodied with computer program instructions that when executed by a computer system cause the computer system to implement:
generating an alias link through a web service, the alias link defining a first target link to a first target resource through a network;
replacing a link to the first target resource within a network accessible resource with the alias link, wherein the network accessible resource comprises-one or more files a file accessible through the network;
providing access to the first target resource through the alias link from within the network accessible resource using the web service to resolve the alias link responsive to selection of the alias link from within the network accessible resource, wherein the web service maps redirection to the first target resource using a link management database that defines a single network location of the first target resource;
maintaining the alias link in an unchanged state after the web service changes the alias link to define a second target link to a second target resource through the network
monitoring a plurality of aliases to determine whether each associated target resource returns a response code that matches an expected code according to a hypertext transfer protocol in response to a request according to the hypertext transfer protocol;
based on determining that a redirect response code is returned as the response code according to the hypertext transfer protocol, performing a health check to follow a redirect associated with returning of the redirect response code, and determine whether the expected code is returned according to the hypertext transfer protocol; and
sending a notification to one or more creators and group maintainers based on detecting one or more health conditions in response to the health check to prompt an update of an associated alias link.
17 . The computer program product of claim 16 , wherein the web service provides access to perform one or more operations to the alias link, comprising one or more of: creating, reading, updating, deleting, maintaining, monitoring, and publishing the alias link.
18 . The computer program product of claim 16 , further comprising computer program instructions that when executed by the computer system cause the computer system to implement:
receiving an incoming request with an associated action through the alias link;
generating a request directed to the first target resource including the associated action; and
passing a response from the first target resource back to the network accessible resource.
19 . The computer program product of claim 16 , further comprising computer program instructions that when executed by the computer system cause the computer system to implement:
receiving an incoming request with an associated action through the alias link;
denying access to the alias link based on determining that a user associated with the user identifier failed an authentication or has user permissions that do not match an alias access level; and
granting access to the alias link based on determining that the user associated with the user identifier has user permissions that match the alias access level.
20 . The computer program product of claim 16 , further comprising computer program instructions that when executed by the computer system cause the computer system to implement:
searching a plurality of files for one or more links to one or more target resources through the network;
generating one or more alias links associated with the one or more target resources; and
replacing the one or more links with the one or more alias links.
21 . The computer program product of claim 20 , further comprising computer program instructions that when executed by the computer system cause the computer system to implement:
generating a list of network accessible resources that include the one or more links based on searching the plurality of files;
providing the list to a user interface; and
customizing one or more aspects of the one or more alias links prior to generation of the one or more alias links based on input received through the user interface associated with the list.
22 . The computer program product of claim 16 , wherein the alias link is generated based on input received through a user interface that provides a plurality of suggested domain names and allows users to select a domain name.
23 . The computer program product of claim 16 , wherein the web service comprises a single sign-on interface that supports authentication passing of previously entered credentials.